/* 
   VENUS JEWELS - Luxury Jewellery Showroom Stylesheet
   Theme: Midnight Dark, Charcoal, and Champagne Gold
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/* --- Root Variables --- */
:root {
    --bg-dark: #070707;
    --bg-dark-rgb: 7, 7, 7;
    --bg-card: #121212;
    --bg-card-hover: #1a1a1a;
    --border-color: #222222;
    --border-gold: #aa7c11;
    --text-light: #f5f5f5;
    --text-muted: #999999;
    --gold: #d4af37;
    --gold-hover: #f3e5ab;
    --gold-dark: #aa7c11;
    --gold-glow: rgba(212, 175, 55, 0.2);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 80px;
    --glass-bg: rgba(7, 7, 7, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
    --footer-bg: #030303;
}

/* --- Light Theme Variables --- */
:root.light-theme {
    --bg-dark: #FAF9F6;
    --bg-dark-rgb: 250, 249, 246;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F3EFE0;
    --border-color: #E2DDD5;
    --text-light: #151515;
    --text-muted: #666666;
    --glass-bg: rgba(250, 249, 246, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
    --footer-bg: #F3EFE0;
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.2;
    color: var(--text-light);
}

p {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 0.95rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    user-select: none;
    -webkit-user-drag: none;
}

/* --- Reusable Components --- */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 70px 0;
}

.gold-text {
    background: linear-gradient(135deg, #b99b2e 0%, #d4af37 60%, #a2750e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    display: inline-block;
    font-weight: 900;
}

.gold-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.gold-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--gold);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-wrap h2 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title-wrap p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* --- Buttons --- */
.btn-gold {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
    opacity: 0;
    z-index: -2;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    color: #070707 !important;
    border-color: transparent;
    box-shadow: 0 8px 25px var(--gold-glow);
    transform: translateY(-2px);
}

.btn-gold:hover::after {
    opacity: 1;
}

.btn-gold-solid {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
    border: none;
    color: #070707 !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--gold-glow);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.btn-gold-solid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f3e5ab 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.btn-gold-solid:hover::after {
    opacity: 1;
}

.btn-gold-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: #070707 !important;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
}

.btn-text:hover {
    color: var(--gold-hover);
    border-color: var(--gold-hover);
    padding-left: 8px;
}

/* --- Header / Navigation --- */
header {
    height: var(--header-height);
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    height: 70px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--text-light);
}

.logo span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-icon-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-icon-btn:hover {
    color: var(--gold);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--gold);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    min-height: 650px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 1;
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.02);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.08);
}

/* Dark Theme Background overlays */
.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 75% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 55%),
        linear-gradient(rgba(7, 7, 7, 0.65), rgba(7, 7, 7, 0.85));
}

/* Light Theme Background overlays */
:root.light-theme .hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 75% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 55%),
        linear-gradient(rgba(250, 249, 246, 0.65), rgba(250, 249, 246, 0.9));
}

.hero-slide-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-slide-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-slide-content {
    max-width: 680px;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title span {
    font-style: italic;
    color: var(--gold);
}

.hero-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Product Specs in Slider */
.hero-product-specs {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    padding: 15px 0;
    max-width: 550px;
}

:root.light-theme .hero-product-specs {
    border-color: var(--border-color);
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
}

.hero-slide-actions {
    display: flex;
    gap: 20px;
}

/* Luxury Arch Frame Image Box */
.hero-slide-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-luxury-arch {
    position: relative;
    width: 310px;
    height: 430px;
    border-radius: 155px 155px 15px 15px; /* High dome arch */
    border: 1.5px solid var(--border-gold);
    overflow: hidden;
    background-color: var(--bg-card);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatArch 6s ease-in-out infinite;
    transition: var(--transition-smooth);
}

:root.light-theme .hero-luxury-arch {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Radial Glow Behind Gem */
.hero-luxury-arch::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-luxury-arch:hover {
    border-color: var(--gold-hover);
    box-shadow: 0 25px 50px var(--gold-glow);
}

.hero-luxury-arch:hover .hero-product-img {
    transform: scale(1.08) translateY(-5px);
}

@keyframes floatArch {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Staggered Slide-up Animations */
.hero-slide .hero-subtitle,
.hero-slide .hero-title,
.hero-slide .hero-desc,
.hero-slide .hero-product-specs,
.hero-slide .hero-slide-actions {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide .hero-slide-image-wrapper {
    opacity: 0;
    transform: translate(30px, 0) scale(0.95);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero-slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero-slide.active .hero-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.hero-slide.active .hero-product-specs {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.hero-slide.active .hero-slide-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

.hero-slide.active .hero-slide-image-wrapper {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition-delay: 0.5s;
}

/* Slider Controls Styles */
.slider-ctrl-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(7, 7, 7, 0.4);
    border: 1px solid var(--border-color);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

:root.light-theme .slider-ctrl-btn {
    background: rgba(255, 255, 255, 0.4);
    border-color: var(--border-color);
}

.slider-ctrl-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--bg-dark);
    box-shadow: 0 0 15px var(--gold-glow);
}

.slider-ctrl-btn.prev {
    left: 40px;
}

.slider-ctrl-btn.next {
    right: 40px;
}

/* Slide Dots indicators */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 15;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid transparent;
}

:root.light-theme .slider-dot {
    background: rgba(0, 0, 0, 0.15);
}

.slider-dot.active {
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    transform: scale(1.2);
    border-color: var(--gold);
}

/* Bottom Progress Indicator Bar */
.slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    width: 0;
    z-index: 15;
}

/* Scroll down button position override */
.hero-scroll-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 15;
}

.hero-scroll-btn svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Media Queries for Slider */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-luxury-arch {
        width: 260px;
        height: 360px;
    }
}

