
/* ================================
   RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================
   GLOBAL BASE
================================ */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.5;
}

h1, h2, h3, h4 {
    color: #063843;
    font-weight: 700;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================
   LAYOUT CONTAINER
================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ================================
   BUTTONS
================================ */
.cta-button {
    display: inline-block;
    background-color: #067236;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #055a2c;
}

.btn-secondary {
    display: inline-block;
    background-color: #063843;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
}

/* ================================
   HEADER
================================ */
header {
    background-color: #063843;
    color: white;
    padding: 15px 20px;
    text-align: center;
}

/* ================================
   FOOTER
================================ */
footer {
    background-color: #063843;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer ul {
    list-style: none;
}

footer ul li {
    display: inline-block;
    margin: 0 10px;
}

/* ================================
   FORMS
================================ */
form {
    max-width: 500px;
    margin: 30px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

input[type="submit"] {
    background-color: #067236;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #045a2a;
}
/* ================================
   GLOBAL CARD SYSTEM
================================ */

.card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 6px;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* ================================
   NAVBAR
================================ */

.navbar {
    background: #067236 !important;
    color: #ffffff !important;

    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.navbar-logo {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Links container */
.navbar-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Links */
.navbar-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar-links a:hover {
    background: rgba(255,255,255,0.15);
}

/* Admin link (slightly separated) */
.admin-link {
    margin-left: 20px;
    opacity: 0.8;
}

/* ================================
   NAVBAR MOBILE
================================ */

@media (max-width: 768px) {

    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-toggle {
        display: block;
        margin-bottom: 10px;
    }

    /* Smooth dropdown */
    .navbar-links {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        width: 100%;
        transition: max-height 0.3s ease;
    }

    .navbar-links.active {
        max-height: 300px;
    }

    .navbar-links a {
        padding: 10px 0;
        width: 100%;
    }
}

/* ================================
   HAMBURGER MENU
================================ */

/* Hide button on desktop */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {

    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Show hamburger */
    .navbar-toggle {
        display: block;
        margin-bottom: 10px;
    }

    /* Hide links by default */
    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    /* Show when active */
    .navbar-links.active {
        display: flex;
    }

    .navbar-links a {
        padding: 10px 0;
        width: 100%;
    }
}

/* ================================
   MOBILE CONTAINER FIX
================================ */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .card {
        padding: 16px;
    }
}
