/* Global Styling */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode {
    background-color: #f8f9fa;
    color: #212529;
}

body.dark-mode {
    background-color: #212529;
    color: #f8f9fa;
}

/* Navbar Styling */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand .logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #007bff;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

#theme-toggle {
    transition: all 0.3s ease;
}

/* Gallery Header */
.gallery-header {
    background: linear-gradient(135deg, #1a1a1a, #343a40);
}

.gallery-header h1 {
    font-size: 3rem;
    font-weight: bold;
}

/* Category Tabs */
.category-tabs .btn {
    transition: all 0.3s ease;
}

.category-tabs .btn:hover,
.category-tabs .btn.active {
    background-color: #007bff;
    color: #fff;
}

/* Photo Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.5rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .caption {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* Video Gallery */
.video-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.video-item iframe,
.video-item video {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

.video-item .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-item:hover .play-overlay {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-header h1 {
        font-size: 2rem;
    }

    .gallery-item img,
    .video-item iframe,
    .video-item video {
        height: 150px;
    }
}

/* Footer Styling */
footer {
    background-color: #1a2526; /* Matches the dark background in the image */
}

footer h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer .footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-link:hover {
    color: #007bff;
}

footer .footer-link i {
    margin-right: 8px;
}

footer p {
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    footer .col-md-3 {
        margin-bottom: 2rem;
    }
}

/* Marquee */
.marquee {
    width: 100%;
    overflow: hidden;
    background: #1a2526;
    color: #ffd700; /* Yellow text on dark background */
    padding: 1.5rem 1;
    font-size: 4.5rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.footer-marquee .marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 13s linear infinite; /* Slower speed */
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}