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

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg,
            #fff5f8 0%,
            #ffe4f0 15%,
            #e8f5e9 30%,
            #fff9c4 45%,
            #f3e5f5 60%,
            #e1f5fe 75%,
            #fff3e0 90%,
            #fce4ec 100%);
    background-size: 400% 400%;
    animation: flowerGradient 20s ease infinite;
    color: #2d3436;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

@keyframes flowerGradient {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating petal particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(255, 107, 129, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(255, 193, 7, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 45% 75%, rgba(156, 39, 176, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 75% 85%, rgba(76, 175, 80, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 25% 55%, rgba(255, 152, 0, 0.12) 0%, transparent 50%);
    animation: petalFloat 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes petalFloat {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.15) rotate(5deg);
    }
}

/* Geometric flower patterns */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 80px, rgba(255, 107, 129, 0.03) 80px, rgba(255, 107, 129, 0.03) 160px),
        repeating-linear-gradient(-45deg, transparent, transparent 80px, rgba(156, 39, 176, 0.03) 80px, rgba(156, 39, 176, 0.03) 160px);
    animation: patternShift 40s linear infinite;
    pointer-events: none;
    z-index: 0;
}

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

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

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

/* Header with Navigation and Branding */
header {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg,
            #ff6b81, #ffd93d, #6bcf7f, #9c27b0, #ff9800, #e91e63) 1;
    padding: 1.8rem 2.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 6px 40px rgba(156, 39, 176, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.site-title a {
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg,
            #ff6b81 0%,
            #ffd93d 20%,
            #6bcf7f 40%,
            #9c27b0 60%,
            #ff9800 80%,
            #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    background-size: 300% auto;
    animation: bloomShift 6s linear infinite;
    display: inline-block;
}

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

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

.site-title a:hover {
    filter: brightness(1.3);
    transform: scale(1.05);
}

.site-tagline {
    font-size: 0.95rem;
    color: #636e72;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* 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 1.2rem;
    font-size: 1.05rem;
    line-height: 2.8rem;
    position: relative;
}

#menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b81, #9c27b0, #ff9800);
    transition: width 0.5s ease;
    border-radius: 4px;
}

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

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

#menu li:hover a {
    background: linear-gradient(135deg, #ff6b81, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6rem 2rem 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 240, 245, 0.7) 50%,
            rgba(243, 229, 245, 0.7) 100%);
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    background: linear-gradient(135deg,
            #e91e63 0%,
            #ff6b81 20%,
            #ffd93d 40%,
            #6bcf7f 60%,
            #9c27b0 80%,
            #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 10px;
    background-size: 300% auto;
    animation: bloomShift 6s linear infinite;
    text-shadow: 0 0 40px rgba(156, 39, 176, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #636e72;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Animated SVG Flowers */
.flower-svg {
    width: 100%;
    height: 180px;
    margin-top: 3.5rem;
}

/* Content Sections */
.flower-content {
    max-width: 1800px;
    margin: 4rem auto;
    padding: 0 2rem 5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b81 0%, #9c27b0 50%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 5rem 0 3.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #ff6b81, #9c27b0, #ff9800);
    border-radius: 10px;
}

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

/* Photo Card */
.photo-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    isolation: isolate;
    z-index: 1;
}

.photo-card:hover {
    transform: translateY(-20px) scale(1.03) rotate(-1deg);
    z-index: 15;
}

/* Vibrant flower gradient border */
.card-border {
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg,
            #ff6b81, #ffd93d, #6bcf7f, #9c27b0, #ff9800, #e91e63, #00bcd4);
    background-size: 400% 400%;
    animation: flowerBorderShift 8s ease infinite;
    border-radius: 25px;
    padding: 4px;
    transition: all 0.6s ease;
}

@keyframes flowerBorderShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.photo-card:hover .card-border {
    padding: 6px;
    box-shadow:
        0 25px 70px rgba(156, 39, 176, 0.35),
        0 0 60px rgba(255, 107, 129, 0.25);
    animation: flowerBorderShift 4s ease infinite;
}

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

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



/* Subtle overlay with bloom effect */
.photo-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%,
            transparent 0%,
            transparent 60%,
            rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

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

.photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: saturate(1.4) contrast(1.1) brightness(1.08);
}

.photo-card:hover .photo-image {
    transform: scale(1.15) rotate(2deg);
    filter: saturate(1.6) contrast(1.2) brightness(1.12);
}

/* Location Badge */
.location-badge {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    z-index: 5;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 240, 245, 0.98));
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 129, 0.4);
    box-shadow: 0 10px 35px rgba(156, 39, 176, 0.2);
    transition: all 0.4s ease;
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b81 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.photo-card:hover .location-badge {
    transform: scale(1.12) translateY(-5px);
    box-shadow: 0 15px 45px rgba(255, 107, 129, 0.4);
    border-color: rgba(156, 39, 176, 0.6);
}