@media (max-width: 991px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: var(--header-height);
        padding-bottom: 80px;
    }
    .hero-slide {
        position: relative;
        height: auto;
        opacity: 1;
        visibility: visible;
        display: none;
        padding-top: 40px;
    }
    .hero-slide.active {
        display: block;
    }
    .hero-slide-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-slide-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-product-specs {
        margin: 0 auto 30px;
        width: 100%;
        justify-content: center;
    }
    .hero-slide-actions {
        justify-content: center;
    }
    .hero-slide-image-wrapper {
        order: -1; /* Place image above text on mobile */
    }
    .hero-luxury-arch {
        width: 220px;
        height: 300px;
        border-radius: 110px 110px 15px 15px;
    }
    .slider-ctrl-btn {
        width: 44px;
        height: 44px;
    }
    .slider-ctrl-btn.prev {
        left: 15px;
    }
    .slider-ctrl-btn.next {
        right: 15px;
    }
    .hero-scroll-btn {
        display: none; /* Hide scroll button on mobile screen */
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }
    .hero-desc {
        font-size: 0.85rem;
    }
    .hero-product-specs {
        gap: 20px;
    }
    .spec-value {
        font-size: 0.85rem;
    }
    .hero-slide-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-slide-actions .btn-gold,
    .hero-slide-actions .btn-gold-solid {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    .slider-ctrl-btn {
        display: none; /* Swipe & dots only on small mobile screen */
    }
}

/* --- Collections Grid --- */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.collection-card {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 200px 200px 15px 15px;
    /* beautiful dome arch display */
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.collection-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.collection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.1) 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 30px;
    z-index: 5;
    transition: var(--transition-smooth);
}

.collection-card:hover .collection-img {
    transform: scale(1.1);
}

.collection-card:hover .collection-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.2) 80%);
}

.collection-title {
    font-size: 1.6rem;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.collection-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* --- Craftsmanship Section --- */
.craftsmanship {
    background-color: var(--bg-card);
}

.craft-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.craft-img-box {
    position: relative;
    border: none;
    padding: 0;
}

.craft-img-box img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 300px 300px 20px 20px;
    /* beautiful dome arch */
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.craft-img-box::before {
    display: none;
}

.craft-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.craft-content p {
    margin-bottom: 25px;
}

.craft-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.craft-feat-item h4 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 10px;
}

/* --- Products Cards / Showcase --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: transparent;
    border: none;
    overflow: visible;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
}

.product-img-box {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: var(--bg-card);
    border-radius: 120px 120px 15px 15px;
    /* elegant high arch shape */
    border: 1.5px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.product-card:hover .product-img-box {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
    color: #070707 !important;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px;
    transition: var(--transition-smooth);
    z-index: 10;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    transition: var(--transition-smooth);
}

.action-btn:hover {
    color: var(--gold);
}

.product-info {
    padding: 10px 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-price {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gold);
}

.product-rating {
    color: var(--gold);
    font-size: 0.75rem;
    margin-top: 8px;
}

