/* ==========================================================================
   SARVA BRAND STYLING - ROYAL RAJASTHANI DESIGN SYSTEM
   ========================================================================== */

/* 1. Global Reset & Theme Variables */
:root {
    --primary-maroon: #7D0A0A;
    --primary-maroon-dark: #580000;
    --primary-maroon-light: #A82424;
    --gold: #D4AF37;
    --gold-dark: #AA820A;
    --gold-light: #F3E5AB;
    --mustard: #E29578;
    --mustard-dark: #C27457;
    --cream-bg: #FCF9F2;
    --cream-dark: #F5EFEB;
    --white: #FFFFFF;
    --charcoal: #1E1A17;
    --charcoal-light: #2A2521;
    --text-dark: #2C2520;
    --text-muted: #6B6259;
    --text-light: #FBF9F6;

    --font-heading: 'Marcellus', serif;
    --font-body: 'Montserrat', sans-serif;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(125, 10, 10, 0.08);
    --shadow-heavy: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --border-gold: 1px solid rgba(212, 175, 55, 0.35);
}

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

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-maroon);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-maroon-dark);
}

/* Common Typography & Layout elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1px;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Decorative Divider */
.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 16px 0 24px 0;
}

.ornament-divider.center {
    justify-content: center;
}

.ornament-divider .diamond {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    transform: rotate(45deg);
    display: inline-block;
}

.ornament-divider .line {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 10px;
    display: inline-block;
}

.ornament-divider.small .line {
    width: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-maroon);
    color: var(--white);
    border: 1px solid var(--primary-maroon);
    box-shadow: 0 4px 15px rgba(125, 10, 10, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-maroon-dark);
    border-color: var(--primary-maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 10, 10, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-maroon);
    border: 1px solid var(--primary-maroon);
}

.btn-outline:hover {
    background-color: var(--primary-maroon);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 10, 10, 0.15);
}

.btn-large {
    padding: 16px 36px;
    font-size: 0.95rem;
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
.announcement-bar {
    background-color: var(--primary-maroon-dark);
    color: var(--gold-light);
    text-align: center;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    z-index: 100;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.main-header {
    background-color: rgba(252, 249, 242, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 99;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 6px 0;
    background-color: var(--cream-bg);
    box-shadow: var(--shadow-soft);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--primary-maroon);
    cursor: pointer;
    z-index: 101;
}

.nav-menu {
    flex: 1;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-maroon);
}

.brand-logo {
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--primary-maroon);
    font-weight: 400;
    letter-spacing: 6px;
    margin-right: -6px;
    /* Offset final letter-spacing spacing */
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
}

.logo-subtext {
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-dark);
    margin-top: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.icon-btn:hover {
    color: var(--primary-maroon);
    border-color: rgba(125, 10, 10, 0.15);
    background-color: var(--cream-dark);
}

.whatsapp-header-btn {
    background-color: #25D366;
    color: var(--white) !important;
    border-color: #25D366;
}

.whatsapp-header-btn:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: scale(1.08);
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 100px 0 140px 0;
    background: radial-gradient(circle at 80% 20%, #FFFDF7 0%, var(--cream-bg) 100%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237d0a0a' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2v2h-2V0zm0 4h2v2h-2V4zm0 4h2v2h-2V8zm0 12h2v2h-2v-2zm0 12h2v2h-2v-2zm4 4h2v2h-2v-2zm4 0h2v2h-2v-2zm12 0h2v2h-2v-2zm12 0h2v2h-2v-2zM0 40h2v2H0v-2zm0 4h2v2H0v-2zm0 4h2v2H0v-2zm0 12h2v2H0v-2zm0 12h2v2H0v-2zm4-28h2v2H4v-2zm4 0h2v2H8v-2zm12 0h2v2h-2v-2zm12 0h2v2h-2v-2z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-dark);
    display: inline-block;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--primary-maroon-dark);
    margin-bottom: 24px;
}

.hero-title .highlight {
    font-style: italic;
    color: var(--gold-dark);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    height: 6px;
    background-color: rgba(212, 175, 55, 0.15);
    z-index: -1;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInScale 1.2s ease;
}

