/* AESTHETIC LUXURY FURNITURE DESIGN */
:root {
    --gold: #f1a420;
    --gold-dark: #d98f12;
    --charcoal: #0f226f;
    --cream: #F8F4ED;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --glow: 0 0 20px rgba(241,164,32,0.4), 0 0 40px rgba(241,164,32,0.2);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

/* SELECTION & SCROLLBAR */
::selection { background: var(--gold); color: var(--charcoal); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; border: 2px solid var(--charcoal); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* NAVBAR */
.navbar {
    background: rgba(10,31,68,0.95) !important;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    background: linear-gradient(to right, var(--gold), #FFF8D6, var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.navbar-brand img {
    height: 40px !important;
    width: auto !important;
}

/* HERO */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--charcoal);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(10,31,68,0.6), rgba(10,31,68,0.6)), url('../images/background.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0px 15px 30px rgba(0,0,0,0.8);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

/* BUTTONS */
.btn-gold {
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    border: none;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    position: relative;
    overflow: hidden;
    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.4), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--glow);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    color: white;
    padding: 1.2rem 3rem;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

/* SECTIONS */
.section-padding {
    padding: 120px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    background: linear-gradient(to right, var(--charcoal), #555, var(--charcoal));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 4rem;
    animation: shine 6s linear infinite;
    letter-spacing: -1px;
}

/* FEATURE CARDS */
.feature-card {
    background: var(--glass);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 24px;
    padding: 4rem 2.5rem;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-20px);
    box-shadow: var(--glow);
    background: rgba(255,255,255,0.98);
}

.feature-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    box-shadow: 0 15px 40px rgba(212,175,55,0.4);
}

/* COLLECTION CARDS */
.collection-card {
    transition: all 0.4s ease;
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
    background: white;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.collection-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.collection-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

/* CARDS IN GENERAL */
.card {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    transition: 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    border: none;
    background: white;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}
.card-img-top {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

/* FILTER BUTTONS */
.filter-btn {
    background: transparent;
    border: 2px solid var(--charcoal);
    color: var(--charcoal);
    margin: 0 5px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--charcoal);
    color: var(--gold);
    border-color: var(--charcoal);
    box-shadow: var(--shadow);
}

.badge.bg-warning {
    background: linear-gradient(45deg, var(--gold), var(--gold-dark)) !important;
    color: white !important;
    border: none;
    padding: 0.5em 1em;
}

/* FOOTER */
.footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 4rem 0 2rem;
}
.footer h5 { 
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}
.footer-link { 
    color: rgba(255,255,255,0.7); 
    text-decoration: none; 
    transition: color 0.3s ease;
}
.footer-link:hover { 
    color: var(--gold); 
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 2rem;
}

/* SEAMLESS PAGE TRANSITION (Managed completely via JS Preloader Overlay) */

/* ==========================================
   LUXURY ADVANCED FEATURES (Cursor, Grain, Reveals)
   ========================================== */

/* 3. Film Grain Overlay */
.grain-overlay {
    position: fixed; top: 0; left: 0; 
    width: 100vw; height: 100vh;
    pointer-events: none; z-index: 999998;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* 4. Cinematic Text Reveals */
/* Removed cinematic-reveal */