/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f5f5f5;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

header h1 {
    display: inline-block;
    margin-left: 1rem;
    font-weight: 700;
    font-size: 1.8rem;
}

nav {
    display: inline-block;
    float: right;
    margin-right: 1rem;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #1abc9c;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background-color: #fff;
}

.section:nth-child(odd) {
    background-color: #ecf0f1;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
}

.section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #34495e;
    text-align: center;
}

.section p, .section ul {
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    color: #555;
}

.section ul {
    list-style: disc inside;
}

/* Images */
img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* Buttons (optional modern touch for links in future) */
button, a.button {
    display: inline-block;
    background-color: #1abc9c;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button:hover, a.button:hover {
    background-color: #16a085;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        float: none;
        text-align: center;
        margin-top: 1rem;
    }

    nav ul li {
        display: block;
        margin: 0.5rem 0;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .section p, .section ul {
        font-size: 0.95rem;
    }
}

/* Responsive mobile menu */
@media (max-width: 768px) {
    nav {
        float: none;
        text-align: center;
        margin-top: 1rem;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        display: block;
        margin: 0.5rem 0;
    }

    nav ul li a {
        display: block;
        padding: 0.7rem 0;
        background-color: #34495e;
        color: white;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }

    nav ul li a:hover {
        background-color: #1abc9c;
        color: white;
    }
}

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

/* Hamburger menu button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.menu-toggle span {
    height: 4px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
}

/* Mobile styles */
/* Mobile styles */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    nav ul li a {
        display: block;
        padding: 0.7rem 0;
        background-color: #34495e;
        color: white;
        border-radius: 8px;
        text-align: center;
        transition: background-color 0.3s ease;
    }

    nav ul li a:hover {
        background-color: #1abc9c;
    }

    .menu-toggle {
        display: flex;
        order: 2; /* on the right */
    }

    /* Hide header text and menu toggle when menu is active */
    .header-container.menu-open h1,
    .header-container.menu-open .menu-toggle {
        display: none;
    }
}

/* Show menu when active */
nav.active {
    display: block;
}


/* Active menu (when toggled) */
nav.active {
    display: block;
}


/* Desktop images */
@media (min-width: 769px) {
    .section img {
        width: 70%;
        display: block;
        margin: 1rem auto; /* center horizontally */
    }
}

