/* ---------------------------- External CSS File --------------------------- */
* {
    box-sizing: border-box;
    /* Global Font Settings*/
    font-family: 'Fira Code', monospace;
    font-weight: 400; /* Standard weight */
    text-decoration: none;

}

/* ----------------------------- General Styles ----------------------------- */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Color - Monokai Grey */
    background-color: #756a6a;
    margin: 0;
    transition: transform 0.3s ease; /* For the body slide effect */
}

header {
    display: flex;
    align-items: center; /* Vertically center logo and navbar */
    justify-content: space-between;
    max-height: 80px;
    padding: 10px 20px;
    position: fixed;
    background-color: #000000;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

footer {
    margin: 0;
}

.current {
    color: #b45c00;
}

.footnote {
    display: flex;
    width: 100vw;
    height: 28.5px;
    margin-top: auto;
    justify-content: center;
    padding: 0px 0px 10px 0px; /* 15px top/bottom, 2% left/right */
    position: fixed;
}

/* ----------------------------- Navigation Bar ----------------------------- */
.navbar_container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between; /* Distribute space between logo and nav/hamburger */
}

/* Logo and Title */
.navbar_logo {
    display: flex;
    align-items: center;
}

.navbar_logo img {
    width: 80px; ;
    height: auto; /* Adjust as needed */
    margin-right: 10px;
}

.navbar_title {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
}

/* Hamburger Button */
.hamburger-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    display: block; /* Always show the hamburger button */
    z-index: 1001; /* Ensure it's above most other elements */
    position: relative; /* Z-index only works on positioned elements */
}

/* Navigation Links (Desktop) */
.navbar {
    display: none; /* Always hide the desktop navigation */
    align-items: center;
}

.navbar_links {
    display: flex;
    list-style: none;
    align-items: center; /* Centers elements vertically */
    margin: 0;
    padding: 0;
}

.navbar_links li {
    position: relative; /* Make dropdown positioning relative to parent */
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
}

.navbar_links li a {
    color: #cdc3b6;
    display: block; /* Ensures parent menu items have a larger clickable area */
    padding: 10px 15px;
    transition: all 0.3s ease 0s; /* Smooths transition of colors */
}

.navbar_links li a:hover {
    color: #C5444A;
}

/* Dropdown menu styles (Desktop) */
.navbar_dropdown {
    position: absolute; /* Positioned relative to the parent <li> */
    top: 100%; /* Aligns dropdown below the parent item */
    left: 0;
    background-color: #000000; /* Matches the navbar background */
    padding: 10px 0;
    display: none; /* Hidden by default */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 150px; /* Ensures dropdown has a consistent width */
}

.navbar_links li:hover > .navbar_dropdown {
    display: block; /* Show the dropdown menu */
}

.navbar_dropdown li {
    padding: 8px 20px;
    white-space: nowrap; /* Prevents text wrapping */
}

.navbar_dropdown li a {
    color: #cdc3b6;
    font-size: 14px;
    display: block; /* Makes the link take full width */
    transition: all 0.3s ease 0s;
}

.navbar_dropdown li a:hover {
    color: #C5444A;
}

/* Hide bullets and add alignment */
.navbar_links li ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ----------------------------- Side Navigation Bar ----------------------------- */
.side-navbar {
    position: fixed;
    top: 0;
    right: -250px; /* Start off-screen on the right */
    width: 250px;
    height: 100%;
    background-color: #1a1a1a;
    padding-top: 80px; /* Account for the fixed header */
    transition: right 0.3s ease; /* Transition for right property */
    z-index: 1100; /* Higher than header */
    overflow-y: auto; /* In case the menu is long */
}

.side-navbar.open {
    right: 0; /* Slide in from the right */
    left: auto; /* Ensure it doesn't try to come from the left as well */
}

.side-navbar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-navbar-links li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #f1f1f1;
    transition: background-color 0.3s ease;
}

.side-navbar-links li a:hover {
    background-color: #333;
}

.side-navbar-dropdown {
    list-style: none;
    padding-left: 20px;
    margin: 0;
    display: none;
    background-color: #2c2c2c;
}

.side-navbar-links li.dropdown.open > .side-navbar-dropdown {
    display: block;
}

.side-navbar-links li.dropdown > a::after {
    content: '\f078'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    margin-left: 5px;
}

.side-navbar-links li.dropdown.open > a::after {
    content: '\f077'; /* Font Awesome up arrow */
}

/* ----------------------------- Media Queries ----------------------------- */
/* Media queries for showing/hiding nav elements are no longer needed */

/* -------------------------------------------------------------------------- */

/* Gallery Section Styles */
.gallery-container {
    margin: 90px 5% 50px 5%; /* Adjusted top margin for fixed header */
}

.gallery-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0a0a0a;
    font-size: 24px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap; /* Makes items wrap to the next row */
    gap: 20px; /* Adds spacing between items */
    justify-content: center;
}

.gallery-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 250px;
    width: 100%;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 50%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.gallery-item h3 {
    color: #444444;
    font-size: 18px;
    margin: 10px 0;
}

.gallery-item p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 15px;
}

.gallery-item .infoBtn {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-item .infoBtn:hover {
    background-color: #4cae4c;
}

.gallery-item .infoBtn a {
    color: white;
    text-decoration: none;
}