/* Elegant Rajasthani Arch Border styling for Hero image */
.gold-frame {
    padding: 16px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border-radius: 200px 200px 20px 20px;
    /* Traditional arch silhouette */
    box-shadow: var(--shadow-heavy);
    position: relative;
}

.gold-frame::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 194px 194px 14px 14px;
    pointer-events: none;
}

.hero-img {
    border-radius: 185px 185px 10px 10px;
    width: 100%;
    max-width: 400px;
    height: 480px;
    object-fit: cover;
    display: block;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.hero-wave .shape-fill {
    fill: var(--cream-bg);
}

/* ==========================================================================
   4. Legacy / Story Section
   ========================================================================== */
.legacy-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--cream-dark);
}

.mandala-bg {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%237d0a0a' stroke-opacity='0.02' stroke-width='0.5'/%3E%3Cpath d='M50 5 L50 95 M5 50 L95 50 M18 18 L82 82 M18 82 L82 18' stroke='%237d0a0a' stroke-opacity='0.02' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%237d0a0a' stroke-opacity='0.02' stroke-width='0.5'/%3E%3Cpolygon points='50,15 60,35 85,35 65,50 75,75 50,60 25,75 35,50 15,35 40,35' fill='none' stroke='%237d0a0a' stroke-opacity='0.02' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: contain;
    animation: rotateMandala 60s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.section-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-dark);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-maroon-dark);
    line-height: 1.2;
}

.legacy-para {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 400;
}

.legacy-features {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--gold-dark);
    background-color: rgba(212, 175, 55, 0.1);
    padding: 14px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.feature-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legacy-visual-block {
    display: flex;
    justify-content: center;
}

.arch-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 480px;
    padding: 10px;
    background-color: var(--white);
    border: var(--border-gold);
    box-shadow: var(--shadow-medium);
}

.arch-frame::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px dashed var(--gold);
    pointer-events: none;
}

.arch-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    clip-path: ellipse(50% 50% at 50% 50%);
    /* Circle/Oval crop style */
    border-radius: 50% 50% 0 0;
    /* Dome style */
    clip-path: polygon(50% 0%, 100% 38%, 100% 100%, 0% 100%, 0% 38%);
    /* Ornate peak dome crop */
    transition: var(--transition-smooth);
}

.arch-frame:hover .arch-image {
    transform: scale(1.03);
}

/* ==========================================================================
   5. Catalogue / Products Section
   ========================================================================== */
.catalogue-section {
    padding: 100px 0;
    background-color: var(--cream-bg);
}

.text-center {
    text-align: center;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Filter buttons */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(44, 37, 32, 0.15);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-maroon);
    border-color: var(--primary-maroon);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(125, 10, 10, 0.15);
}

/* Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

/* Product Card Styling */
.product-card {
    background-color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow-medium);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 110%;
    /* Aspect ratio 1:1.1 */
    overflow: hidden;
    background-color: var(--cream-dark);
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.product-img.active {
    opacity: 1;
    pointer-events: auto;
}

.product-card:hover .product-img.active {
    transform: scale(1.08);
}

/* Card Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--primary-maroon);
    cursor: pointer;
    z-index: 4;
    opacity: 0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-card:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background-color: var(--primary-maroon);
    color: var(--white);
}

.slider-arrow-left {
    left: 10px;
}

.slider-arrow-right {
    right: 10px;
}

/* Card Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 4;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.slider-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-maroon);
    color: var(--gold-light);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    z-index: 2;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Card Image Overlay Button */
.img-overlay-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(125, 10, 10, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 3;
}

.product-card:hover .img-overlay-btn {
    opacity: 1;
}

.overlay-btn-content {
    background-color: var(--white);
    color: var(--primary-maroon-dark);
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-heavy);
}

.product-card:hover .overlay-btn-content {
    transform: translateY(0);
}

