/* Reset some default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #d3e6d9;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Title Bar */
.title-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(45, 87, 44, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: background-color 0.3s ease;
}

.title-bar:hover {
    background-color: rgba(45, 87, 44, 0.9);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
    transition: border-bottom 0.3s ease;
}

.nav-links a:hover {
    border-bottom: 2px solid white;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.login-button, .logout-button {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    text-align: center;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.login-button:hover, .logout-button:hover {
    background-color: #45a049;
}

/* Full Gallery Section */
.full-gallery-section {
    padding: 80px 20px;
    background-color: #f9fff9;
    text-align: center;
}

.full-gallery-section h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #2d572c;
    position: relative;
}

.full-gallery-section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #4CAF50;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.full-gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 images per row */
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.full-gallery-container .gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.full-gallery-container .gallery-item img {
    width: 100%;
    height: 300px; /* Increased from 200px to 250px */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.full-gallery-container .gallery-item:hover img {
    transform: scale(1.1);
}

.full-gallery-container .gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

/* Back to Gallery Button */
.back-to-gallery-container {
    margin-top: 40px;
}

.back-to-gallery-button {
    background-color: #2d572c;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.back-to-gallery-button:hover {
    background-color: #4CAF50;
    transform: scale(1.05);
}

/* Responsive Adjustments for Full Gallery */
@media screen and (max-width: 992px) {
    .full-gallery-section {
        padding: 60px 15px;
    }

    .full-gallery-container {
        grid-template-columns: repeat(3, 1fr); /* 3 images per row for medium screens */
    }

    .full-gallery-container .gallery-item img {
        height: 230px; /* Increased from 180px */
    }
}

@media screen and (max-width: 768px) {
    .full-gallery-container {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row for smaller screens */
    }

    .full-gallery-container .gallery-item img {
        height: 200px; /* Increased from 160px */
    }
}

@media screen and (max-width: 480px) {
    .full-gallery-section {
        padding: 40px 10px;
    }

    .full-gallery-container {
        grid-template-columns: 1fr; /* 1 image per row for very small screens */
    }

    .full-gallery-container .gallery-item img {
        height: 180px; /* Increased from 140px */
    }
}

/* Footer */
footer {
    background-color: rgba(45, 87, 44, 0.8);
    padding: 20px;
    text-align: center;
    color: white;
}

footer .social-handles a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

footer .social-handles a:hover {
    color: #d3e6d9;
}

footer p {
    margin-top: 10px;
    font-size: 14px;
}
