/* --- CLTinsure Original Restoration Master --- */
:root {
    --clt-green: #24824A;
    --crown-gold: #b3995d;
    --navy-blue: #0C1C35;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--white);
    position: relative;
    min-height: 100vh;
}

/* --- Skyline Positioning: Pinned below header --- */
body::before {
    content: "";
    position: fixed;
    top: 155px; /* Pins skyline start just below the header line */
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/charlotte_skyline.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

/* --- Header & Logo Container --- */
header {
    background-color: var(--clt-green);
    color: var(--white);
    padding: 1.2rem 1rem;
    text-align: center;
    border-bottom: 5px solid var(--crown-gold);
}

.logo-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 5px;
}

.header-logo {
    width: 80px !important; /* Original compact size */
    height: auto;
}

header h1 {
    font-size: 2.8rem;
    margin: 0;
    font-weight: 800;
}

header h1 span { color: var(--crown-gold); }

.tagline {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    font-style: italic;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 35px; /* This gives them the breathing room from your first image */
    margin: 10px 0 0 0;
}

header nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- The Estimator Card Styling --- */
.container {
    max-width: 650px;
    margin: 0 auto;
    padding: 5rem 15px;
}

.card {
    background: rgba(255, 255, 255, 0.98); /* Restores the white box */
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-top: 6px solid var(--clt-green);
}

.card h2 {
    color: var(--clt-green);
    text-align: left; /* Keeping it left as you preferred */
    font-size: 2.2rem;
    font-weight: 800; /* This restores the heavy, bold 'Imperative' look */
    margin-top: 0;
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
}

/* --- Form Fields Restoration --- */
form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy-blue);
}

form select, form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.input-row {
    display: flex;
    gap: 20px;
}

.input-group {
    flex: 1;
}

button {
    width: 100%;
    padding: 15px;
    background-color: var(--clt-green);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
}

/* --- Footer Restoration --- */
footer {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #f9f9f9;
}

.footer-logo {
    width: 80px !important;
    height: auto;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--clt-green);
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
}