/* ============================================
   LIAQAT KIRANA STORE - STYLES
   Inspired by the vibrant storefront of Koydiha
   ============================================ */

/* CSS Variables - Color Palette from Storefront */
:root {
    /* Primary Colors from the storefront */
    --turquoise: #4ECDC4;
    --turquoise-dark: #3DBDB5;
    --sky-blue: #87CEEB;
    --royal-blue: #4169E1;
    --gold: #D4AF37;
    --gold-light: #E8C547;
    
    /* Accent Colors from tiles and details */
    --terracotta: #E07A5F;
    --coral: #F4A261;
    --sandy: #E9C46A;
    --teal: #2A9D8F;
    --deep-teal: #264653;
    --pink: #F2CC8F;
    --mint: #81B29A;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --cream: #FDF6E3;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --charcoal: #2C3E50;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 6rem;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--cream);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    font-size: 1rem;
    color: var(--charcoal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-teal);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--charcoal);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--teal);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--deep-teal);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 1.5rem 4rem;
    position: relative;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gray) 100%);
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(78, 205, 196, 0.05) 20px,
            rgba(78, 205, 196, 0.05) 40px
        );
    pointer-events: none;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    margin-bottom: 0.5rem;
}

.title-line {
    display: block;
    color: var(--deep-teal);
}

.title-line.accent {
    color: var(--teal);
    position: relative;
}

.title-line.accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
}

.btn-primary:hover {
    background: var(--turquoise-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--deep-teal);
    border: 2px solid var(--deep-teal);
}

.btn-secondary:hover {
    background: var(--deep-teal);
    color: var(--white);
}

/* Hero Image / Storefront Visual */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.storefront-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.storefront-visual {
    background: linear-gradient(180deg, var(--turquoise) 0%, var(--sky-blue) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.storefront-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
}

.store-sign {
    background: var(--gold);
    color: var(--deep-teal);
    padding: 1rem 2rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--gold-light);
}

.store-hindi {
    text-align: center;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.store-location {
    text-align: center;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 3px;
}

.store-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: repeating-linear-gradient(
        90deg,
        var(--terracotta) 0px,
        var(--terracotta) 20px,
        var(--cream) 20px,
        var(--cream) 40px,
        var(--teal) 40px,
        var(--teal) 60px,
        var(--gold) 60px,
        var(--gold) 80px
    );
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--charcoal);
    font-size: 0.875rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--charcoal);
    border-bottom: 2px solid var(--charcoal);
    transform: rotate(45deg);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: var(--light-gray);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--turquoise), var(--gold));
    transform: scaleX(0);
    transition: var(--transition-medium);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--deep-teal);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--charcoal);
    font-size: 0.95rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--light-gray) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-header {
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    background: var(--turquoise);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--deep-teal);
    margin-bottom: 1rem;
}

.about-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--charcoal);
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--charcoal);
}

/* About Image */
.about-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.decorative-border {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--gold);
    border-radius: 20px;
    z-index: 0;
}

.about-visual {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.store-interior {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shelf {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.product-box {
    width: 60px;
    height: 80px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.product-box.red { background: var(--terracotta); }
.product-box.yellow { background: var(--sandy); }
.product-box.green { background: var(--mint); }
.product-box.blue { background: var(--sky-blue); }
.product-box.orange { background: var(--coral); }
.product-box.pink { background: var(--pink); }
.product-box.teal { background: var(--teal); }
.product-box.gold { background: var(--gold); }
.product-box.white { background: var(--light-gray); border: 1px solid #ddd; }

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.section-header.centered {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    color: var(--charcoal);
    margin-top: 1rem;
}

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

.product-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(78, 205, 196, 0.1));
    transition: var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card:hover::after {
    height: 100%;
}

.product-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.product-icon {
    font-size: 3rem;
}

.product-card h3 {
    color: var(--deep-teal);
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--charcoal);
    font-size: 0.95rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--teal) 100%);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact .section-title {
    color: var(--white);
}

.contact-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .contact-text {
    margin: 0;
}

.contact-item .contact-text strong {
    display: block;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
}

.contact-item .contact-text span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
}

/* Map */
.contact-map {
    display: flex;
    justify-content: center;
}

.map-container {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--cream) 100%);
}

.map-pin {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce-pin 2s infinite;
}

@keyframes bounce-pin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-placeholder p {
    text-align: center;
    color: var(--deep-teal);
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-column h4 {
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--turquoise);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-credit {
    color: var(--gold-light) !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .storefront-frame {
        max-width: 350px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 1rem 3rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-stats {
        gap: 2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger animation delays */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }

.product-card:nth-child(1) { transition-delay: 0.1s; }
.product-card:nth-child(2) { transition-delay: 0.15s; }
.product-card:nth-child(3) { transition-delay: 0.2s; }
.product-card:nth-child(4) { transition-delay: 0.25s; }
.product-card:nth-child(5) { transition-delay: 0.3s; }
.product-card:nth-child(6) { transition-delay: 0.35s; }