/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* --- CSS Reset & Variables --- */
:root {
    --primary-color: #282260; /* Deep Purple */
    --secondary-color: #BC984D; /* Gold */
    --light-gray: #f4f4f4;
    --dark-gray: #4f4f4f;
    --white-color: #ffffff;
    --text-color: #333333;
}

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

body {
    font-family: 'Inter', sans-serif;
    /* line-height: 1.6; */
    color: var(--text-color);
    background-color: var(--white-color);
    padding-bottom: 50px;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: normal;
}

h2 {
    font-size: 2rem;
    text-align: left;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- Header --- */
.main-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    position: fixed;
    height: 74px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

.logo-img {
    height: 40px;
    margin: 17px 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--white-color);
    display: inline-block;
    height: 70px;
    padding-top: 24px;
    text-decoration: none;
    font-weight: normal;
    font-size: 1rem;
    border-bottom: 0px solid var(--secondary-color);
    transition: border 0.1s;
}

.main-nav ul li a:hover {
    border-bottom: 4px solid var(--secondary-color);
}

.main-nav ul li a.active {
    border-bottom: 4px solid var(--secondary-color);
}

/* Mobile Nav Toggle - for future use if needed */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* --- Hero Section --- */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.jpg') repeat-x center center/cover;
    height: 60vh;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: var(--white-color);
    padding: 0;
    margin-top: 60px;
    animation: scrollBackground 120s linear infinite;
}

@keyframes scrollBackground {
    0% {
        background-position: 0 center;
    }
    100% {
        background-position: -1000px center;
    }
}

.hero-content {
    max-width: 1200px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #a88443;
    transform: translateY(-3px);
}

/* --- About Us Section --- */
#about .about-content-1 {
    display: flex;
    gap: 50px;
    align-items: center;
    background-color: var(--white-color);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: -116px;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-image-container {
    flex: 1;
    max-width: 300px;
    height: 300px;
    /* border-radius: 50%; */
    overflow: hidden;
    position: relative;
}

.about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#about .about-content-2 {
    background-color: var(--dark-gray);
    color: var(--white-color);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: left;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* --- Operations Section --- */
#operations {
    background-color: var(--primary-color);
    margin-top: -116px; /* Overlap with the About section */
}

#operations h2 {
    text-align: center;
    color: var(--white-color);
    margin-top: 20px;
    margin-bottom: 40px;
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.operation-item {
    text-align: center;
}

.operation-item h3 {
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-size: 1.2rem;
    font-weight: 600;
}

.operation-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.operation-images img {
    width: 100%;
    height: 250px; /* Consistent height */
    object-fit: cover; /* Ensures images fill the space without distortion */
    /* border-radius: 8px; */
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.2); */
    /* transition: transform 0.3s ease; */
}

/* .operation-images img:hover {
    transform: scale(1.02);
} */

/* --- Contact Section --- */
#contact {
    background-color: var(--light-gray);
}

.contact-flex-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-details {
    flex: 1;
}

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-details strong {
    color: var(--primary-color);
}

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

.contact-details a:hover {
    color: var(--secondary-color);
}

.maps-container {
    flex: 1; /* Allows it to take up the available space */
    display: flex;
    gap: 20px; /* Creates space between the two maps */
}

/* This is the wrapper for EACH map and its heading */
.map-wrapper {
    flex: 1; /* Each wrapper takes up half of the container's space */
    position: relative; /* Crucial for positioning the heading */
    height: 250px;
}

/* This styles the heading on top of each map */
.map-heading {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color); /* Semi-transparent primary color */
    color: var(--white-color);
    padding: 8px 15px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 10;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* Update the iframe rule to target the new structure */
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Footer --- */
/* --- New Footer Styles --- */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-location, .footer-socials {
    display: flex;
    align-items: center;
    gap: 15px; /* Creates space between icon and text/other icons */
}

.footer-location .fa-location-dot {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-socials a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--secondary-color);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h2 { font-size: 2.2rem; }
    .hero-content h1 { font-size: 3rem; }
    
    #about .about-content-1 {
        flex-direction: column;
    }
    
    .about-image-container {
        max-width: 350px;
        height: 350px;
        margin-top: 30px;
    }

    .operations-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-flex-container {
        flex-direction: column;
    }

    .contact-map {
        width: 100%;
        margin-top: 30px;
    }
    
    .maps-container {
        flex-direction: column;
        width: 100%; /* Ensure it takes full width when stacked */
        margin-top: 30px;
    }
}

@media (max-width: 768px) {

    .main-header .container {
        padding: 0 20px;
    }
    .main-nav {
        display: none; /* Hide nav for a hamburger menu implementation */
        /* Future JS would toggle this */
    }
    .menu-toggle {
        display: none; /* Show hamburger icon */
    }

    section { padding: 60px 0; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; text-align: center; }
    .hero-content { text-align: center; }
}