.overlay-btn-content:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* Card details styling */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: var(--border-gold);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-desc-brief {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-maroon);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    opacity: 0.8;
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #d9534f;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    z-index: 2;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.modal-original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.modal-discount-tag {
    font-size: 0.75rem;
    background: #d9534f;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 600;
    vertical-align: middle;
}


.whatsapp-card-btn {
    background-color: #25D366;
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}

.whatsapp-card-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(18, 140, 126, 0.4);
}

/* ==========================================================================
   6. Custom Bespoke Orders Banner
   ========================================================================== */
.bespoke-section {
    position: relative;
    padding: 100px 0;
    background-image: url('images/hero_potli.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--white);
}

.bespoke-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(88, 0, 0, 0.85);
    /* Deep burgundy overlay */
    z-index: 1;
}

.bespoke-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.bespoke-content h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.25;
}

.bespoke-content p {
    font-size: 1.05rem;
    margin-bottom: 36px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

.bespoke-content .btn-primary {
    background-color: #25D366;
    border-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.bespoke-content .btn-primary:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.main-footer {
    background-color: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0 40px 0;
    position: relative;
}

.footer-wave {
    line-height: 0;
    overflow: hidden;
    width: 100%;
    margin-bottom: 60px;
}

.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
}

.footer-wave .shape-fill {
    fill: var(--cream-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.25fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 5px;
}

.footer-tag {
    font-size: 0.85rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: var(--charcoal-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.social-links a:hover {
    background-color: var(--primary-maroon);
    border-color: var(--primary-maroon);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--gold-light);
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 14px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--gold);
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   8. Modal (Quick View)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 26, 23, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-wrapper {
    background-color: var(--cream-bg);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1002;
    border: var(--border-gold);
    box-shadow: var(--shadow-heavy);
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal.active .modal-wrapper {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    border: var(--border-gold);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-maroon);
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background-color: var(--primary-maroon);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
}

.modal-image-panel {
    background-color: var(--cream-dark);
    position: relative;
}

.modal-image-panel img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.modal-details-panel {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
}

.modal-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    margin-bottom: 8px;
}

.modal-title {
    font-size: 2.2rem;
    color: var(--primary-maroon-dark);
    margin-bottom: 12px;
}

.modal-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-maroon);
    margin-bottom: 10px;
}

.modal-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.product-specs {
    border-top: 1px solid var(--cream-dark);
    padding: 16px 0;
    margin-bottom: 28px;
}

.spec-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.spec-label {
    width: 110px;
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    color: var(--text-muted);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-actions .btn-primary {
    background-color: #25D366;
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    width: 100%;
}

.modal-actions .btn-primary:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

.shipping-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    display: block;
}

.shipping-info i {
    color: var(--gold-dark);
    margin-right: 4px;
}

/* ==========================================================================
   9. Mobile Menu / Sidebar & Responsive Styles
   ========================================================================== */

/* Mobile Nav Drawer Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Keyframes for animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateMandala {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Breakpoints */
@media screen and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media screen and (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image-wrapper {
        order: 0;
    }

    .hero-description {
        margin: 0 auto 30px auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-img {
        max-width: 320px;
        height: 380px;
    }

    .gold-frame {
        border-radius: 160px 160px 20px 20px;
    }

    .hero-img {
        border-radius: 145px 145px 10px 10px;
    }

    .legacy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legacy-visual-block {
        order: 0;
    }

    .legacy-text-block {
        order: 1;
    }

    .modal-content-grid {
        grid-template-columns: 1fr;
    }

    .modal-image-panel img {
        min-height: 300px;
        max-height: 400px;
    }

    .modal-details-panel {
        padding: 24px;
    }

    .modal-title {
        font-size: 1.8rem;
    }

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

@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    /* Move navigation to sliding drawer on mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background-color: var(--cream-bg);
        border-right: var(--border-gold);
        padding: 80px 30px;
        z-index: 101;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-heavy);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .nav-link {
        font-size: 1rem;
        display: block;
    }

    .logo-text {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    .logo-subtext {
        font-size: 0.5rem;
        letter-spacing: 2px;
    }

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

    .section-title {
        font-size: 2rem;
    }
}

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }
}