/* Black Overlay for Background */
body {
    background: url('../assets/bg.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: Tahoma, sans-serif; /* Updated font to Tahoma */
    margin: 0;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Navbar Styling - Light Gray Theme */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f2f2f2; /* Light gray */
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box; /* Ensure padding is included in width */
    border-bottom: 5px solid black; /* Thick black border */
}

.profile-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid black; /* Thick black border */
}

/* Centered Tabs */
.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: black; /* Text color for navbar links */
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
    border-radius: 5px;
}

/* Active Tab Highlight */
.nav-links a.active {
    background: #D32F2F; /* Light gray for active tab */
    color: white; /* Text color for active tab */
    font-weight: bold;
    border: 3px solid black; /* Thick black border */
}

/* Hamburger Menu - Fixed Positioning */
.hamburger {
    display: none;
    font-size: 30px;
    color: black; /* Icon color for hamburger menu */
    cursor: pointer;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #f2f2f2; /* Light gray */
        text-align: center;
        padding: 10px 0;
        box-sizing: border-box; /* Ensure padding is included in width */
        border-bottom: 5px solid black; /* Thick black border */
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* Logo Container */
.logo-container {
    margin-top: 80px; /* Adjusted to avoid overlap with navbar */
    text-align: center;
    z-index: 1; /* Ensure logo is above the background overlay */
}

.site-logo {
    width: 200px; /* Default size for mobile */
    height: auto;
    border-radius: 10px;
}

/* Increase logo size on desktop */
@media (min-width: 768px) {
    .site-logo {
        width: 300px; /* Larger size for desktop */
    }
}

/* Login Box - Bigger & Higher (Red Background) */
.login-container {
    background: #D32F2F; /* Dark red */
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 420px; /* Increased width */
    color: white; /* Text color for login container */
    margin-top: 20px; /* Adjusted spacing */
    box-sizing: border-box; /* Ensure padding is included in width */
    border: 5px solid black; /* Thick black border */
}

/* Input Fields - Uniform Width */
input {
    display: block;
    width: 100%;  /* Full width */
    margin: 15px auto;
    padding: 14px;
    border: 3px solid black; /* Thick black border */
    border-radius: 5px;
    font-size: 18px;
    box-sizing: border-box; /* Ensure padding is included in width */
}

/* Bigger Button */
button {
    width: 100%; /* Full width */
    padding: 14px;
    background: white;
    color: #D32F2F; /* Red text color */
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    box-sizing: border-box; /* Ensure padding is included in width */
    border: 3px solid black; /* Thick black border */
}

button:hover {
    background: #FF6659; /* Light red on hover */
    color: white; /* White text on hover */
}