/* General body styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f0f0f0;
    padding: 0;
    box-sizing: border-box;
}

/* Header styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px; /* Set header height */
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Top bar styling */
#top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    max-height: 40px;
    width: auto;
}

/* Menu toggle (hamburger) for mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-icon {
    font-size: 30px;
    color: white;
}

/* Top bar right items styling */
.top-bar-right {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-bar-right li {
    margin-left: 20px;
}

.top-bar-right a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.top-bar-right a:hover {
    text-decoration: underline;
}

/* Home cover section */
#home-cover {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('/assets/cover.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}



/* Mobile styling */
@media (max-width: 768px) {
    #home-cover {
        background-attachment: scroll;
        background-size: cover; /* Ensure the image covers the entire section */
        background-position: center center; /* Center the image */
    }
}

#home-cover-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    animation: slide 30s infinite alternate;
}

@keyframes slide {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

/* Content in the home cover */
#home-cover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

#home-cover-content h1 {
    font-size: 3em;
    margin: 0;
}

#home-cover-content p {
    font-size: 1.2em;
    margin: 20px 0;
}

/* Buttons in the home cover */
.home-buttons .btn {
    background-color: #28a745;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.home-buttons .btn:hover {
    background-color: #218838;
}

/* Footer styling */
#powered-by {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    #home-cover-content h1 {
        font-size: 2.5em;
    }

    #home-cover-content p {
        font-size: 1em;
    }

    /* Hide menu on smaller screens */
    .top-bar-right {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.9); /* Panel background */
        padding: 20px 0; /* Add spacing */
        position: absolute;
        top: 55px; /* Push the menu down below the header */
        left: 0;
        z-index: 999;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    /* Ensure spacing between menu items */
    .top-bar-right li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block; /* Show menu toggle on smaller screens */
    }
}

@media (max-width: 480px) {
    #home-cover-content h1 {
        font-size: 2em;
    }

    #home-cover-content p {
        font-size: 0.9em;
    }
}