/* Krisha Trends Master Design System - Royal Blue, Metallic Gold & Silver Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --navy-dark: #0A192F;
    --navy-deep: #0D1B2A;
    --navy-medium: #162C4E;
    --navy-light: #203A63;
    
    --gold-primary: #D4AF37;
    --gold-light: #FFE082;
    --gold-dark: #AA7C11;
    --gold-glow: rgba(212, 175, 55, 0.4);

    --silver-primary: #E2E8F0;
    --silver-light: #F8FAFC;
    --silver-dark: #94A3B8;

    --peacock-cyan: #00A896;
    --peacock-blue: #0284C7;
    --cyan-glow: rgba(0, 168, 150, 0.35);

    --bg-light: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-dark: #0F172A;
    --text-main: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 12px rgba(10, 25, 47, 0.05);
    --shadow-md: 0 12px 32px rgba(10, 25, 47, 0.1);
    --shadow-lg: 0 20px 50px rgba(10, 25, 47, 0.18);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.35);
    --shadow-navy: 0 10px 30px rgba(10, 25, 47, 0.4);
    
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: -0.02em;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

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

/* GRADIENT TEXT HELPERS */
.text-gradient-gold {
    background: linear-gradient(135deg, #FFE082 0%, #D4AF37 50%, #AA7C11 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-silver {
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-cyan {
    background: linear-gradient(135deg, #38BDF8 0%, #00A896 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
    background: linear-gradient(90deg, #0A192F 0%, #162C4E 50%, #0A192F 100%);
    color: #FFFFFF;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.top-bar .badge-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    color: var(--navy-dark);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    margin-right: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 12px var(--gold-glow);
}

/* HEADER & NAVBAR */
.header {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 25px rgba(10, 25, 47, 0.25);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.brand-logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
    transition: var(--transition);
}
.brand-logo:hover .brand-logo-img {
    transform: scale(1.05) rotate(-1deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    white-space: nowrap;
}
.nav-link {
    font-weight: 700;
    font-size: 0.92rem;
    color: #E2E8F0;
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold-light);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-primary));
    transition: var(--transition);
    border-radius: var(--radius-full);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-toggle-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.mobile-toggle-btn:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    position: relative;
    width: 260px;
}
.search-input {
    width: 100%;
    padding: 10px 18px 10px 42px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.07);
    color: #FFFFFF;
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition);
}
.search-input::placeholder {
    color: #94A3B8;
}
.search-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
}
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.25);
    cursor: pointer;
    transition: var(--transition);
}
.icon-btn:hover {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--peacock-cyan);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--navy-dark);
}

/* BUTTON SYSTEM */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px var(--gold-glow);
}
.btn-navy {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    color: var(--gold-light);
    border: 1px solid var(--gold-primary);
    box-shadow: var(--shadow-navy);
}
.btn-navy:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
    transform: translateY(-3px);
}
.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-light);
}
.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
    transform: translateY(-3px);
}

/* HERO SLIDER SECTION */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0A192F 0%, #0D1B2A 60%, #162C4E 100%);
    color: white;
    padding: 70px 0 80px;
    overflow: hidden;
}
.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(0, 168, 150, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}
.hero-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 25, 47, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: var(--transition);
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.slider-arrow:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
    transform: translateY(-50%) scale(1.1);
}
.slider-arrow-prev { left: 15px; }
.slider-arrow-next { right: 15px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    z-index: 25;
    position: relative;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid var(--gold-primary);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active {
    width: 36px;
    border-radius: 12px;
    background: var(--gold-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #FFFFFF;
}
.hero-desc {
    font-size: 1.1rem;
    color: #CBD5E1;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-btns {
    display: flex;
    gap: 20px;
}
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-img-card {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
}
.hero-img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    transition: var(--transition);
}
.hero-img-card:hover .hero-img {

    transform: scale(1.05);
}

/* CATEGORIES SECTION */
.section {
    padding: 90px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-subtitle {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.section-title {
    font-size: 2.5rem;
    color: var(--navy-dark);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.category-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--peacock-cyan));
    opacity: 0;
    transition: var(--transition);
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}
.category-card:hover::before {
    opacity: 1;
}
.category-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: var(--transition);
}
.category-card:hover .category-img {
    transform: scale(1.1);
}
.category-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 8px;
}
.category-count {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* PRODUCT CARD SYSTEM */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.product-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-primary);
}
.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--navy-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-thumb {
    height: 240px;
    background: #F1F5F9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.product-img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    transition: var(--transition);
}
.product-card:hover .product-img {
    transform: scale(1.08);
}
.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-category {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--peacock-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F59E0B;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
}
.price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.price-main {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--navy-dark);
}
.price-old {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.add-cart-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy-dark);
    color: var(--gold-light);
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.add-cart-btn:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
    transform: scale(1.1);
}

/* FLASH DEALS BANNER */
.flash-banner {
    background: linear-gradient(135deg, #0A192F 0%, #162C4E 100%);
    border-radius: var(--radius-lg);
    padding: 50px 60px;
    color: white;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(10, 25, 47, 0.3);
}

/* FOOTER */
.footer {
    background: var(--navy-dark);
    color: #CBD5E1;
    padding: 80px 0 30px;
    border-top: 3px solid var(--gold-primary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-brand p {
    margin-top: 16px;
    color: #94A3B8;
    max-width: 320px;
}
.footer-title {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: #64748B;
}

/* COMPREHENSIVE RESPONSIVE STYLES (MOBILE & TABLET) */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
        gap: 20px;
        border-bottom: 2px solid var(--gold-primary);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 999;
    }

    .nav-menu.mobile-active {
        display: flex !important;
    }

    .mobile-toggle-btn {
        display: flex !important;
    }

    .search-box {
        width: 180px;
    }

    .product-grid, .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.78rem;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .search-box {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .flash-banner {
        flex-direction: column;
        padding: 30px 24px;
        text-align: center;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .product-grid, .category-grid {
        grid-template-columns: 1fr;
    }

    .brand-logo-img {
        height: 44px;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
    }

    .mobile-toggle-btn {
        width: 38px;
        height: 38px;
    }
}
