/* --- 1. Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* --- 2. 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(20, 40, 40, 0.95); /* Dark Slate */
    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: #2c5f58; /* Teal/Green accent */
}
header ul li a.active { opacity: 1; }
header ul li a.active  { font-weight: 600; }

/* --- 3. Hero Section --- */
.hero {
    position: relative;
    background-image: url('images/korzika.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 40, 40, 0.3); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- 4. Stats Container --- */
.stats-container {
    background-color: #2c5f58; /* Green-Teal */
    color: white;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-box {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* --- 5. About Section --- */
.about-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c5f58;
    margin-bottom: 20px;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- 6. Map Section --- */
.map-section {
    background-color: #e9ecef; /* Light Grey */
    padding: 80px 20px;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* --- 7. Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: #2c5f58;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2c5f58;
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #2c5f58;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2c5f58;
    margin-top: 20px;
}

.btn-secondary:hover {
    background-color: #2c5f58;
    color: white;
}

/* --- 8. Footer --- */
footer {
    background-color: #142828;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

/* --- 9. Responsive --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    header {
        justify-content: center;
    }
    
    header ul {
        flex-direction: column;
        align-items: center;
    }
    
    header ul li {
        margin: 5px 0;
    }
}