/* Decorative petal corners */
.petal-decoration {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 4;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.7;
}

.petal-top-left {
    top: 1.2rem;
    left: 1.2rem;
    border-top: 4px solid #ff6b81;
    border-left: 4px solid #ffd93d;
    border-radius: 15px 0 0 0;
}

.petal-bottom-right {
    bottom: 1.2rem;
    right: 1.2rem;
    border-bottom: 4px solid #9c27b0;
    border-right: 4px solid #ff9800;
    border-radius: 0 0 15px 0;
}

.photo-card:hover .petal-decoration {
    width: 75px;
    height: 75px;
    opacity: 1;
}

.photo-card:hover .petal-top-left {
    border-top-color: #e91e63;
    border-left-color: #ff6b81;
}

.photo-card:hover .petal-bottom-right {
    border-bottom-color: #6bcf7f;
    border-right-color: #00bcd4;
}

/* Portrait mode adjustment */
.portrait .photo-image {
    object-fit: contain;
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
}

/* Footer with Language Selector */
footer {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 240, 245, 0.95) 50%,
            rgba(243, 229, 245, 0.95) 100%);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border-top: 4px solid;
    border-image: linear-gradient(90deg,
            #ff6b81, #ffd93d, #6bcf7f, #9c27b0, #ff9800, #e91e63) 1;
    padding: 3.5rem 2rem;
    margin-top: 5rem;
    text-align: center;
    position: relative;
}

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

.footer-title {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #ff6b81, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 900;
}

#langlist {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 60px;
    padding: 0.7rem;
    border: 3px solid rgba(255, 107, 129, 0.3);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(15px);
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(156, 39, 176, 0.15);
}

#langlist li {
    display: inline-block;
    list-style: none;
    margin: 0.4rem;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#langlist a {
    text-decoration: none;
    color: #636e72;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 1px;
}

#langlist .highlight {
    background: linear-gradient(135deg, #ff6b81 0%, #9c27b0 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 129, 0.4);
}

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

#langlist li:not(.highlight):hover {
    background: linear-gradient(135deg,
            rgba(255, 107, 129, 0.15),
            rgba(156, 39, 176, 0.15));
    transform: translateY(-4px) scale(1.05);
}

#langlist li:not(.highlight):hover a {
    background: linear-gradient(135deg, #ff6b81, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-credits {
    color: #636e72;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-top: 2.5rem;
    font-weight: 600;
}

.footer-credits strong {
    background: linear-gradient(135deg, #ff6b81 0%, #9c27b0 50%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

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

.licence img {
    max-width: 88px;
    height: auto;
    transition: transform 0.3s ease;
}

.licence img:hover {
    transform: scale(1.1);
}

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

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

    .site-title a {
        font-size: 2rem;
    }

    #menu {
        justify-content: center;
    }

    #menu ul {
        justify-content: center;
    }

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

    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 5px;
    }

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

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

    .photo-card {
        }
}

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

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

    #menu li {
        margin: 0 0.6rem;
        font-size: 0.9rem;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 3px;
    }

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

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

    .photo-card {
        }

    .location-badge {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}
