body {
    margin: 0;
    font-family: 'Arial', 'Helvetica', sans-serif;
    overflow-x: hidden;
}

.navbar {
    background-color: maroon !important;
    border-bottom: 2px solid white;
    border-top: 2px solid white;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;

}

.nav1 {
    animation: slideText2 2s ease-out forwards;
}

.logo1 {
    animation: slideText 2s ease-out forwards;
}

/* Navbar Brand */
.navbar-brand {
    font-size: 1.6rem;
    font-weight: bold;
    color: white !important;
    margin-left: 8px;
}

/* Logo */
.nav-logo {
    width: 75px;
    height: 75px;
    object-fit: cover;
    margin-right: 10px;
    padding: 4px;
}

/* Navigation buttons */
.nav-btn {
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: white;
    border-radius: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-btn:hover {
    background-color: white;
    color: maroon;
    transform: scale(1.05);
    box-shadow: 0 2px 5px white;
}

.nav-btn.active {
    background-color: white;
    color: maroon;
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 2px 5px white;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Sidebar menu (mobile only) */
.sidebar {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background-color: maroon;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: right 0.3s ease;
    z-index: 1050;
}

.sidebar.open {
    right: 0;
}

/* Dark overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1040;
}

.overlay.active {
    display: block;
}

/* Show hamburger + sidebar only on small screens */
@media (max-width: 991.98px) {
    .hamburger {
        display: flex;
    }
}

/* Hide sidebar and overlay on large screens */
@media (min-width: 992px) {

    .sidebar,
    .overlay {
        display: none !important;
    }
}



.gallery {

    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;

}

.page-header {
    background: url('resources/galbg.jpg') center center / cover no-repeat;
    position: relative;
    padding: 100px 0;
    color: maroon;
    border-radius: 10px;
}


.page-header .container {
    position: relative;
    z-index: 1;
}

.gal {
    font-size: 2.5rem;
    font-weight: bold;
    color: maroon;
    margin-top: 40px;
    text-align: center;
    margin-bottom: 0;

}


.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.col-md-6 {
    padding: 10px;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200x, 1fr));
    gap: 5px;

}


.gallery-img {
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    object-fit: cover;
    height: 500px !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Footer start */
.footer {
    color: #999999;
    border-radius: 10px;
    max-width: auto;
    margin-top: 0;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;

}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #ffffff;
    letter-spacing: 1px;
    box-shadow: none;
    font-size: 20px;
}

.footer .btn.btn-square {
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 0;
    line-height: 38px;
}

@media (max-width: 768px) {
    .footer img {
        max-width: 50%;
    }
}

/* Footer copyright section */
.copyright {

    color: white;

    font-size: 14px;

    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid black;

}

.copyright a {

    /* gold/yellow contrast */
    text-decoration: none;
    font-weight: 500;
}



@media (max-width: 768px) {
    .copyright {
        text-align: center;
    }
}