/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px; /* offset for sticky header */
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* === Container === */
.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* === Header & Navigation === */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.logo img {
    max-height: 50px;
}

.nav {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 1.5rem;
}

.nav-list a {
    display: block;
    padding: 0.5rem;
    font-weight: 700;
    transition: background 0.2s ease;
}

.nav-list a:hover {
    background: #effaff;
    border-radius: 4px;
}

/* === Hamburger Menu (mobile) === */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    margin: 5px 0;
    transition: 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0; /* Middle bar disappears */
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === Hero === */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a7bd5, #3a6073);
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === Sections === */
.section {
    background: #fff;
}

.section-alt {
    background: #effaff;
}

.section h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.section p,
.section ul {
    margin-bottom: 1.5rem;
}

.section ul {
    padding-left: 1.2rem;
}

.section ul li {
    margin-bottom: 0.6rem;
}

/* === Footer === */
.footer {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

/* === Map === */
.map-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 ratio */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .nav.open {
        max-height: 300px; /* expand on open */
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-list li {
        margin: 0 0 0.5rem;
    }

    .nav-toggle {
        display: block;
    }
}