/* =========================
   GLOBAL RESET & BASE
   ========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #fffdf8;
    color: #2b2b2b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 50px;
    background: #fffaf3;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: #8B1E1E;
}

.navbar nav a {
    margin: 0 18px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.wa-btn {
    background: #25D366;
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

/* =========================
   HERO (BRAND STATEMENT HERO)
   ========================= */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        linear-gradient(
            rgba(255, 253, 248, 0.94),
            rgba(255, 253, 248, 0.94)
        ),
        url("../images/hero-bg.jpg");

    background-size: cover;
    background-position: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 820px;
    animation: heroFadeUp 0.9s ease forwards;
}

.hero h1 {
    font-size: 48px;
    color: #8B1E1E;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.88;
}

/* Hero animation (subtle) */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   TRUST STRIP
   ========================= */
.trust-strip {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    font-size: 14px;
    background: #f8f3eb;
    color: #444;
}

/* =========================
   FEATURE SECTIONS (KEY FIX)
   ========================= */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px;
    align-items: center;
}

/* Image container */
.feature-image {
    width: 100%;
    max-width: 520px;       /* controls image size */
}

/* CLARITY-OPTIMISED IMAGE */
.feature-image {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 3;   /* forces clean scaling */
    overflow: hidden;
    border-radius: 14px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;    /* KEY CHANGE */
    image-rendering: auto;

    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.14);
}


/* Text side */
.feature-text h2 {
    color: #8B1E1E;
    margin-bottom: 15px;
    font-size: 32px;
}

.feature-text p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 520px;
}

/* Section backgrounds */
.feature-pickles {
    background: #fff5f5;
}

.feature-sarees {
    background: #fffaf0;
}

/* =========================
   CTA TILES
   ========================= */
.cta-tiles {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 80px 20px;
}

.cta-tile {
    width: 320px;
    padding: 50px;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cta-tile h3 {
    margin: 0 0 10px;
}

.cta-tile span {
    opacity: 0.85;
}

.cta-tile:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.cta-tile.pickles {
    background: linear-gradient(135deg, #8B1E1E, #5E6F3A);
    color: white;
}

.cta-tile.sarees {
    background: linear-gradient(135deg, #C9A227, #F4E4A0);
    color: #3b2f1b;
}

/* =========================
   FOOTER
   ========================= */
.footer {
    text-align: center;
    padding: 40px;
    font-size: 14px;
    background: #faf7f2;
    color: #555;
}

/* =========================
   RESPONSIVE (IMPORTANT)
   ========================= */
@media (max-width: 900px) {
    .feature {
        grid-template-columns: 1fr;
        padding: 60px 30px;
    }

    .feature-image {
        max-width: 100%;
    }

    .cta-tiles {
        flex-direction: column;
        align-items: center;
    }
}
/* =========================
   MOBILE OPTIMISATION
========================= */
@media (max-width: 768px) {

    /* -------- GLOBAL -------- */
    body {
        font-size: 15px;
        overflow-x: hidden;
    }

    /* -------- NAVBAR -------- */
    .navbar,
    .header-inner {
        padding: 16px 18px;
    }

    .navbar nav,
    .nav-links {
        display: none; /* hide links on mobile */
    }

    .logo,
    .brand {
        font-size: 20px;
    }

    .wa-btn,
    .wa-icon {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* -------- HERO -------- */
    .hero {
        min-height: 60vh;
        padding: 80px 16px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.5;
    }

    /* -------- FEATURE SECTIONS -------- */
    .feature {
        grid-template-columns: 1fr;
        padding: 40px 18px;
        gap: 30px;
    }

    .feature-text h2 {
        font-size: 24px;
    }

    .feature-text p {
        font-size: 15px;
    }

    /* -------- IMAGES (CRISP FIX) -------- */
    img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        image-rendering: auto;
    }

    /* -------- CTA TILES -------- */
    .cta-tiles {
        flex-direction: column;
        gap: 24px;
        padding: 50px 16px;
    }

    .cta-tile {
        width: 100%;
        padding: 32px;
    }

    /* -------- PRODUCT GRID -------- */
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 16px 80px;
        gap: 30px;
    }

    .product-card img {
        height: 220px;
    }

    /* -------- SLIDE-IN PANEL → MOBILE SHEET -------- */
    .product-panel {
        width: 100%;
        max-width: 100%;
        height: 92vh;
        bottom: 0;
        top: auto;
        border-radius: 18px 18px 0 0;
        padding: 24px 20px;
        transform: translateY(100%);
    }

    .product-panel.open {
        transform: translateY(0);
    }

    .product-panel img {
        height: 220px;
    }

    .close {
        font-size: 26px;
    }

    .product-panel button {
        font-size: 15px;
        padding: 14px;
    }

    /* -------- FOOTER -------- */
    .footer {
        padding: 30px 16px;
        font-size: 13px;
    }
}
/* =========================
   MOBILE + iOS SAFARI FIXES
========================= */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
}

/* Touch optimization */
button, a {
    touch-action: manipulation;
}

/* Disable hover effects on touch devices */
@media (hover: none) {
    .product-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    /* NAVBAR */
    .header-inner {
        padding: 14px 16px;
    }

    .nav-links {
        display: none; /* clean mobile header */
    }

    .brand {
        font-size: 20px;
    }

    .wa-icon {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* HERO */
    .hero {
        min-height: 60svh;
        padding: 80px 16px 100px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
    }

    /* PRODUCT GRID */
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 16px 80px;
        gap: 28px;
    }

    .product-card img {
        height: 220px;
    }

    /* SLIDE-IN PANEL → FULLSCREEN SHEET */
    .product-panel {
        width: 100%;
        max-width: 100%;
        height: 100svh;
        top: auto;
        bottom: 0;
        border-radius: 18px 18px 0 0;
        padding: 24px 20px;
        transform: translateY(100%);
    }

    .product-panel.open {
        transform: translateY(0);
    }

    .product-panel img {
        height: 220px;
    }

    .product-panel button {
        padding: 14px;
        font-size: 15px;
    }

    .close {
        font-size: 26px;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {

    body.modal-open {
        position: fixed;
        width: 100%;
    }

    img {
        backface-visibility: hidden;
        image-rendering: auto;
    }
}
/* =========================
   FLOATING WHATSAPP BUTTON
========================= */
.floating-wa {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;

    background: #25D366;
    color: white;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
    text-decoration: none;

    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    z-index: 9999;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Tap feedback */
.floating-wa:active {
    transform: scale(0.92);
}

/* Hide on desktop */
@media (min-width: 769px) {
    .floating-wa {
        display: none;
    }
}
/* =========================
   MOBILE MENU
========================= */
.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #fffaf3;
    border-top: 1px solid #eee;
}

.mobile-menu a {
    padding: 16px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

/* Mobile only */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .mobile-menu.show {
        display: flex;
    }
}
/* =========================
   MOBILE HAMBURGER MENU
========================= */
.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

/* Mobile menu dropdown */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #fffaf3;
    border-top: 1px solid #eee;
}

.mobile-menu a {
    padding: 16px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

/* Mobile-only behavior */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .mobile-menu.show {
        display: flex;
    }
}
.floating-wa::after {
    content: "Chat with us";
    position: absolute;
    right: 64px;
    background: #111;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
}

.floating-wa:hover::after {
    opacity: 1;
}
body {
    animation: pageFade 0.4s ease;
}

@keyframes pageFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