/* --- Testimonials --- */
.testimonials {
    background: linear-gradient(rgba(var(--bg-dark-rgb), 0.9), rgba(var(--bg-dark-rgb), 0.9)), url('../assets/images/hero_bg.png') no-repeat center center/cover;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(212, 175, 55, 0.08);
    border-radius: 20px;
    padding: 50px 30px 40px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

:root.light-theme .testimonial-card {
    background-color: rgba(0, 0, 0, 0.01);
    border: 1.5px solid rgba(212, 175, 55, 0.12);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.quote-icon {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--gold);
    margin-bottom: -10px;
    display: block;
    line-height: 1;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-name {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    display: block;
    margin-top: auto;
}

.client-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 5px;
    display: block;
}

/* --- Shop Banner --- */
.shop-banner {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 120px 0 60px;
    text-align: center;
}

.shop-banner h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.shop-banner p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* --- Catalog Page Layout --- */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.catalog-layout .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.catalog-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sort-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sort-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.btn-filter-toggle {
    display: none; /* Hidden on desktop */
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.btn-filter-toggle:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.filter-sidebar {
    background-color: var(--bg-card);
    border: 1.5px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.filter-sidebar-header h3.filter-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 0;
}

.filter-close-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.filter-close-btn:hover {
    color: var(--gold);
}

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(3px);
}

.filter-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-checkbox-label:hover {
    color: var(--gold);
}

.filter-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    cursor: pointer;
    position: relative;
    outline: none;
}

.filter-checkbox:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.filter-checkbox:checked::after {
    content: '\2713';
    color: var(--bg-dark);
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.price-range-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-input {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 18px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.price-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.filter-apply-btn {
    width: 100%;
    margin-top: 10px;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.catalog-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sort-select {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-gold);
    color: var(--text-light);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    border-radius: 30px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23d4af37' d='M0 0l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 35px;
    transition: var(--transition-smooth);
}

.sort-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.sort-select option,
.form-control option {
    background-color: var(--bg-card);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Luxury double gold divider */
.luxury-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0 25px;
}

.luxury-divider::before,
.luxury-divider::after {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--gold);
}

.luxury-divider span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 500;
}

/* --- Product Detail Page --- */
.detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    margin-top: 40px;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-img-box {
    border: 1.5px solid rgba(212, 175, 55, 0.2);
    border-radius: 220px 220px 20px 20px;
    /* grand detail arch */
    height: 480px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-card);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumb-box {
    border: 1px solid var(--border-color);
    border-radius: 50px 50px 10px 10px;
    /* mini arched thumbnails */
    height: 80px;
    cursor: pointer;
    overflow: hidden;
    background-color: var(--bg-card);
    transition: var(--transition-smooth);
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.thumb-box:hover,
.thumb-box.active {
    border-color: var(--gold);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.15);
}

.thumb-box:hover img {
    opacity: 0.8;
}

