/* Custom CSS for styles that can't be done with Tailwind */

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

body {
    background: #0B0B0B;
    color: #E6E6E6;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
}

:root {
    --gold-primary: #D4AF37;
    --gold-deep: #C8A44D;
    --gold-champagne: #E5D19A;
    --gold-soft: #F5E7BE;
    --dark-bg: #0B0B0B;
    --dark-secondary: #111111;
    --matte-black: #151515;
    --charcoal: #1A1A1A;
    --glass-border: rgba(212, 175, 55, 0.25);
    --shadow-gold: 0 20px 35px -12px rgba(212, 175, 55, 0.2);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

h1, h2, h3, h4, .logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3.2rem, 8vw, 5.5rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 600; margin-bottom: 0.5rem; }
h4 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; margin-bottom: 0.5rem; }

.section-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glass Card */
.glass-card {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 32px;
    transition: all 0.4s;
    padding: 1.5rem;
}
.glass-card:hover { border-color: var(--gold-primary); box-shadow: 0 20px 35px -12px rgba(212, 175, 55, 0.2); }

/* Marquee Animation */
.marquee-track {
    display: flex;
    gap: 2rem;
    animation: scrollInfinite 30s linear infinite;
    width: max-content;
}
@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.lender-gold-card {
    background: #1A1A1A;
    border-radius: 60px;
    padding: 0.6rem 1.8rem;
    border: 1px solid rgba(212, 175, 55, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

/* Hero Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Form Elements */
input, select, textarea {
    background: #1A1A1A;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 0.8rem 1rem;
    color: white;
    width: 100%;
    font-family: 'Inter', sans-serif;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
}

/* Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    background: #2a2a2a;
    height: 3px;
    border-radius: 3px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold-primary);
    cursor: pointer;
    box-shadow: 0 0 8px #D4AF37;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Mobile Navigation */
.mobile-menu-btn { display: none; background: none; border: none; color: var(--gold-primary); font-size: 1.8rem; cursor: pointer; }
.mobile-nav {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px; height: 100vh;
    background: #0F0F0F; backdrop-filter: blur(20px); z-index: 2000; padding: 6rem 2rem;
    transition: right 0.4s ease; border-left: 1px solid var(--gold-primary);
}
.mobile-nav.active { right: 0; }
.mobile-nav a { display: block; color: #fff; font-size: 1.2rem; margin-bottom: 1.8rem; text-decoration: none; }

/* Responsive Grid Fixes */
@media (max-width: 991px) {
    section[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    section[style*="grid-template-columns: 1fr 3fr"] {
        grid-template-columns: 1fr !important;
    }
    section[style*="grid-template-columns: repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 576px) {
    section[style*="grid-template-columns: repeat(4,1fr)"] {
        grid-template-columns: 1fr !important;
    }
    section[style*="grid-template-columns: repeat(auto-fit, minmax(180px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
    section[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
}

/* Utility Classes */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-24 { padding: 5rem 0; }
.py-20 { padding: 4rem 0; }
.w-full { width: 100%; }
.hidden { display: none; }

/* Navigation */
.glass-nav {
    position: relative;
    z-index: 1000;
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.logo-main { font-size: 1.6rem; font-weight: 700; color: var(--gold-primary); line-height: 1.2; }
.logo-sub { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold-champagne); }
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a { color: #e0e0e0; text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: 0.3s; position: relative; }
.nav-links a:hover { color: var(--gold-primary); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary) 0%, #B8922A 100%);
    color: #0B0B0B;
    font-weight: 700;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    border: none;
    font-size: 0.85rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
}
.btn-outline:hover { background: var(--gold-primary); color: #0B0B0B; transform: translateY(-2px); }

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
}
@media (max-width: 768px) {
    .desktop-grid { grid-template-columns: 1fr !important; }
    h1 { font-size: 2.5rem; }
}
/* Extra Large Screens */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}
/* Large Screens */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container { max-width: 1140px; }
}
/* Medium Screens */
@media (min-width: 992px) and (max-width: 1199px) {
    .container { max-width: 960px; }
}
/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .container { max-width: 720px; }
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .py-24 { padding: 4rem 0; }
    .py-20 { padding: 3rem 0; }
}
/* Mobile */
@media (max-width: 767px) {
    .container { max-width: 100%; padding: 0 1.5rem; }
    h1 { font-size: 2.2rem; line-height: 1.2; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.1rem; }
    .py-24 { padding: 3rem 0; }
    .py-20 { padding: 2.5rem 0; }
    .glass-card { padding: 1.2rem; }
    .btn-gold, .btn-outline { padding: 0.7rem 1.5rem; font-size: 0.8rem; }
}
/* Small Mobile */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .py-24 { padding: 2rem 0; }
    .py-20 { padding: 1.5rem 0; }
    .glass-card { padding: 1rem; }
    .btn-gold, .btn-outline { padding: 0.6rem 1.2rem; font-size: 0.75rem; }
    .mobile-nav { width: 85%; }
}
