:root {
    --primary-red: #B31B1B;
    --dark-grey: #1a1a1a;
    --text-color: #333;
    --light-bg: #f9f9f9;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; color: var(--text-color); line-height: 1.6; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header */
.main-header { background: #fff; padding: 15px 0; border-bottom: 1px solid #eee; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 60px; }
.nav-links a { margin-left: 20px; text-decoration: none; color: var(--dark-grey); font-weight: 600; }
.btn-quote { background: var(--primary-red); color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; }

/* Hero */
.hero-section { height: 300px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; }
.hero-section h1 { font-size: 3rem; letter-spacing: 2px; }

/* Form Content */
.content-area { padding: 60px 0; }
.form-intro { text-align: center; margin-bottom: 40px; }
.form-wrapper { background: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); overflow: hidden; }

/* Info Grid (Flexbox) */
.info-grid { display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.contact-details, .map-placeholder { flex: 1; min-width: 300px; }
.info-item { margin-bottom: 20px; }
.map-placeholder img { width: 100%; border-radius: 8px; }

/* Footer */
.main-footer { background: var(--dark-grey); color: #fff; padding: 60px 0; margin-top: 60px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }


/* Fix for the Map image appearing as a broken link */
.map-placeholder img {
    width: 100%;
    height: auto;
    min-height: 300px;
    background: #eee; /* This shows a grey box if the image is missing */
    border-radius: 8px;
    object-fit: cover;
}

/* Ensure the hero text is centered and visible */
.hero-section {
    background-color: #333;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Set padding to exactly 50px top and bottom */
    padding: 50px 0;
    
    /* Remove fixed heights to let padding define the size */
    height: auto;
    min-height: 0;
}

.hero-section h1 {
    margin: 0;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Aligning the footer logo */
.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
}


/* Footer Link Styling */
.footer-links ul {
    list-style: none; /* Removes the white bullet points */
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff; /* Forces links to be white */
    text-decoration: none; /* Removes the underline */
    transition: 0.3s;
}

.footer-links a:hover {
    color: #B31B1B; /* Optional: turns red when you hover over it */
}

/* Ensure the footer logo is visible against the black background */
.footer-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.map-placeholder iframe {
    border-radius: 8px; /* Matches the rounded corners of your GHL form */
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Adds a subtle professional lift */
}