.detail-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-title {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.detail-price {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 20px;
}

.detail-desc {
    margin-bottom: 30px;
    font-size: 1rem;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.spec-table tr {
    border-bottom: 1px solid var(--border-color);
}

.spec-table td {
    padding: 12px 0;
    font-size: 0.9rem;
}

.spec-label {
    color: var(--text-light);
    font-weight: 500;
    width: 40%;
}

.spec-value {
    color: var(--text-muted);
}

.detail-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.qty-selector {
    display: flex;
    border: 1px solid var(--border-color);
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text-light);
    width: 45px;
    height: 48px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    color: var(--gold);
    background-color: rgba(255, 255, 255, 0.02);
}

.qty-input {
    width: 50px;
    border: none;
    background: none;
    color: var(--text-light);
    text-align: center;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

/* Accordions */
.info-accordions {
    border-top: 1px solid var(--border-color);
}

.acc-item {
    border-bottom: 1px solid var(--border-color);
}

.acc-header {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.acc-header:hover {
    color: var(--gold);
}

.acc-icon {
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.acc-item.active .acc-icon {
    transform: rotate(45deg);
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.acc-content p {
    padding-bottom: 20px;
    font-size: 0.85rem;
}

/* --- About Page --- */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('../assets/images/craft_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero h1 {
    font-size: 4.5rem;
    text-transform: uppercase;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.about-story-img {
    border: none;
    padding: 0;
}

.about-story-img img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 300px 300px 20px 20px;
    /* beautiful dome arch display */
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 80px auto 0;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-badge {
    width: 12px;
    height: 12px;
    background-color: var(--gold);
    border-radius: 50%;
    position: absolute;
    top: 25px;
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-badge {
    right: -6px;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -6px;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

/* --- Contact & Bookings --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-item p {
    font-size: 1rem;
}

.contact-form-panel {
    background-color: var(--bg-card);
    border: 1.5px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.contact-form-panel h3 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-form-panel p {
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23d4af37' d='M0 0l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 40px;
    cursor: pointer;
}

textarea.form-control {
    border-radius: 18px;
}

/* --- Cart Page --- */
.cart-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.cart-items-panel {
    border-top: 1px solid var(--border-color);
}

.cart-item-row {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 1fr 50px;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

.cart-item-details h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.cart-item-details p {
    font-size: 0.8rem;
}

.cart-item-price {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--gold);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.cart-item-remove:hover {
    color: #ff3333;
}

.cart-summary-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    height: fit-content;
}

.cart-summary-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.summary-row p {
    color: var(--text-light);
}

.summary-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

.summary-row.total p {
    font-size: 1.2rem;
    font-weight: 600;
}

.summary-row.total .price {
    color: var(--gold);
    font-size: 1.4rem;
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
}

.cart-empty {
    text-align: center;
    padding: 80px 0;
}

.cart-empty h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* --- Footer --- */
footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--gold);
}

.footer-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex-grow: 1;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-right: none;
    color: var(--text-light);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    border-radius: 50px 0 0 50px;
    transition: var(--transition-smooth);
}

.newsletter-input:focus {
    border-color: var(--gold);
}

.newsletter-btn {
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
    border: none;
    color: #070707 !important;
    padding: 0 28px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 0 50px 50px 0;
    transition: var(--transition-smooth);
}

.newsletter-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--gold);
}

/* --- Search Overlay --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--bg-dark-rgb), 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.search-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-close-btn:hover {
    color: var(--gold);
}

.search-form-wrap {
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.search-overlay-input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    padding: 20px 0;
    outline: none;
    transition: var(--transition-smooth);
}

.search-overlay-input:focus {
    border-color: var(--gold);
}

.search-overlay-input::placeholder {
    color: var(--text-muted);
    opacity: 0.3;
}

/* --- Mobile Menu Drawer --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 999;
    padding: 120px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
}

.mobile-nav-link:hover {
    color: var(--gold);
}

/* --- Scroll Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-card {
        height: 380px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .craft-wrap {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-layout .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background-color: var(--bg-card);
        border: none;
        border-right: 1.5px solid rgba(212, 175, 55, 0.15);
        border-radius: 0 20px 20px 0;
        z-index: 1001; /* Above header */
        padding: 30px;
        box-shadow: 15px 0 45px rgba(0, 0, 0, 0.5);
        transition: left 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow-y: auto;
    }

    .filter-sidebar.active {
        left: 0;
    }

    .btn-filter-toggle {
        display: inline-flex;
    }

    .filter-close-btn {
        display: block;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .bespoke-steps-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-banner {
        padding: 100px 0 40px;
    }

    .shop-banner h1 {
        font-size: 2.2rem;
    }

    .shop-banner p {
        font-size: 0.85rem;
        padding: 0 15px;
    }

    .product-img-box {
        height: 230px;
        border-radius: 90px 90px 15px 15px;
    }

    .section-title-wrap h2 {
        font-size: 2.2rem;
    }

    .craft-content h3 {
        font-size: 2.2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .bespoke-steps-grid {
        grid-template-columns: 1fr !important;
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        text-align: left !important;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-badge {
        left: 14px !important;
        right: auto !important;
    }

    .cart-item-row {
        grid-template-columns: 80px 1.5fr 1fr;
        gap: 15px;
    }

    .cart-item-row .cart-item-price,
    .cart-item-row .cart-item-remove {
        grid-column: 3;
    }

    .cart-item-row .qty-selector {
        grid-column: 2;
        width: fit-content;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .catalog-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .catalog-controls {
        width: 100%;
        justify-content: space-between;
    }

    .product-img-box {
        height: 200px;
        border-radius: 80px 80px 15px 15px;
    }
}

@media (max-width: 480px) {
    .catalog-layout .product-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .collection-card {
        height: 300px;
    }

    .detail-title {
        font-size: 2.2rem;
    }

    .contact-form-panel {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}