/* ==========================================
   Global Styles
   ========================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #1B4332;
    --secondary-color: #FFB703;
    --dark-color: #1a1a1a;
    --light-color: #f1f1f1;
    --text-color: #212529;
    --gray-color: #708D81;
    --accent-color: #708D81;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*line-height: 1.6;*/
    color: var(--text-color);
    background-color: white;
}

/* ==========================================
   Header & Navigation
   ========================================== */

header {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    margin: 0px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    /*flex: 0 1 auto;
    min-width: 0;
    margin-left: -12px; 
    margin-right: 1.5rem; 
    */
}

.logo-image {
    display: block;
    flex-shrink: 0;
    height: 60px;
    width: auto;
    display: block;
    flex-shrink: 0;
    justify-self: start;
}


/* Ensure the title can wrap if needed so full text shows */
.logo h2 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0;
}

.logo-image.placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-align: center;
    padding: 4px;
    line-height: 1.2;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-left: 200px;
    margin-right: 20px;
    padding: 10 10px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

/* RESPONSIVE: CLEANER SCALING */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 0;
    }

    .logo-image {
        height: 40px; /* Scale the height down naturally */
    }

    .logo h2 {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
    }
    
    .logo h2 {
        display: none; /* Optional: Hide text on very small screens to save space */
    }
}


/* ==========================================
   MAIN
   ========================================== */

.contact {
    width: 100%;
    background-color: #f2f7f4;
    border-bottom: 1px solid #f0f0f0;
}

.contact-cta {
    text-align: center;
    padding: 50px 20px 10px; 
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    color:var(--primary-color); 
    font-size: 2.5rem; 
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.page-subtitle {
    color: #D4914A;
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== SECTION 2: CONTENT GRID ===== */
.contact-info {
    width: 100%;
    background-color: #ffffff;
    padding-bottom: 90px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 100px; 
    margin: 30px auto 0;
    max-width: 1400px;
    padding: 0 40px;
}

/* LEFT COLUMN: DETAILS */
.contact-details h2 {
    color: var(--dark-color);
    margin-bottom: 5px;

}

.tagline {
    color:var(--text-color);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CONTACT ITEM TYPOGRAPHY */
.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    display: block;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

/* ICON & DATA ALIGNMENT */
.contact-data-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-data-row i {
    color: #D4914A; 
    font-size: 1rem;
    width: 20px; /* Fixed width ensures text vertical alignment */
    padding-top: 4px;
    text-align: center;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.contact-data-row a, 
.contact-data-row address,
.hours-list {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    text-decoration: none;
    font-style: normal;
}

.contact-item a:hover {
    color: rgb(84, 168, 207);
    text-decoration: underline;
}

.hours-list {
    list-style: none;
}

/* RIGHT COLUMN: MAP */
.map-section h3 {
    color: #0b5e2d;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* This replaces all those 'style=' attributes in the HTML */
.google-map {
    width: 100%;
    height: 100%;
    min-height: 450px; /* Ensures it's visible even if the column is empty */
    border: 0;
    border-radius: 12px; /* Optional: gives the map a nice rounded look */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Makes the map "pop" off the page */
}

.map-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    
    overflow: hidden;
    border: 1px solid #eee;
    line-height: 0; /* Removes tiny gap at bottom of iframe */
}

.map-caption {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    margin-top: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }
    .page-title {
        font-size: 2.8rem;
    }
}

/*text*/
@media (max-width: 768px) {
    /* 1. Global Heading Scale */
    .hero-overlay h1, 
    h1.page-title { 
        font-size: 1.5rem !important; 
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    /* Target all H2s (Mission, Vision, Company Name) except the Logo */
    h2:not(.logo h2) { 
        font-size: 1.2rem; 
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    /* 2. Contact Page Specific Scaling */
    .page-subtitle {
        font-size: 1rem;
        opacity: 0.9;
    }

    /* Make the "Phone", "Email" labels smaller but bold */
    .contact-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Ensure address and lists match the paragraph size */
    p, address, .hours-list li, .contact-links a {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Ensure phone links have enough space to be tapped */
    .contact-links a {
        display: block;
        padding: 4px 0;
    }

}