/* CSS for Prayer Mat Landing Page - High Conversion Version */

:root {
    /* ألوان جديدة بريميوم: أخضر ملكي وذهبي */
    --primary-color: #064e3b;
    /* أخضر غامق ملكي */
    --accent-color: #c29d5b;
    /* ذهبي أنيق */
    --bg-light: #fdfdfb;
    /* خلفية دافئة خفيفية */
    --white: #ffffff;
    --text-dark: #1a1c1a;
    --text-light: #5f635f;
    --success: #059669;
    --urgent: #b45309;
    /* لون برتقالي محروق متناسق مع الذهبي */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 30px 0 60px 0;
    /* Adjusted padding to accommodate logo */
    background: linear-gradient(135deg, #f3f4f1 0%, #e7e9e4 100%);
    border-bottom: 2px solid rgba(6, 78, 59, 0.05);
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    /* Because it's RTL, flex-start is the right side */
    margin-bottom: 20px;
}

.logo {
    max-width: 160px;
    /* Logo size */
    height: auto;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1.2;
    text-align: right;
}

.hero-image {
    flex: 0.8;
}

.main-product-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.sub-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Countdown Styles */
.countdown-container {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(194, 157, 91, 0.15);
}

.timer-label {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1rem;
    letter-spacing: 1px;
}

#countdown {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary-color);
    padding: 12px;
    border-radius: 8px;
    min-width: 75px;
}

.time-box span:first-child {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--accent-color);
}

.time-box span:last-child {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #3e5636;
}

/* Quick Info Section - Shortened */
.quick-info {
    padding: 40px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.info-item {
    padding: 15px;
}

.info-item h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Promo Banner */
.value-prop {
    padding: 50px 0;
}

.promo-content {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.promo-text h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.promo-image img {
    width: 100%;
    border-radius: 10px;
    max-width: 250px;
}

.check-list {
    list-style: none;
    margin-top: 15px;
}

.check-list li {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background: var(--white);
    padding: 30px;
    border-radius: 4px;
    /* Faster, sharper look like Gymshark */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.2s ease-in-out;
}

.testimonial-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.customer-name {
    font-weight: 700;
    color: #111;
    font-size: 1rem;
}

.verified-badge {
    font-size: 0.75rem;
    color: #059669;
    /* Success green */
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.customer-location {
    font-size: 0.8rem;
    color: #666;
}

.testimonial-rating {
    color: #111;
    /* Clean black stars */
    font-size: 0.85rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-content p {
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
    font-weight: 400;
}

.add-review-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-review-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Colors Gallery Section */
.colors-gallery {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.color-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.color-item:hover {
    transform: translateY(-5px);
}

.color-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Order Form */
.order-section {
    padding: 60px 0;
    background: #f0f2f0;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--white);
}

.input-group select {
    cursor: pointer;
}

.form-button {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
}

footer {
    padding: 30px 0;
    text-align: center;
    background: #2d352d;
    color: white;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {

    .hero-content,
    .promo-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .main-title {
        font-size: 1.8rem;
    }
}

/* Helper Classes */
.hidden {
    display: none !important;
}

.success-message {
    text-align: center;
    padding: 20px;
    background-color: #ecfdf5;
    border-radius: 8px;
    color: var(--success);
    border: 1px solid var(--success);
}

.success-message h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-5px);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float img {
    width: 25px;
    height: 25px;
}

.whatsapp-float span {
    font-size: 0.9rem;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        padding: 12px;
        left: 20px;
        bottom: 20px;
    }

    .whatsapp-float span {
        display: none;
    }
}

/* Detailed Benefits Section */
.detailed-benefits {
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.detailed-benefits h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-right: 4px solid var(--accent-color);
    padding-right: 15px;
}

.detailed-benefits p.intro-text {
    margin-bottom: 20px;
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.7;
}

.benefits-list {
    list-style: none;
    padding-right: 0;
}

.benefits-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-dark);
}

.benefits-list li::before {
    content: '✔';
    position: absolute;
    right: 0;
    color: var(--success);
    font-weight: bold;
}

/* Top Notification Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-bar span {
    display: inline-block;
}

.separator {
    margin: 0 10px;
    color: var(--accent-color);
}

/* Pricing Display */
/* Pricing Display - Premium Cards */
.price-tag-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: flex-start;
    align-items: stretch;
}

.price-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 160px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.price-card.best-offer {
    border: 2px solid var(--accent-color);
    background: linear-gradient(145deg, #fff, #fffbf0);
    box-shadow: 0 10px 20px rgba(194, 157, 91, 0.15);
}

.offer-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.price-amount {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.price-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
}

/* Interactive Review Form Styles */
.review-form-container {
    max-width: 600px;
    margin: 20px auto;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.review-form h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    font-size: 2rem;
}

.star {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s;
}

.star:hover,
.star:hover~.star,
.star.active,
.star.active~.star {
    color: #ffc107;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.submit-review-btn {
    flex: 2;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-review-btn:hover {
    background: var(--primary-hover);
}

.cancel-review-btn {
    flex: 1;
    background: #f1f1f1;
    color: #333;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.cancel-review-btn:hover {
    background: #e1e1e1;
}

.hidden {
    display: none !important;
}

/* New Review Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-review {
    animation: fadeInUp 0.5s ease forwards;
}