:root {
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --maroon: #800000;
    --pink-maroon: #C32148;
    --charcoal: #333333;
    --off-white: #F9F9F9;
    --white: #FFFFFF;
    --text: #222222;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Login Popup Overlay (Index page specific style) */
.login-overlay {
    z-index: 10001;
    /* Above preloader fade */
}

.loader {
    width: 180px;
    height: 180px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border-top-color: var(--gold);
    border-bottom-color: var(--maroon);
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.preloader-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out 2 forwards;
    z-index: 1;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.85;
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--off-white);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* Header & Nav */
header {
    background: var(--maroon);
    padding: 0.8rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border-bottom: 3px solid var(--gold-dark);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 1.4rem;
    font-family: var(--font-serif);
    transition: var(--transition);
}

.logo:hover {
    color: var(--gold);
}

.logo img {
    height: 70px;
    width: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.logo span {
    font-weight: 700;
}

.top-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-actions a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-actions a:hover {
    color: var(--gold);
}

.gold-rate-btn {
    background: var(--gold-dark);
    color: var(--white) !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600 !important;
}

.gold-rate-btn:hover {
    background: var(--gold);
    color: var(--charcoal) !important;
}

nav {
    display: flex;
    justify-content: center;
    padding-top: 0.8rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    padding: 0.4rem 0;
    display: inline-block;
}

nav ul li a:hover {
    color: var(--gold);
}

nav ul li a.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

/* Phone link */
.phone-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--gold);
}

/* Hero Section */

/* Hero Section */

/* Hero Section */

/* Hero Section */
/* Hero Section with Carousel */
.hero-carousel-wrapper {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.hero-slide {
    height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    font-family: var(--font-serif);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Customizing Owl Dots */
.hero-carousel-wrapper .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-carousel-wrapper .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: rgba(255, 255, 255, 0.5);
    display: block;
    border-radius: 50%;
    transition: var(--transition);
}

.hero-carousel-wrapper .owl-dot.active span {
    background: var(--gold);
    width: 30px;
    border-radius: 10px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* Celebration Carousel Section */
.celebration-carousel-section {
    padding: 3rem 5%;
    background: var(--white);
    text-align: center;
}

.celebration-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.celebration-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.celebration-card:hover img {
    transform: scale(1.05);
}

.celebration-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3rem;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.celebration-content h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.celebration-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    letter-spacing: 1px;
    max-width: 500px;
}

/* Offers Section Styles */
.offers-section {
    padding: 5rem 5%;
    background: #fff;
    text-align: center;
    display: none;
    /* Hidden by default, shown via JS */
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.offer-item {
    padding: 2.5rem 2rem;
    background: var(--off-white);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.offer-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.offer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.offer-item:hover::before {
    transform: scaleX(1);
}

.offer-item i {
    font-size: 2.5rem;
    color: var(--maroon);
    margin-bottom: 1.5rem;
}

.offer-item h3 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.offer-item p {
    font-size: 0.95rem;
    color: #666;
}

/* Secondary Offer Banner Zone */
.offer-banner-zone {
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--maroon), var(--charcoal));
    display: none;
    /* Hidden by default */
    color: var(--white);
    margin: 2rem 5%;
    border-radius: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.offer-banner-content {
    flex: 1;
    z-index: 2;
}

.offer-banner-content h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.offer-banner-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.offer-banner-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.offer-banner-image img {
    max-width: 100%;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.offer-badge {
    background: var(--gold);
    color: var(--charcoal);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .offer-banner-zone {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .offer-banner-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .offer-banner-image {
        justify-content: center;
    }
}

/* Featured Collections */
.section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.collection-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover img {
    transform: scale(1.1);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem;
    color: var(--white);
}

/* Category Page Layout */
.category-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.category-container.no-sidebar {
    grid-template-columns: 1fr;
}

.sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--maroon);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.filter-checkbox {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: all 0.3s ease;
    user-select: none;
}

.filter-checkbox:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: #fffcf5;
}

.filter-checkbox input {
    display: none;
}

.filter-checkbox:has(input:checked) {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.apply-btn {
    width: 100%;
    padding: 0.8rem;
    border-radius: 4px;
}

.clear-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: var(--charcoal);
    padding: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.clear-btn:hover {
    border-color: var(--maroon);
    color: var(--maroon);
}

.main-content .filter-bar {
    margin-bottom: 2rem;
    border-radius: 8px;
    padding: 1rem 1.5rem;
}

/* Footer */
footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive & Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .category-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .top-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        text-align: left;
        padding-right: 3rem;
        /* Leave room for hamburger */
    }

    .logo {
        font-size: 1.05rem;
        gap: 10px;
    }

    .logo img {
        height: 45px;
        width: 45px;
    }

    .logo span small {
        line-height: 1.2;
        margin-top: 2px;
    }

    .top-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.8rem;
    }

    .top-actions a {
        font-size: 0.85rem;
    }

    /* Mobile Hamburger Nav */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1.2rem;
        right: 1.2rem;
        z-index: 1001;
    }

    nav {
        display: none;
        width: 100%;
        background: var(--maroon);
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    nav.nav-active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4 {
        margin-top: 1rem;
    }

    .footer-col div {
        justify-content: center;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #d4af37 0%, #f9f295 50%, #d4af37 100%) !important;
    color: var(--maroon) !important;
    border-radius: 50% !important;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 999999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(15deg);
    background: linear-gradient(135deg, #f9f295 0%, #d4af37 50%, #f9f295 100%) !important;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}