/* ==========================================================================
   Design System & Base Styles (Corporate Blue Centered Edition)
   ========================================================================= */

:root {
    --primary: #233567; /* Corporate Blue */
    --primary-light: #354a85;
    
    --bg-color: #233567;
    --text-color: #ffffff;
    --text-muted: #b9c4d9;
    --border-color: rgba(255, 255, 255, 0.15);
    --white: #ffffff;
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.2s ease-in-out;
    --border-radius: 6px;
}

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

html {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 6vh 24px; /* Fluid vertical padding based on viewport height */
}

.centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ==========================================================================
   Dominant Logo Area (Fluid Scale)
   ========================================================================== */

.logo-hero {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.site-logo-large {
    width: 100%;
    max-width: 420px; /* Fluid scaling: takes 100% of container up to 420px */
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   Contact Section (Fluid Responsive Grid)
   ========================================================================== */

.contact-section {
    width: 100%;
    margin-bottom: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    /* Auto-fit columns: fits 3 columns if screen is wide, automatically wraps to 2 or 1 columns on smaller screens */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    margin-bottom: 16px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover .icon-wrapper {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    width: 20px;
    height: 20px;
}

.contact-value {
    font-size: 14px;
    color: var(--white);
    font-weight: 300;
    line-height: 1.6;
    word-break: break-word; /* Ensure long links or text don't overflow */
}

.contact-link {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
}

.contact-link:hover {
    color: var(--white);
    border-color: var(--white);
}

/* ==========================================================================
   Google Maps Embed
   ========================================================================== */

.map-section {
    width: 100%;
    margin-bottom: 40px;
}

.map-container {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
}

/* ==========================================================================
   Mobile/Tablet Adjustments
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .logo-hero {
        margin-bottom: 32px;
    }

    .site-logo-large {
        max-width: 320px;
    }

    .contact-section {
        margin-bottom: 32px;
        padding-top: 32px;
    }

    .contact-grid {
        gap: 24px;
    }

    .map-section {
        margin-bottom: 32px;
    }

    .map-container iframe {
        height: 260px; /* Shorter map viewport on small screens */
    }
}

@media (max-width: 350px) {
    .site-logo-large {
        max-width: 260px; /* Prevent overflow on extremely narrow devices */
    }
}
