:root {
            --navy-blue: #074359;
            --gold: #8B4513;
            --light-gold: #D2B48C;
            --dark-blue: #011225;
            --light-blue: #e6f0ff;
            --white: #ffffff;
            --off-white: #f8f9fa;
            --gray: #6c757d;
            --dark-gray: #343a40;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Times New Roman', Times, serif;
        }

        body {
            background-color: var(--off-white);
            color: var(--dark-gray);
            line-height: 1.6;
        }

        .gal-container {
            max-width: 1300px;
            margin: 2rem auto;
            padding: 0 1.5rem;
            animation: fadeIn 0.5s ease-out;
            margin-top: 150px;
        }

        .page-header {
            text-align: center;
            margin-bottom: 2.5rem;
            position: relative;
        }

        .page-header h1 {
            background: linear-gradient(to bottom, #407284, #ffffff, #407284);
            width: 50%;
            margin-left: 320px;
            border-bottom-right-radius: 50px;
            border-top-left-radius: 50px;
            font-size: 2.8rem;
            margin-bottom: 20px;
            color: var(--primary);
        }

        /* .page-header h1::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gold);
            border-radius: 2px;
        } */

        .page-header p {
            color: var(--gold);
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
        }

        .gallery-section {
            background: var(--white);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 2rem;
            margin-bottom: 2.5rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .gallery-section:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .gallery-title {
            color: var(--navy-blue);
            font-size: 1.8rem;
            margin-bottom: 1rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .gallery-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--gold);
        }

        .image-count {
            color: var(--gray);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        .images-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .image-thumbnail {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .image-thumbnail:hover {
            transform: scale(1.03);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .nav-button {
            display: inline-block;
            padding: 0.7rem 1.5rem;
            background: var(--navy-blue);
            color: var(--white);
            text-decoration: none;
            border-radius: 5px;
            font-weight: 500;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .nav-button:hover {
            background: var(--gold);
            color: var(--navy-blue);
            border-color: var(--navy-blue);
            transform: translateY(-2px);
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            overflow: auto;
            animation: fadeIn 0.3s ease-out;
        }

        .modal.show {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            text-align: center;
        }

        .modal-image {
            max-height: 80vh;
            max-width: 100%;
            border-radius: 8px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
        }

        .modal-caption {
            color: var(--white);
            margin: 1rem 0;
            font-size: 1.2rem;
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            color: var(--white);
            font-size: 3rem;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .close-btn:hover {
            color: var(--gold);
        }

        .nav-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .images-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }

            .page-header h1 {
                font-size: 2.2rem;
                margin-left: 0px;
                width: 100%;
            }

            .gallery-title {
                font-size: 1.5rem;
            }

            .nav-buttons {
                flex-direction: column;
                align-items: center;
            }

            .nav-button {
                width: 100%;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .images-grid {
                grid-template-columns: 1fr;
            }

            .gal-container {
                padding: 0 1rem;
            }

            .gallery-section {
                padding: 1.5rem;
            }
        }