/* ==========================================
   RESET & BASE STYLES 
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2c271e;
    background-color: #faf8f5; /* വളരെ ലൈറ്റ് ആയ മഞ്ഞ് പശ്ചാത്തലം */
    overflow-x: hidden;
}

/* ==========================================
  /* ==========================================
   UPDATED NAVBAR WITH MOBILE RESPONSIVENESS
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eae5da;
}

.nav-logo {
    font-family: 'Marcellus', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a160f;
    text-decoration: none;
}

.nav-logo span {
    color: #c5a059;
}

/* മൊബൈൽ മെനു ബട്ടൺ (സാധാരണ സ്ക്രീനിൽ ഇത് ഒളിപ്പിച്ചു വെക്കും) */
.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #1a160f;
    cursor: pointer;
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease-in-out;
}

.nav-links a {
    text-decoration: none;
    color: #5c5549;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c5a059;
}

.nav-links .nav-btn {
    background-color: #c5a059;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-links .nav-btn:hover {
    background-color: #a38143;
    transform: translateY(-2px);
}

/* ==========================================
   MOBILE RESPONSIVE FIX (FOR PHONE SIZE)
   ========================================== */
@media (max-width: 768px) {
    .menu-toggle-btn {
        display: block; /* മൊബൈലിൽ ☰ ബട്ടൺ കാണിക്കും */
    }

    .nav-links {
        display: none; /* തുടക്കത്തിൽ മെനു ലിങ്കുകൾ ഒളിച്ചു നിൽക്കും */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 25px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid #eae5da;
        text-align: center;
    }

    /* ജാവാസ്ക്രിപ്റ്റ് വഴി ഈ ക്ലാസ് വരുമ്പോൾ മൊബൈൽ മെനു താഴേക്ക് തുറക്കും */
    .nav-links.show-menu {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }
    
    .nav-links .nav-btn {
        display: inline-block;
        width: auto;
    }
}

/* ==========================================
   FIXED HERO SECTION (Overlay & Image Balance)
   ========================================== */
.hero {
            position: relative;
            min-height: 85vh;
            background: url('https://i.postimg.cc/FKm8QVfw/Chat-GPT-Image-May-14-2026-04-42-51-PM.png') no-repeat right center/cover;
            display: flex;
            align-items: center;
            padding: 60px 0;
            color: #ffffff;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* എഴുത്ത് വ്യക്തമായി കാണാനും എന്നാൽ പ്രോഡക്റ്റ് ഇമേജ് 100% ഒറിജിനൽ ബ്രൈറ്റ്നസ്സിൽ കാണാനും പാകത്തിനുള്ള മിക്സ് */
            background: linear-gradient(to right, 
                rgba(20, 16, 10, 0.92) 0%, 
                rgba(20, 16, 10, 0.75) 45%, 
                rgba(20, 16, 10, 0.15) 78%, 
                rgba(20, 16, 10, 0) 100%);
            z-index: 1;
        }

        .hero .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 8%;
            position: relative;
            z-index: 2;
        }

        .hero-content {
            max-width: 550px;
            text-align: left;
        }

        .discount-badge {
            display: inline-block;
            background-color: #ffebc7;
            color: #473a0d;
            font-weight: 900;
            padding: 7px 16px;
            border-radius: 20px;
            font-size: 1.5rem;
            margin-bottom: 25px;
            letter-spacing: 1px;
        animation: gentlePulse 2s infinite ease-in-out;
}

