/* styles.css - GUARANTEED WORKING VERSION */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 60px; /* Prevents content from hiding under fixed navbar */
}

/* ========= NAVBAR ========= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Desktop Menu */
.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.menu a:hover {
    text-decoration: underline;
}

.menu a.active {
    font-weight: bold;
    color: #007BFF;
    background-color: white;
    border-radius: 5px;
}

/* Hamburger Button - Hidden on Desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px 10px;
}

/* ========= MOBILE STYLES ========= */
@media (max-width: 768px) {
    body {
        padding-top: 50px; /* Reduced for mobile */
    }
    
    /* Force navbar to wrap */
    .navbar {
        flex-wrap: wrap;
        padding: 5px 10px;
    }
    
    /* Show hamburger */
    .hamburger {
        display: block;
        order: 1; /* Puts it to the right */
    }
    
    /* Hide regular menu by default */
    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        order: 2; /* Puts below logo/hamburger */
    }
    
    /* Show menu when active */
    .menu.active {
        display: flex;
    }
    
    /* Style mobile menu links */
    .menu a {
        padding: 12px 5px;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Active state for mobile */
    .menu a.active {
        background-color: rgba(255,255,255,0.9);
    }
}

/* ========= CONTENT STYLES ========= */
.content {
    padding: 20px;
}

.general-section {
    display: flex;
    margin: 20px 0;
    padding: 20px 0;
}

.general-section .left {
    flex: 0 0 20%;
    text-align: center;
    padding-right: 20px;
}

.general-section .left img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.general-section .right {
    flex: 1;
    padding-left: 20px;
}

/* Mobile layout for sections */
@media (max-width: 768px) {
    .general-section {
        flex-direction: column;
    }
    .general-section .left {
        flex: 1;
        padding-right: 0;
        margin-bottom: 15px;
    }
}

/* ========= UTILITY STYLES ========= */
h1, h2 {
    color: #007BFF;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.5rem; }

.separator {
    border: 1px solid #007BFF;
    margin: 20px 0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
}
.button:hover {
    background-color: #0056b3;
}