 :root {
            --color-primary: #ec95aa;
            --color-secondary: #c57590;
            --color-white: #ffffff;
            --color-shadow-primary: rgba(236, 149, 170, 0.3);
            --color-border: rgba(236, 149, 170, 0.5);
            --color-border-hover: rgba(236, 149, 170, 0.6);
            --color-overlay: rgba(0, 0, 0, 0.85);
        }

        .gallery-container {
            width: 100%;
            height: 100%;
            padding: 5px;
            background: transparent;
            overflow-y: auto;
        }

        .year-section {
            margin-bottom: 30px;
        }

        .year-header {
            background: var(--color-primary);
            color: var(--color-white);
            padding: 10px 15px;
            border-radius: 8px;
            margin-bottom: 15px;
            font-size: 18px;
            font-weight: 600;
            text-align: center;
            box-shadow: 0 2px 8px var(--color-shadow-primary);
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 12px;
            width: 100%;
            margin-bottom: 20px;
        }

        .gallery-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            background: rgba(255,255,255,0.8);
            border: 1px solid var(--color-border);
            cursor: pointer;
            transition: all 0.3s ease;
            aspect-ratio: 1;
        }

        .gallery-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px var(--color-shadow-primary);
            border-color: var(--color-primary);
        }

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

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

        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--color-overlay);
            backdrop-filter: blur(5px);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .lightbox.active {
            display: flex;
            animation: fadeIn 0.3s ease;
        }

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

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            background: rgba(255,255,255,0.95);
            border-radius: 12px;
            padding: 15px;
            border: 2px solid var(--color-border-hover);
            animation: slideUp 0.4s ease;
        }

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

        .lightbox-content img {
            max-width: 100%;
            max-height: 60vh;
            border-radius: 8px;
            display: block;
            margin: 0 auto;
        }

        .lightbox-close {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 30px;
            height: 30px;
            background: var(--color-primary);
            border: 2px solid var(--color-white);
            border-radius: 50%;
            color: var(--color-white);
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px var(--color-shadow-primary);
        }

        .lightbox-close:hover {
            background: var(--color-secondary);
            transform: scale(1.1);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            background: rgba(255,255,255,0.9);
            border: 2px solid var(--color-primary);
            border-radius: 50%;
            color: var(--color-primary);
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-nav:hover {
            background: var(--color-primary);
            color: var(--color-white);
            transform: translateY(-50%) scale(1.1);
        }

        .lightbox-prev {
            left: -50px;
        }

        .lightbox-next {
            right: -50px;
        }

        .lightbox-info {
            text-align: center;
            margin-top: 10px;
            color: var(--color-primary);
            font-size: 14px;
            font-weight: 500;
        }

        /* Responsive adjustments for iframe */
        @media (max-width: 600px) {
            .gallery-container {
                padding: 15px;
            }

            .gallery {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 10px;
            }

            .lightbox-nav {
                display: none;
            }

            .lightbox-content {
                padding: 12px;
            }
        }

        @media (max-width: 400px) {
            .gallery {
                grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
                gap: 8px;
            }
        }

        /* Ensure iframe compatibility */
        html, body {
            border: none;
            outline: none;
        }