/* static/css/style.css */

/* Basic Reset & Premium Base */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #ed1c24; /* Mark Decor Red */
    --dark-text: #212121;
    --light-text: #FFFFFF;
    --body-text: #333333;
    --secondary-text: #5F6368;
    --background-light: #FFFFFF;
    --background-medium: #F4F6F8; /* Light grey for section backgrounds */
    --border-color: #E0E0E0;
    --header-height: 70px; 
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px; /* Base font size */
    line-height: 1.7;
    color: var(--body-text);
    background-color: var(--background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 1140px; /* Standard max-width for content */
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    margin-top: 0;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; font-weight: 600; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c8121a; /* Darker accent */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.site-header {
    background-color: var(--background-light);
    padding: 0; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site-header .logo img {
    max-height: 55px; 
    width: auto;      
    display: block;
}

.site-header .contact-nav {
    display: flex;
    align-items: center;
}

.site-header .contact-nav a {
    color: var(--secondary-text);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex; 
    align-items: center;
}

.site-header .contact-nav a:hover {
    color: var(--primary-color);
}

.site-header .contact-nav a i {
    margin-right: 8px;
    font-size: 1.1em; 
    color: var(--primary-color);
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none; /* Hidden on desktop by default */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark-text);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    z-index: 1005; 
    order: 3; /* To ensure it comes after logo if flex order is manipulated later */
}
.hamburger-menu i {
    display: block; 
}


/* Main Content */
main {
    padding-top: 2rem; /* Space below sticky header */
}

section {
    padding: 60px 0;
    text-align: left; 
}

section .container > h2,
section .container > p:first-of-type { 
    text-align: center;
}

section .container > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


section.hero {
    background-color: var(--background-medium);
    padding: 80px 0;
    text-align: center;
}

section.hero h1 {
    color: var(--dark-text);
    margin-bottom: 0.75em;
}

section.hero p {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 750px;
    margin: 0 auto 1.5em;
}

.brochure-section .container > p,
.about-us .container > p {
    font-size: 1.1rem;
    color: var(--body-text);
    line-height: 1.8;
}

.about-us .container > p {
    text-align: justify; 
    hyphens: auto;
}


.button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.button:hover {
    background-color: #c8121a; 
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Footer NEW STYLES */
.site-footer {
    background-color: var(--dark-text); 
    color: #E0E0E0; 
    padding: 50px 0;
    font-size: 0.9rem;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px; 
}

.footer-left {
    flex: 3; 
}

.footer-right {
    flex: 2; 
    margin-top: 10px; 
}

.footer-branding {
    margin-bottom: 25px;
}

.footer-full-logo-img {
    max-height: 55px; 
    width: auto;
    display: block; 
}

.footer-address p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #CCCCCC; 
}

hr.footer-separator {
    border: 0;
    height: 1px;
    background-color: #444444; 
    margin: 20px 0;
}

.footer-contact-info .contact-line {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact-info .contact-line:last-child {
    margin-bottom: 0;
}

.icon-bg {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0; 
}

.icon-bg.whatsapp-bg {
    background-color: #25D366; 
}
.icon-bg.whatsapp-bg .footer-icon-inner {
    color: white;
}

.icon-bg.email-bg {
    background-color: white;
}
.icon-bg.email-bg .footer-icon-inner {
    color: #333; 
}

.footer-icon-inner {
    font-size: 0.9rem; 
}

.footer-contact-info .contact-details {
    display: flex;
    flex-direction: column;
}

.footer-contact-info .contact-details a {
    color: #E0E0E0;
    text-decoration: none;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-contact-info .contact-details a:hover {
    color: var(--light-text);
    text-decoration: underline;
}

.footer-map iframe {
    width: 100%;
    height: 220px; 
    border: 0;
    border-radius: 6px; 
}


/* Responsive adjustments */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    section.hero p { font-size: 1.15rem; }

    .site-footer .container {
        gap: 30px;
    }
    .footer-full-logo-img {
        max-height: 50px; 
    }
     .footer-map iframe {
        height: 200px;
    }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    :root { --header-height: auto; } 

    .site-header {
        padding: 10px 0; 
        /* Ensure header height is dynamic if content inside changes height */
        height: auto; 
        min-height: 60px; /* Example minimum height */
    }
    .site-header .container {
        flex-direction: row;            
        justify-content: space-between;
        align-items: center;  
        position: relative; /* For absolute positioning of the nav dropdown */          
    }
    .site-header .logo {
        margin-bottom: 0; 
        /* Ensure logo does not cause unexpected wrapping with hamburger */
        flex-shrink: 0; 
    }
    .site-header .logo img {
        max-height: 48px; 
        margin: 0;        
    }
    
    /* Show Hamburger on mobile */
    .hamburger-menu {
        display: block;
    }

    /* Style for the mobile navigation menu (dropdown) */
    .site-header .contact-nav {
        display: none; /* Hidden by default */
        flex-direction: column;
        align-items: stretch; /* Make links take full width */
        position: absolute;
        top: 100%; /* Position below the header container */
        left: 0;
        right: 0; /* Make it span full width of the container */
        width: 100%;
        background-color: var(--background-light, #fff);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        padding: 0;
        z-index: 1000;
        border-top: 1px solid var(--border-color, #f0f0f0);
    }

    .site-header .contact-nav.active {
        display: flex; /* Show when .active class is added by JS */
    }

    .site-header .contact-nav a {
        margin: 0; /* Reset desktop margins */
        font-size: 0.9rem;
        font-weight: normal;
        color: var(--dark-text);
        padding: 12px 20px; /* Padding for touch targets */
        border-bottom: 1px solid var(--border-color, #f0f0f0);
        text-align: left;
        display: flex; 
        align-items: center;
    }

    .site-header .contact-nav a:last-child {
        border-bottom: none;
    }

    .site-header .contact-nav a:hover {
        background-color: var(--background-medium, #f8f9fa);
        color: var(--primary-color);
    }

    .site-header .contact-nav a i {
        margin-right: 12px; 
        font-size: 1.1em;
        width: 20px; 
        text-align: center;
    }

    section { padding: 40px 0; }
    section.hero { padding: 50px 0; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    section.hero p { font-size: 1.05rem; }

    /* Footer responsive */
    .site-footer .container {
        flex-direction: column;
        align-items: center; 
        gap: 0; 
    }
    .footer-left, .footer-right {
        flex-basis: 100%;
        width: 90%; 
        max-width: 450px; 
        margin-bottom: 40px;
    }
    .footer-right {
        margin-bottom: 0;
    }
    
    .footer-full-logo-img {
        margin-left: 0; 
        margin-right: 0; 
    }
    
    .footer-contact-info .contact-line {
        justify-content: flex-start; 
    }

     .footer-map iframe {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .container { width: 95%; padding: 0 15px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    section.hero p { font-size: 1rem; }
    .button { padding: 10px 20px; font-size: 0.9rem; }

    .site-header .logo img {
        max-height: 42px; 
    }
    .hamburger-menu {
        font-size: 1.6rem; /* Slightly smaller hamburger icon */
    }
    .site-header .contact-nav a {
        font-size: 0.85rem; 
        padding: 10px 15px; 
    }
    .site-header .contact-nav a i {
        margin-right: 10px; 
        font-size: 1em; 
    }
    .footer-left, .footer-right {
        width: 100%; 
    }
    .footer-full-logo-img {
        max-height: 45px; 
    }
    .footer-contact-info .contact-details a {
        font-size: 0.9rem;
    }
}