/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
}

/* ================= NAVBAR ================= */
.navbar {
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #002244;
    color: white;
    position: relative;
    z-index: 100;
}

/* Logo */
.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
}

.site-title {
    font-size: 1.3rem;
    font-weight: bold;
}

/* Desktop Links */
.nav-links {
    display: flex; /* visible on desktop */
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffde59;
}

/* Burger */
.burger {
    display: none;
    cursor: pointer;
}

.burger-icon {
    height: 30px;
    width: 30px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
     #navLinks {
        position: fixed;
        top: -100%;
        left: 50%;
        transform: translateX(-50%);
        width: 500px;
        background: #002244;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        border-radius: 8px;
        transition: top 0.4s ease;
        gap: 20px;
        z-index: 1000;
    }

    #navLinks.open {
        top: 70px;
    }

    /* Show burger icon */
    .burger {
        display: block;
    }
}


/* ================= POSTS ================= */
.main-container {
    width: 90%;
    max-width: 900px;
    margin: 30px auto;
}

.no-posts {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 50px;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-content {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* ================= RESPONSE FORM ================= */
.response-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.response-form textarea {
    width: 100%;
    min-height: 70px;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    resize: vertical;
    font-size: 0.95rem;
}

.submit-btn {
    background: #004aad;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #003366;
}

/* ================= FOOTER ================= */
.footer {
    background-color: #002244;
    padding: 30px 20px;
    text-align: center;
    color: white;
    margin-top: 4%;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-icon img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s, filter 0.3s;
}

.social-icon img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px white);
}

.footer-copy {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .nav-links a {
        font-size: 16px;
    }

    .response-form textarea {
        min-height: 60px;
    }
}
