* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #fffacd 100%);
    color: #2c3e50;
    overflow-x: hidden;
    position: relative;
}

/* Animated light particles background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 200, 100, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(100, 200, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 100, 200, 0.1) 0%, transparent 50%);
    animation: lightShift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes lightShift {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Floating geometric shapes */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(100, 150, 255, 0.05) 49%, rgba(100, 150, 255, 0.05) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 150, 100, 0.05) 49%, rgba(255, 150, 100, 0.05) 51%, transparent 52%);
    background-size: 100px 100px;
    animation: shapeSlide 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes shapeSlide {
    0% {
        background-position: 0 0, 0 0;
    }

    100% {
        background-position: 100px 100px, -100px 100px;
    }
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Header with Navigation and Branding */
header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4, #a29bfe) 1;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-branding {
    flex: 1;
    min-width: 200px;
}

.site-title a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 25%, #6bcf7f 50%, #4ecdc4 75%, #a29bfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background-size: 200% auto;
    animation: rainbowShift 5s linear infinite;
}

@keyframes rainbowShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.site-title a:hover {
    filter: brightness(1.2);
}

.site-tagline {
    font-size: 0.85rem;
    color: #7f8c8d;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

/* Navigation Menu */
#menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

#menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

#menu li {
    margin: 0 1rem;
    font-size: 1rem;
    line-height: 2.5rem;
    position: relative;
}

#menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    transition: width 0.4s ease;
    border-radius: 3px;
}

#menu li:hover::after {
    width: 100%;
}

#menu a {
    text-decoration: none;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#menu li:hover a {
    color: #ff6b6b;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 250, 205, 0.6) 100%);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 25%, #6bcf7f 50%, #4ecdc4 75%, #a29bfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    background-size: 200% auto;
    animation: rainbowShift 5s linear infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Pride SVG Icon */
.pride-svg {
    width: 100%;
    height: 150px;
    margin-top: 3rem;
}

/* Content Sections */
.pride-content {
    max-width: 1600px;
    margin: 3rem auto;
    padding: 0 2rem 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b6b 0%, #a29bfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 4rem 0 3rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Photo Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Photo Card */
.photo-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    isolation: isolate;
    z-index: 1;
}

.photo-card:hover {
    transform: translateY(-15px) scale(1.02);
    z-index: 10;
}

/* Rainbow gradient border */
.card-border {
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4, #a29bfe, #fd79a8);
    border-radius: 20px;
    padding: 3px;
    transition: all 0.5s ease;
}

.photo-card:hover .card-border {
    padding: 5px;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.4);
}

/* Image Container */
.photo-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    background: white;
}

/* Portrait orientation - manually add this class to portrait images */
.photo-image-wrapper.portrait {
    aspect-ratio: 3/4;
}

/* Subtle overlay */
.photo-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 70%,
            rgba(255, 255, 255, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.photo-card:hover .photo-image-wrapper::before {
    opacity: 0.2;
}

.photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
    filter: saturate(1.3) contrast(1.1) brightness(1.05);
}

.photo-card:hover .photo-image {
    transform: scale(1.1);
    filter: saturate(1.5) contrast(1.15) brightness(1.1);
}

/* Year Badge */
.year-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 205, 0.95));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b6b 0%, #a29bfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.photo-card:hover .year-badge {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.3);
}

/* Decorative corner elements */
.corner-decoration {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 4;
    pointer-events: none;
    transition: all 0.4s ease;
}

.corner-top-left {
    top: 1rem;
    left: 1rem;
    border-top: 3px solid #ff6b6b;
    border-left: 3px solid #ffd93d;
    border-radius: 12px 0 0 0;
}

.corner-bottom-right {
    bottom: 1rem;
    right: 1rem;
    border-bottom: 3px solid #6bcf7f;
    border-right: 3px solid #4ecdc4;
    border-radius: 0 0 12px 0;
}

.photo-card:hover .corner-decoration {
    width: 65px;
    height: 65px;
}

/* Footer with Language Selector */
footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 205, 0.95) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4, #a29bfe) 1;
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    position: relative;
}

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

.footer-title {
    font-size: 1.2rem;
    color: #2c3e50;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

#langlist {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 0.5rem;
    border: 2px solid rgba(255, 107, 107, 0.3);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#langlist li {
    display: inline-block;
    list-style: none;
    margin: 0.3rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

#langlist a {
    text-decoration: none;
    color: #7f8c8d;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

#langlist .highlight {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

#langlist .highlight a {
    color: #ffffff;
    font-weight: bold;
}

#langlist li:not(.highlight):hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

#langlist li:not(.highlight):hover a {
    color: #ff6b6b;
}

.footer-credits {
    color: #7f8c8d;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 2rem;
    font-weight: 500;
}

.footer-credits strong {
    color: #2c3e50;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.licence {
    text-align: center;
    margin-top: 2rem;
}

.licence img {
    max-width: 88px;
    height: auto;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .site-branding {
        margin-bottom: 1rem;
    }

    #menu {
        justify-content: center;
    }

    #menu ul {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .photo-card {
        height: 320px;
    }
}

@media screen and (max-width: 600px) {
    .site-title a {
        font-size: 1.5rem;
    }

    .site-tagline {
        font-size: 0.75rem;
    }

    #menu li {
        margin: 0 0.5rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .photo-card {
        height: 300px;
    }

    .year-badge {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}
