/* 1. VARIABLES & RESET */
:root {
    --aero-navy: #0a192f;
    --aero-gold: #c5a059;
    --aero-silver: #e6e9ee;
}

/* Force height on the root to allow children to expand */
html {
    height: 100%;
    font-size: 16px;
}

/* 2. THE STRUCTURAL LAYOUT (Sticky Footer Logic) */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

/* Flex: 1 0 auto is the "Secret Sauce" - it grows to fill empty space 
   pushing the footer to the bottom of the screen */
main { 
    flex: 1 0 auto; 
    display: block;
}

/* Prevents the footer from squishing or floating up */
footer {
    flex-shrink: 0;
}

/* 3. NAVBAR STYLING */
.navbar {
    background-color: var(--aero-navy) !important;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1050; /* Keeps it above form cards and hero sections */
    position: relative;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff !important;
    text-transform: uppercase;
}

.navbar-brand span {
    color: var(--aero-gold);
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--aero-gold) !important;
}

.btn-quote-nav {
    background-color: var(--aero-gold);
    color: var(--aero-navy) !important;
    font-weight: 700;
    border-radius: 4px;
    padding: 8px 20px;
    text-decoration: none;
}

/* 4. FOOTER STYLING */
footer {
    background-color: var(--aero-navy);
    color: rgba(255,255,255,0.6);
    padding: 60px 0; /* Increased padding for a more premium look */
    margin-top: 0; /* Resetting margin because Flexbox handles the gap */
}

footer a {
    color: var(--aero-gold);
    text-decoration: none;
    transition: 0.2s;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 5. UI COMPONENTS (Bootstrap Overrides) */
.btn:focus, .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.25);
    border-color: var(--aero-gold);
}