/* --- Color Variables --- */
        :root {
            --bg-dark-teal: #0e2a32;
            --text-cream: #f5e6c8;
            --accent-gold: #d4af37;
            --card-shadow: rgba(0, 0, 0, 0.4);
        }

        /* --- Global Styles --- */
        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-dark-teal);
            margin: 0;
            padding: 0;
            color: var(--text-cream);
        }

        /* --- Gallery Section Container --- */
        .gallery-section {
            padding: 80px 20px;
            width: 85%;
            margin: 0 auto;
            text-align: center;
            border-top: 2px solid #d4af37;
        }

        /* --- Section Header --- */
        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--accent-gold);
            margin-bottom: 15px;
        }

        .section-header p {
            font-size: 1.125rem;
            margin-bottom: 50px;
            color: var(--text-cream);
        }
        
        /* --- Gallery Grid --- */
        .gallery-grid {
            display: grid;
            gap: 25px; /* Spacing between images */
            grid-template-columns: repeat(1, 1fr); /* Default: 1 column for mobile */
        }

        /* Tablet Layout (2 columns) */
        @media (min-width: 640px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Larger Tablets/Desktops (4 columns) */
        @media (min-width: 1024px) {
            .gallery-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        /* --- Gallery Item (Image Card) --- */
        .gallery-item {
            background-color: var(--bg-dark-teal);
            border: 1px solid rgba(212, 175, 55, 0.3); /* Light gold border */
            border-radius: 12px;
            overflow: hidden; /* Ensures image corners are rounded */
            box-shadow: 0 4px 8px var(--card-shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex; /* For consistent sizing of images if they differ slightly */
            flex-direction: column; /* Stacks image and potential caption */
        }

        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 20px var(--card-shadow);
        }

        .gallery-item img {
            width: 100%;
            height: 400px; /* Fixed height for consistency */
            object-fit: cover; /* Ensures images cover the area without distortion */
            display: block; /* Removes extra space below image */
        }

        .gallery-item-caption {
            padding: 15px;
            color: var(--text-cream);
            font-size: 0.95rem;
            font-weight: 400;
            background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background for caption */
        }