@keyframes gentlePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 12px 4px rgba(197, 160, 89, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }
}
    

        .hero h1 {
            font-family: 'Marcellus', serif;
            font-size: 3rem;
            line-height: 1;
            margin-bottom: 20px;
            text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6);
        }

        .subheading {
            font-size: 1.3rem;
            margin-bottom: 35px;
            color: #ebe6dc;
            text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.6);
        }

        .mini-highlights {
            display: flex;
            justify-content: flex-start;
            gap: 15px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .mini-highlights span {
            background: rgba(255, 255, 255, 0.1);
            padding: 8px 18px;
            border-radius: 30px;
            font-size: 0.9rem;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        /* ==========================================================================
           HIGH-CLARITY PRICE STYLES INSPIRED BY IMAGE_3D0864.PNG
           ========================================================================== */
     .hero-actions-wrapper {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    margin-bottom: 50px;          /* Increased to 50px to create a clean gap and stop the overlap */
    width: 100%;
}

      .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;                  
    background: linear-gradient(135deg, #ffbc41, #c17a00);
    color: #ffffff;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 0.95rem;          
    font-weight: 700;
    padding: 4px 4px 4px 12px; 
    border-radius: 15px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
    transition: all 0.3s ease;
    margin-bottom: -110px;
    margin-left: 69px;
}

        .cta-button:hover {
            transform: scale(1.03);
            box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
        }

        /* The clear inner price badge */
     .cta-price-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;                    
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;           
    border-radius: 40px;
}

        /* Crisp, Upright Original Price ($7) */
       .cta-original-price {
    font-family: system-ui, sans-serif;
    font-size: 0.95rem;          
    color: rgba(255, 255, 255, 0.55);
    text-decoration: line-through;
    font-weight: 500;
}
        /* High-Clarity bold Offer Price ($6) matching image_3d0864.png styling */
        .cta-price-tag {
    font-family: system-ui, sans-serif;
    font-size: 1.15rem;          
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================
   COMMON COMPONENTS 
   ========================================== */
.section-title {
    text-align: center;
    font-family: 'Marcellus', serif;
    font-size: 2.2rem;
    color: #1a160f;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #c5a059;
    margin: 15px auto 0;
}

/* ==========================================
   FEATURES SECTION (Clean Pearl White Background)
   ========================================== */
.features {
    padding: 90px 8%;
    background-color: #ffffff; /* മഞ്ഞനിറം മാറ്റി പ്യുവർ വൈറ്റ് ആക്കി */
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #edeae4; /* വളരെ ലൈറ്റ് ബോർഡർ */
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: #c5a059;
}

.feature-icon {
    font-size: 2.4rem;
    display: inline-block;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-family: 'Marcellus', serif;
    font-size: 1.3rem;
    color: #1a160f;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666156;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   PRODUCT GALLERY SECTION (Soft Creamy Background)
   ========================================== */
.product-gallery {
    padding: 90px 8%;
    background-color: #f5f2eb; /* തിളങ്ങുന്ന മഞ്ഞയ്ക്ക് പകരം മാറ്റ് ഫിനിഷുള്ള സോഫ്റ്റ് ക്രീം */
    border-top: 1px solid #eae5da;
    border-bottom: 1px solid #eae5da;
}

.gallery-container {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.gallery-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid #eae5da;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-3px);
    border-color: #c5a059;
}

.image-box {
    width: 100%;
    height: 300px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #f5f2eb;
}

.image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-info {
    padding: 25px;
}

.gallery-info h4 {
    font-family: 'Marcellus', serif;
    font-size: 1.35rem;
    color: #1a160f;
    margin-bottom: 10px;
}

.gallery-info p {
    color: #666156;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   DEAL ZONE (Clean Pearl White Background)
   ========================================== */
.deal-zone {
    padding: 90px 8%;
    background-color: #ffffff;
}

.deal-box {
    max-width: 750px;
    margin: 0 auto;
    background: #ffffff;
    padding: 55px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #eae5da;
}

.deal-box h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.9rem;
    color: #a38143;
    margin-bottom: 15px;
}

.deal-box p {
    color: #5c5549;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.price-display {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.price-display .new {
    font-size: 1.1rem; /* മൊബൈലിൽ ഓവർലാപ്പ് ചെയ്യാതിരിക്കാൻ വലിപ്പം അല്പം കുറച്ചു */
    font-weight: 700;
    color: var(--gold-color);
    background: rgba(229, 193, 88, 0.08);
    
    /* പ്രധാന മാറ്റങ്ങൾ താഴെ നൽകുന്നു */
    padding: 12px 20px;       /* വശങ്ങളിലും മുകളിലും കൃത്യമായ സ്പേസ് നൽകി */
    display: inline-block;
    line-height: 1.4;         /* രണ്ട് വരിയായാലും അക്ഷരങ്ങൾ തമ്മിൽ കൂട്ടിയിടിക്കില്ല */
    border-radius: 30px;      /* കൂടുതൽ ഭംഗിയുള്ള റൗണ്ട് ഷേപ്പ് */
    border: 1px solid var(--gold-color);
    max-width: 90%;           /* മൊബൈൽ സ്ക്രീനിന് പുറത്തേക്ക് പോകാതിരിക്കാൻ */
    word-wrap: break-word;    /* വാക്കുകൾ മുറിഞ്ഞുപോകാതിരിക്കാൻ */
    text-align: center;
}

/* റെസ്പോൺസീവ് മീഡിയ ക്വറി കൂടുതൽ കൃത്യമാക്കിയത് */
@media (max-width: 480px) {
    .price-display .new {
        font-size: 0.95rem;   /* വളരെ ചെറിയ ഫോണുകളിൽ ടെക്സ്റ്റ് സൈസ് വീണ്ടും അഡ്ജസ്റ്റ് ചെയ്യും */
        padding: 10px 16px;
    }
}

.last-cta {
    font-size: 1.25rem !important;
    padding: 16px 50px !important;
    background: linear-gradient(135deg, #c5a059, #a38143);
    color: white !important;
    margin-left: -5px;
}

/* ==========================================
   FOOTER 
   ========================================== */
footer {
    background-color: #15120c;
    color: #8c8578;
    text-align: center;
    padding: 35px 20px;
    font-size: 0.9rem;
    border-top: 2px solid #c5a059;
}

/* ==========================================
   FIXED: 3 IMAGES ONLY SLIDER (NO BLANK PAGE)
   ========================================== */
.ad-slider-section {
    padding: 40px 8%;
    background-color: var(--bg-gallery);
    display: flex;
    justify-content: center;
}

.ad-slider-wrapper {
    width: 100%;
    max-width: 650px; 
    border-radius: 12px;
    overflow: hidden; 
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 25px var(--shadow);
    background-color: #5a3f24; /* ഇമേജ് ലോഡ് ആകുമ്പോൾ കാണുന്ന പശ്ചാത്തലം */
}

/* ഡാർക്ക് മോഡ് ബോർഡർ */
[data-theme="dark"] .ad-slider-wrapper {
    border-color: var(--gold-color);
}

.ad-slider-container {
    display: flex; 
    width: 300%; /* മൂന്ന് ചിത്രങ്ങൾ മാത്രമുള്ളതുകൊണ്ട് ആകെ വീതി 300% ആക്കി */
    animation: ad-slide-three-images 9s infinite ease-in-out; /* ടൈമിംഗ് 9 സെക്കന്റാക്കി കുറച്ചു */
}

.ad-slide {
    width: 33.333%; /* ഓരോ ചിത്രവും കൃത്യം മൂന്നിലൊന്ന് ഭാഗം വീതം എടുക്കും */
    flex-shrink: 0; 
}

.ad-slide img {
    width: 100%;
    height: auto;
    object-fit: contain; 
    display: block;
}

/* ==========================================
   UPDATED ANIMATION FOR EXACTLY 3 SLIDES
   ========================================== */
@keyframes ad-slide-three-images {
    /* Slide 1 കാണിക്കുന്ന സമയം */
    0%, 28% { transform: translateX(0); }
    
    /* Slide 1-ൽ നിന്നും Slide 2-ലേക്ക് മാറുന്നു */
    33%, 61% { transform: translateX(-33.333%); }
    
    /* Slide 2-ൽ നിന്നും Slide 3-ലേക്ക് മാറുന്നു */
    66%, 94% { transform: translateX(-66.666%); }
    
    /* ഒടുവിൽ ബ്ലാങ്ക് പേജിലേക്ക് പോകാതെ നേരെ ആദ്യത്തെ സ്ലൈഡിലേക്ക് തിരികെ വരുന്നു */
    100% { transform: translateX(0); }
}

/* മൊബൈൽ സ്ക്രീനുകൾക്കായി */
@media (max-width: 768px) {
    .ad-slider-wrapper {
        max-width: 95%;
    }
}
/* ==========================================
   RESPONSIVE DESIGN 
   ========================================== */
@media (max-width: 768px) {
    .navbar { padding: 15px 5%; }
    .nav-links { display: none; }
    .hero { background-position: 65% center; min-height: 75vh; }
    .hero-overlay { background: rgba(20, 16, 10, 0.78); }
    .hero .container { padding: 0 6%; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero h1 { font-size: 2.3rem; }
    .subheading { font-size: 1.1rem; }
    .cta-button { padding: 14px 35px; font-size: 1rem; }
    .mini-highlights { justify-content: center; }
    .section-title { font-size: 1.8rem; }
}