/* Ratanwala Premium Light Theme (GemPundit Inspired) */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    /* Palette */
    --bg-main: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-charcoal: #FFFFFF;
    /* Override old var for compatibility */
    --brand-primary: #8A1538;
    /* Maroon */
    --brand-hover: #690F29;
    --text-gold: #D4AF37;
    --text-dark: #1a1a1a;
    --text-muted: #1a1a1a;
    --border-light: #EBEBEB;

    /* Typography */
    --font-serif: 'Bodoni Moda', serif;
    --font-sans: 'Lato', sans-serif;

    /* Spacing */
    --section-pad: 80px;
    --container-max: 1600px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-dark);
}

.text-gold {
    color: var(--text-gold) !important;
}

.text-accent {
    color: var(--brand-primary) !important;
}

.text-white {
    color: var(--text-dark) !important;
    /* Overriding old utility for light theme */
}

.serif {
    font-family: var(--font-serif);
}

/* Navigation (Minimal) */
.nav-minimal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(255, 245, 245, 0.786);
    transition: all 0.3s ease;
}

.brand {
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-serif);
    color: var(--brand-primary);
    font-weight: 700;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--brand-primary);
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-txt {
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
}

.menu-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.menu-links a {
    font-weight: 600;
    font-size: 0.95rem;
}

.menu-links a:hover {
    color: var(--brand-primary) !important;
}

/* Hero Section */
.hero-museum {
    min-height: 80vh;
    width: 100%;
    background: var(--bg-light);
    /* Clean light background */
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 10%;
    padding-top: 80px;
    /* Account for fixed header */
    border-bottom: 1px solid var(--border-light);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-weight: 700;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--brand-primary);
}

.hero-title .text-gold {
    color: var(--text-gold) !important;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-cta {
    display: inline-block;
    background: var(--brand-primary);
    color: #FFF !important;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(138, 21, 56, 0.3);
}

.hero-cta:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 21, 56, 0.4);
}

/* Storytelling / Why Us Section */
.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    background: #FFFFFF;
}

.story-visual {
    background: var(--bg-light) url('ij.jpg') no-repeat center center/cover;
    position: relative;
    min-height: 400px;
}

.story-text {
    padding: var(--section-pad) 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drop-cap::first-letter {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    float: left;
    margin-right: 15px;
    line-height: 0.8;
    color: var(--brand-primary);
    margin-top: 10px;
}

.story-meta {
    margin-top: 40px;
    display: flex;
    gap: 50px;
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
}

.meta-item span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.meta-item strong {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--brand-primary);
}

/* Trust Badges */
.badge-item {
    color: var(--text-dark);
}

.badge-item i {
    color: var(--brand-primary) !important;
}

/* Shop by Purpose */
.purpose-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.purpose-card .icon-wrap {
    width: 80px;
    height: 80px;
    border: 2px solid var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    background: #FFF;
}

.purpose-card i {
    color: var(--brand-primary) !important;
}

.purpose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--brand-primary);
}

.purpose-card:hover .icon-wrap {
    background: var(--brand-primary);
}

.purpose-card:hover i {
    color: #FFF !important;
}

/* Cards (Best Sellers / Products) */
.dark-slider-container {
    background: var(--bg-light);
    padding: var(--section-pad) 0;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.slider-track {
    display: flex;
    gap: 40px;
    padding: 20px 5%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.stone-card {
    background: #FFFFFF !important;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 25px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.stone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.stone-visual {
    background-color: var(--bg-light) !important;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.stone-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.stone-card p {
    color: var(--text-muted) !important;
}

.current-price {
    color: var(--text-dark) !important;
}

.add-to-cart-btn {
    background: var(--brand-primary) !important;
    color: #FFFFFF !important;
    border: none !important;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: var(--brand-hover) !important;
}

/* Shopping Cart Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background: #FFFFFF;
    z-index: 1000;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    border-bottom: 1px solid var(--border-light);
}

.cart-header h3 {
    color: var(--brand-primary);
}

.close-btn {
    color: var(--text-muted);
}

.close-btn:hover {
    color: var(--brand-primary);
}

.cart-item {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.cart-item-info h4 {
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--text-muted);
    font-weight: bold;
}

.bill-row {
    color: var(--text-muted);
}

.bill-row.total {
    color: var(--brand-primary);
    border-top: 1px solid var(--border-light);
}

.checkout-btn {
    background: var(--brand-primary);
    color: #FFF;
    border-radius: 4px;
}

.checkout-btn:hover {
    background: var(--brand-hover);
}

/* Footer structure */
.fossils-footer {
    background: var(--bg-light) !important;
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
    color: var(--text-dark) !important;
}

.fossils-footer h4 {
    color: var(--brand-primary) !important;
}

.fossils-footer ul {
    color: var(--text-muted) !important;
}

.fossils-footer a:hover {
    color: var(--brand-primary) !important;
}

.fossils-footer small {
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-minimal {
        padding: 15px 20px;
    }

    .hero-museum {
        flex-direction: column;
        padding-right: 5% !important;
        padding-top: 120px !important;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-content p {
        margin: 0 auto 20px auto;
    }

    .hero-image {
        justify-content: center !important;
        width: 100%;
        margin-top: 20px;
    }

    .menu-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        padding: 20px;
        border-bottom: 1px solid var(--border-light);
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }

    .menu-links.active {
        display: flex;
    }

    .mobile-only {
        display: block !important;
    }

    .hero-museum {
        padding-left: 5%;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .story-section {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }

    .badge-item {
        width: 45%;
    }

    .purpose-card {
        width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .badge-item {
        width: 100%;
        justify-content: flex-start;
    }

    .purpose-card {
        width: 100%;
    }

    .stone-card {
        min-width: 100%;
    }
}