:root {
    --bg-main: #E8EDE8;
    --bg-cards: #FFFFFF;
    --primary-dark: #1C2B35;
    --teal-accent: #3D7A78;
    --gold-accent: #B8936A;
    --sand-warm: #D4B896;
    --text-main: #1C2B35;
    --text-secondary: #5A6E78;
    --text-muted: #8A9EA8;
    --whatsapp-green: #25D366;
    
    --font-display: 'Cormorant Infant', serif;
    --font-body: 'Jost', 'Cairo', 'Noto Sans Arabic', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-subtle: 0 4px 20px rgba(28, 43, 53, 0.05);
    --shadow-hover: 0 10px 30px rgba(28, 43, 53, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--teal-accent);
    color: #FFF;
}

.btn-primary:hover {
    background-color: #2F5F5D;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-main); /* Changed to light color */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    grid-column: 2;
    display: flex;
    justify-content: center;
}

.logo img {
    height: 45px;
    /* Removed filter invert so logo stays blue */
}

.nav-links {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: flex-start;
}

.nav-cta-container {
    grid-column: 3;
    display: flex;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--primary-dark);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--teal-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--teal-accent);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark);
    transition: var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 5%;
    right: 10%;
    width: 80%;
    height: 90%;
    background: linear-gradient(135deg, var(--sand-warm) 0%, rgba(212, 184, 150, 0.2) 100%);
    border-radius: 200px 200px 20px 20px;
    z-index: 1;
    transform: translate(-15px, 15px);
}

.hero-image img {
    border-radius: 200px 200px 20px 20px;
    box-shadow: 0 20px 40px rgba(28, 43, 53, 0.15);
    height: 75vh;
    max-height: 700px;
    object-fit: cover;
    width: 85%;
    max-width: 450px;
    position: relative;
    z-index: 2;
    border: 8px solid #FFF;
    transition: transform var(--transition-smooth);
}

.hero-image img:hover {
    transform: translateY(-10px);
}

.tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold-accent);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.3;
}

.hero-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: var(--bg-cards);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
}

/* Trust Bar */
.trust-bar {
    background-color: var(--teal-accent);
    color: #FFF;
    padding: 1.5rem 0;
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-container span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 1.05rem;
}

/* Product Section */
.product-section {
    padding: 80px 0;
}

.product-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.product-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: -1; 
}

.main-image-container {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-subtle);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.main-image-container:hover img {
    transform: scale(1.03);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 0.9;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--teal-accent);
}

/* Product Info */
.product-info {
    flex: 1;
    background-color: var(--bg-cards);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
}

.product-title {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--teal-accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.price-note {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.selector-group {
    margin-bottom: 2rem;
}

.selector-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.selector-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.selector-header span {
    color: var(--text-secondary);
}

.color-options {
    display: flex;
    gap: 1rem;
}

.color-swatch {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #FFF;
    outline: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    outline-color: var(--primary-dark);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.size-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid #DDD;
    background: transparent;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    min-width: 3.5rem;
    text-align: center;
    transition: var(--transition-fast);
    color: var(--text-main);
}

.size-btn:hover {
    border-color: var(--teal-accent);
    color: var(--teal-accent);
}

.size-btn.active {
    background-color: var(--teal-accent);
    color: #FFF;
    border-color: var(--teal-accent);
}

.whatsapp-btn {
    width: 100%;
    background-color: var(--whatsapp-green);
    color: #FFF;
    font-size: 1.25rem;
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #20BA56;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.wa-icon {
    width: 24px;
    height: 24px;
}

.guarantee-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.g-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--bg-main);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Features Section */
.features-section {
    background-color: var(--bg-cards); /* Changed to white */
    color: var(--text-main); /* Changed text color */
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-main); /* Light bg */
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.f-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

/* Brand Story Section */
.story-section {
    background-color: var(--bg-main); /* Changed to light bg */
    padding: 100px 0;
    text-align: center;
}

.story-container {
    max-width: 800px;
}

.story-section h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.story-section p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.story-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.8rem !important;
    color: var(--gold-accent) !important;
}

/* Footer */
.footer {
    background-color: var(--bg-main); /* Changed to light bg */
    color: var(--primary-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo img {
    height: 50px;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--teal-accent);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition-fast);
    animation: pulse 2s infinite;
}

.floating-wa svg {
    width: 35px;
    height: 35px;
}

.floating-wa:hover {
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .product-gallery {
        order: 0;
        width: 100%;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Navbar adjustments for mobile */
    .nav-container {
        grid-template-columns: auto 1fr auto;
        padding: 0 1rem;
    }
    
    .logo {
        grid-column: 2;
        justify-content: center;
    }
    
    .nav-cta-container {
        grid-column: 1; /* swap sides for RTL natural feel, hamburger right, cta left */
        order: -1;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
        grid-column: 3;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-cards);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid #EEE;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    /* Content adjustments */
    .subtitle {
        font-size: 2rem;
    }
    
    .hero-price {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantee-cards {
        grid-template-columns: 1fr;
    }
    
    .product-info {
        padding: 2rem 1.5rem;
    }
    
    .hero-image img {
        height: auto;
        max-height: 60vh;
    }
    
    .thumbnail-gallery {
        gap: 0.5rem;
    }
}
