/* --- LUXURY PALETTE --- */
/* --- LUXURY PALETTE (CADE JONES SIGNATURE) --- */
:root {
    /* The Canvas */
    --deep-purple: #1a1025;   /* Very dark, almost black purple */
    --rich-purple: #2d1b42;   /* Slightly lighter for contrasting sections */
    
    /* The Light */
    --platinum: #e5e4e2;      /* Primary text color (soft silver) */
    --lavender: #bfaee3;      /* Accent color (Buttons/Links/Glows) */
    --white: #ffffff;         /* Pure white for headings */
    
    /* The Fonts (Updated) */
    /* Crimson Pro = The "Minion Pro" Equivalent (Authority) */
    --font-serif: 'Crimson Pro', serif; 
    
    /* Inter = The "Arial Nova" Equivalent (Precision) */
    --font-sans: 'Inter', sans-serif;   
}

body {
    background-color: var(--deep-purple);
    color: var(--platinum);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--white);
}

.text-lavender {
    color: var(--lavender);
}

.text-italic {
    font-style: italic;
}

/* --- NAVIGATION --- */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white) !important;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--platinum) !important;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-left: 20px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--lavender) !important;
}

.btn-login {
    border: 1px solid var(--lavender);
    border-radius: 0; /* Sharp edges for luxury */
    padding: 8px 20px;
    color: var(--lavender) !important;
}

.btn-login:hover {
    background: var(--lavender);
    color: var(--deep-purple) !important;
}

/* Navbar Solid on Scroll */
.navbar.scrolled {
    background-color: rgba(26, 16, 37, 0.95); /* Deep purple glass */
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh; /* Full Screen */
    display: flex;
    align-items: center;
    /* UPDATE THIS IMAGE URL BELOW */
    background: url('img/office-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
}

/* The Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(26,16,37,0.9) 0%, rgba(26,16,37,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.pre-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--lavender);
    margin-bottom: 20px;
}

.main-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--platinum);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* --- BUTTONS --- */
.btn-luxury-primary {
    background-color: var(--lavender);
    color: var(--deep-purple);
    padding: 15px 35px;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 1px;
    margin-right: 15px;
    transition: transform 0.3s;
}

.btn-luxury-primary:hover {
    transform: translateY(-3px);
    background-color: #fff;
    color: var(--deep-purple);
    text-decoration: none;
}

.btn-luxury-outline {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-luxury-outline:hover {
    background-color: var(--white);
    color: var(--deep-purple);
    text-decoration: none;
}

/* --- SECTIONS --- */
.section-padding {
    padding: 100px 0;
}

.dark-bg {
    background-color: var(--deep-purple);
}

.deep-purple-bg {
    background-color: #150d1f; /* Slightly darker */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #a0a0a0;
    margin-bottom: 20px;
}

/* --- GLASS CARDS --- */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 4px; /* Sharp corners, minimal radius */
    transition: transform 0.3s, border-color 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--lavender);
}

.display-card {
    text-align: center;
    border: 1px solid var(--lavender); /* Highlighted card */
    background: rgba(191, 174, 227, 0.05);
}

.display-icon {
    font-size: 3rem;
    color: var(--lavender);
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--lavender);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 1px;
}

.feature-card p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
    background-color: #0b0710; /* Almost black */
    padding: 80px 0 30px 0;
}

.footer-brand {
    font-family: var(--font-serif);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-contact {
    color: #666;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-email {
    color: var(--white);
    font-size: 1.5rem;
    font-family: var(--font-serif);
    text-decoration: none;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.footer-email:hover {
    color: var(--lavender);
    border-color: var(--lavender);
    text-decoration: none;
}

.footer-line {
    border-color: #222;
    margin: 50px 0;
}

.copyright {
    color: #444;
    font-size: 0.8rem;
}

.copyright a {
    color: #666;
}

/* --- NEW HERO BACKGROUND FIX --- */
/* --- THE LAYERED HERO FIX --- */
.hero-bg-tinted {
    /* Layer 1: The Office Background */
    background: url('img/office-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    z-index: 0; /* Base level */
}

/* Layer 2: The Purple Tint Overlay */
.hero-bg-tinted::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* This color creates the dark purple atmosphere */
    background: rgba(26, 16, 37, 0.85); 
    z-index: 1; /* Sits ON TOP of the office, but BEHIND the content */
}

/* Layer 3: The Content (Text & Headshot) */
.hero-bg-tinted .container {
    position: relative;
    z-index: 2; /* Lifts all content above the tint */
}

/* --- RESPONSIVE HERO IMAGE --- */
.hero-headshot {
    /* Desktop Default */
    max-height: 650px; 
    width: auto;      /* Maintain aspect ratio */
    max-width: 100%;  /* Don't overflow width */
    
    /* Styling */
    display: block;
    margin-bottom: -1px;
    filter: brightness(0.9) contrast(1.1) drop-shadow(0 -10px 20px rgba(0,0,0,0.5));
    transition: max-height 0.3s ease; /* Smooth resizing */
}

/* On Screens Smaller than 992px (Tablets & Phones) */
@media (max-width: 991px) {
    .hero-headshot {
        max-height: 380px; /* Cap the height significantly */
    }
}

/* --- FORCE DROPDOWN COLORS --- */

/* 1. The Box Itself (Resting State) */
#subject {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.1);
}

/* 2. The Box When You Click It (Focus State) */
#subject:focus {
    background-color: #1a1025 !important; /* Dark Purple */
    color: #ffffff !important;
    border-color: #bfa15f !important; /* Gold Border */
    box-shadow: none;
}

/* 3. The Dropdown List Options (The Popup Menu) */
#subject option {
    background-color: #1a1025; /* Solid Dark Purple */
    color: #ffffff;
}

/* --- Mobile Specific Adjustments --- */
@media (max-width: 768px) {
    /* Target the Main Heading specifically on mobile */
    h1, .display-4 {
        font-size: 2.5rem !important; /* Adjust this number to make it smaller/larger */
        line-height: 1.2; /* Tightens the gap between lines slightly */
    }

    /* Optional: Tighten the spacing around it so it doesn't push content down */
    header.section-padding {
        padding-top: 120px !important; /* Reduces the gap at the very top */
        padding-bottom: 40px !important;
    }
}