/* Global */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* Header */
header {
    background: #111827;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Navigation */
nav {
    background: #1f2937;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
}
@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        text-align: center;
    }
    nav.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}

/* Homepage Hero */
.hero {
    height: 300px;
    background: linear-gradient(to right, #0ea5e9, #10b981, #f59e0b);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

/* Layout */
.container,
.containerd {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}
.containerd {
    border: 1px solid red;
}

/* Card */
.post-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Links */
a {
    text-decoration: none;
    color: #0ea5e9;
}

/* Page (About / Contact / Privacy) */
.page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}
.page-container h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #111827;
}
.page-container h2 {
    margin-top: 25px;
    color: #1f2937;
}
.page-container p,
.page-container li {
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    margin-top: 20px;
}
.contact-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
    color: #111827;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}
.contact-form textarea {
    height: 150px;
}
.contact-form button {
    background: #0ea5e9;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.3s;
}
.contact-form button:hover {
    background: #0284c7;
}

/* NAVBAR */
.navbar {
    background: #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

/* LOGO */
.navbar .logo {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

/* NAV LINKS — Desktop */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* HAMBURGER BUTTON — hidden on desktop */
.hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
}

/* MOBILE */
@media (max-width: 768px) {

    /* show hamburger */
    .hamburger {
        display: flex;
    }

    /* hide nav on mobile by default */
    .nav-links {
        display: none;
        flex-direction: column;
        background: #1f2937;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 15px;
        border-radius: 0 0 0 10px;
    }

    /* when active (from JS), show it */
    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px;
        display: block;
        border-bottom: 1px solid #333;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}
