/* --- 1. Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f4f7f6;
    line-height: 1.6;
}

/* --- 2. Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 40px;
    z-index: 1000;
    transition: all 0.4s ease;
}

header {
    background: transparent; 
}

header.sticky {
    background: rgba(44, 62, 58, 0.95);
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header ul {
    display: flex;
    list-style: none;
}

header ul li {
    margin: 0 15px;
}

header ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

header ul li a:hover {
    background: #3c5a3e;
    transform: translateY(-2px);
}

/* --- 3. Hero Banner --- */
.banner {
    position: relative;
    background-image: url('kep.jpeg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.slogen {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* --- 4. Main Content Layout --- */
main {
    padding: 60px 40px;
    max-width: 100%;
    margin: 0 auto;
}

/* Side-by-Side Section */
.content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 60px;
}

/* Left Text Box */
.left {
    flex: 1;
    min-width: 300px;
    background-color: rgba(175, 195, 204, 0.4); 
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #2c3e3a;
    /* DARK GREEN TEXT */
    color: #1a4d2e; 
}

.left h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #1a4d2e; /* Ensure headings are also dark green */
}

.left p {
    color: #2c3e3a;
    font-size: 1.05rem;
}

/* Right Image Box */
.right {
    flex: 0 0 40%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blur {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(44, 62, 58, 0.2);
    background-color: #dcdcdc;
    position: relative;
}

.blur img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blur:hover img {
    transform: scale(1.05);
}

/* --- 5. Centered Map Section --- */
.middle {
    /* Remove width: 100% and negative margins */
    max-width: 1600px; /* Limits the width so it looks like a card */
    margin: 0 auto;    /* Centers the div horizontally */
    padding: 40px;     /* Adds space inside the box */
    text-align: center;
    
    /* LIGHT GREY BACKGROUND */
    background-color: #f0f0f0; 
    border-radius: 20px;
    
    /* Ensures content inside is centered */
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}

.map-title {
    color: #1a4d2e; /* Dark green title */
    margin-bottom: 30px;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.middle img {
    max-width: 100%; /* Scales down on mobile */
    width: auto;     /* Keeps natural aspect ratio */
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* --- 6. Responsive Adjustments --- */
@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
    }
    
    .right {
        flex: 1;
        max-width: none;
    }
    
    .title {
        font-size: 3rem;
    }
    
    header {
        justify-content: center;
    }
    
    .middle {
        margin: 0 -20px;
        padding: 20px;
    }
}

/* --- 8. Footer --- */
footer {
    background-color: rgba(44, 62, 58, 0.95);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}
