/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 16px;
}

nav .logo img {
    height: 5rem;
    width: 7rem;
}
.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #007BFF;
}

.login-btn {
    background-color: #007BFF;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #0056b3;
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    position: relative;
}

.modal-img {
    width: 100%;
    height: auto;
}

.modal-caption {
    text-align: center;
    color: #ccc;
    padding: 10px 20px;
}

.modal-caption h3 {
    color: #fff;
    margin-bottom: 10px;
}

.modal-caption p {
    font-size: 1em;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* Modal Transition */
.modal {
    transition: opacity 0.3s ease;
}

.modal-content {
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* Gallery Hero Section */
.gallery-hero {
    background-image: url('../img/gallery-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: #a5a3a3;
}

.gallery-hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.gallery-hero p {
    font-size: 1.5em;
}

/* Gallery Categories Section */
.gallery-categories {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.category-filters {
    text-align: center;
    margin-bottom: 40px;
}

.category-filters .filter-btn {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.category-filters .filter-btn:hover {
    background-color: #0056b3;
}

.category-filters .filter-btn.active {
    background-color: #0056b3;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    width: 300px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 100%;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.2em;
}

.gallery-overlay p {
    font-size: 1em;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

footer h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.quick-links,
.social-links,
.stats,
.newsletter {
    flex: 1;
    min-width: 200px;
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: #007BFF;
}

.social-links a {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a i {
    margin-right: 10px;
    font-size: 1.2em;
}

.social-links a:hover {
    color: #007BFF;
}

.stats p {
    margin-bottom: 10px;
    font-size: 1em;
}

.stats i {
    margin-right: 10px;
    color: #007BFF;
}

.newsletter form {
    display: flex;
    flex-direction: column;
}

.newsletter input {
    padding: 10px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
}

.newsletter button {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter button:hover {
    background-color: #0056b3;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        border-left: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu li a {
        padding: 15px 20px;
        display: block;
        border-bottom: 1px solid #ddd;
    }

    .menu-toggle {
        display: block;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .quick-links,
    .social-links,
    .stats,
    .newsletter {
        text-align: center;
    }

    .gallery-grid {
        justify-content: center;
    }

    .gallery-item {
        width: 45%;
    }

    .category-filters .filter-btn {
        padding: 8px 15px;
        margin: 3px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2.5em;
    }

    .gallery-hero p {
        font-size: 1.2em;
    }

    .gallery-item {
        width: 100%;
    }

    .category-filters .filter-btn {
        padding: 8px 15px;
        margin: 3px;
        font-size: 0.9em;
    }
}

@media (max-width: 576px) {
    .gallery-hero {
        padding: 80px 20px;
    }

    .gallery-hero h1 {
        font-size: 2em;
    }

    .gallery-hero p {
        font-size: 1em;
    }

    .category-filters .filter-btn {
        width: 100%;
        margin: 5px 0;
    }

    .gallery-item {
        width: 100%;
    }

    .newsletter input,
    .newsletter button {
        width: 100%;
    }
}

/* Menu Toggle Active State */
.nav-menu.active {
    display: flex;
}
