/* CSS Reset & Variables */
:root {
    --circuit-blue: #0092CA; /* From Logo */
    --alert-red: #D9534F;    /* From Logo */
    --tarmac-slate: #393E46; /* Primary Text */
    --fuselage-white: #FFFFFF;
    --carbon-grey: #F4F4F4;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    color: var(--tarmac-slate);
    line-height: 1.6;
    background-color: var(--fuselage-white);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light { background-color: var(--carbon-grey); }
.bg-white { background-color: var(--fuselage-white); }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800; /* Brutalist Bold */
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

h1 { 
    font-size: 3.5rem; 
    line-height: 1.1; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Added for general contrast */
}

h2 { font-size: 2.5rem; }
p { font-weight: 300; font-size: 1.1rem; }

.highlight { 
    color: var(--circuit-blue); 
    text-shadow: 0 4px 12px rgba(0,0,0,0.6); /* Strong shadow to lift blue text off background */
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Tech feel */
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img { height: 40px; }
.logo-text { font-weight: 800; font-size: 1.5rem; color: var(--tarmac-slate); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--tarmac-slate);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.btn-nav {
    background-color: var(--circuit-blue);
    color: white!important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-nav:hover { background-color: #007bb5; }

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    background-image: url('assets/jet-interior-dark.jpg'); /* Needs generic image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Changed from blue-tinted to dark neutral gradient for better text contrast */
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(40, 45, 55, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.btn-hero {
    display: inline-block;
    margin-top: 2rem;
    padding: 15px 35px;
    background-color: var(--circuit-blue);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 4px;
    border: 2px solid var(--circuit-blue);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: transparent;
    color: white;
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-5px); }
.card-icon { font-size: 2rem; color: var(--circuit-blue); margin-bottom: 20px; }

/* Form Styles */
.quote-container { max-width: 800px; margin: 0 auto; }
.quote-header { text-align: center; margin-bottom: 40px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; }
.form-group label { margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }

input, select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-stack);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--circuit-blue);
    box-shadow: 0 0 0 3px rgba(0,146,202,0.1);
}

.btn-submit {
    width: 100%;
    margin-top: 30px;
    padding: 15px;
    background-color: var(--circuit-blue);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover { background-color: #007bb5; }
.form-disclaimer { font-size: 0.8rem; color: #888; text-align: center; margin-top: 15px; }

/* Footer & Compliance */
.footer {
    background-color: var(--tarmac-slate);
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 { color: var(--circuit-blue); }
.footer-legal h4 { color: #ccc; margin-bottom: 15px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

.legal-text {
    font-size: 0.75rem; /* Part 295 small print compliance */
    color: #aaa;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: justify;
}

.legal-text strong { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

/* =========================================
   MOBILE RESPONSIVE FIXES
   ========================================= */
@media (max-width: 768px) {
    /* Container padding adjustment */
    .container {
        padding: 0 20px;
    }

    /* Navigation: Stack vertically or hide/hamburger (keeping simple stack for now) */
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap; /* Allow wrapping on very small screens */
    }

    /* Hero Section: Adjust font sizes and alignment */
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 100px 0; /* Add padding because height is auto */
        text-align: center;
    }

    h1 {
        font-size: 2.5rem; /* Smaller H1 */
    }
    
    .hero-sub {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2rem;
    }

    /* Grid Layouts: Stack columns */
    .grid-3, 
    .form-grid, 
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Form specific adjustments */
    .form-group {
        width: 100%;
    }
    
    .quote-header h2 {
        font-size: 2rem;
    }

    /* Footer adjustments */
    .footer {
        padding: 40px 0 20px;
        text-align: center; /* Center footer text on mobile */
    }

    .legal-text {
        text-align: center; /* Center align legal text for better readability */
    }
}
