:root {
    --blue: #004fbd;
    --blue-dark: #003a8c;
    --blue-light: #0066e8;
    --text: #ffffff;
    --focus-ring: rgba(255, 255, 255, 0.5);
}

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

/* Improve focus styles for accessibility */
:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--blue);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}


/* Add for screen reader users */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Background Glows - Watermarks */
.background-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow {
    position: absolute;
    width: 70%;
    max-width: 600px;
    opacity: 0.6;
    animation: glow-float 20s ease-in-out infinite;
    filter: blur(0.5px);
}

@keyframes glow-float {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(calc(-50% + 20px), calc(-50% - 30px)) rotate(3deg) scale(1.05);
    }
    50% {
        transform: translate(calc(-50% - 15px), calc(-50% + 40px)) rotate(-2deg) scale(0.95);
    }
    75% {
        transform: translate(calc(-50% + 30px), calc(-50% + 20px)) rotate(4deg) scale(1.02);
    }
}

/* Glow positioning */
.glow-4 {
    top: 70%;
    left: 30%;
    width: 55%;
    max-width: 480px;
    opacity: 0.5;
    animation-delay: -9s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    z-index: 1;
}

.full-bloom-glow {
    color: #F2ACC4;
    text-shadow: 
        0 0 8px rgba(242, 172, 196, 0.4),
        0 0 15px rgba(242, 172, 196, 0.3),
        0 0 20px rgba(189, 94, 115, 0.2);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        text-shadow: 
            0 0 8px rgba(242, 172, 196, 0.4),
            0 0 15px rgba(242, 172, 196, 0.3),
            0 0 20px rgba(189, 94, 115, 0.2);
    }
    50% {
        text-shadow: 
            0 0 12px rgba(242, 172, 196, 0.6),
            0 0 20px rgba(242, 172, 196, 0.4),
            0 0 30px rgba(189, 94, 115, 0.3);
    }
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            135deg,
            rgba(0, 79, 189, 0.7) 0%,
            rgba(0, 79, 189, 0.4) 50%,
            rgba(0, 79, 189, 0.6) 100%
    );
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1.2s ease-out;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.hero .date {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.intro-section {
    text-align: center;
}

.intro-section .content-block {
    max-width: 900px;
    margin: 0 auto;
}

.intro-section .content-block p {
    font-size: clamp(1.3rem, 3vw, 2rem);
    opacity: 0.85;
    line-height: 1.4;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0.7;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Mobile Navigation FAB */
.nav-fab {
    display: none;
}

@media (max-width: 1023px) {
    .nav-fab {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(8px);
        border-radius: 50%;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
        z-index: 1000;
        opacity: 0;
        transition: all 0.3s ease;
        animation: bounceFab 2s ease-in-out infinite;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08);
        pointer-events: none;
    }

    .nav-fab.visible {
        opacity: 0.5;
        pointer-events: auto;
    }

    .nav-fab:hover {
        background: rgba(255, 255, 255, 0.2);
        opacity: 0.8;
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.15);
    }

    .nav-fab:active {
        transform: translateX(-50%) scale(0.95);
    }
}

@keyframes bounceFab {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* Section Styles */
.section {
    position: relative;
    min-height: 50vh;
    padding: 6rem 2rem;
    z-index: 1;
}

/* Smooth background with pseudo-element overlays */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section:nth-child(even)::before {
    background: radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.05) 50%,
            transparent 100%
    );
    opacity: 1;
}

.section:nth-child(odd)::before {
    background: radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(255, 255, 255, 0.02) 50%,
            transparent 100%
    );
    opacity: 1;
}

.section-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.content-block {
    flex: 1;
    max-width: 600px;
}

.image-block {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    width: 100%;
}

/* Typography */
h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.large-text {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.6;
}

a, .contact-mail {
    color: var(--text);
    opacity: 0.75;
    transition: all 0.3s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover, .contact-mail:hover {
    opacity: 1;
    text-underline-offset: 5px;
}

/* Schedule */
.schedule {
    display: grid;
    gap: 0.3rem;
    margin: 1.5rem 0;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.schedule div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.schedule dt {
    font-weight: 500;
    opacity: 0.8;
    min-width: 3rem;
}

.schedule dd {
    margin: 0;
}

/* Prices */
.prices {
    margin-top: 1.5rem;
}

.prices p {
    margin-bottom: 0.8rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--blue);
    font-weight: 500;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 1.5rem;
}

.cta-button:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.95);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-large {
    padding: 1.2rem 3rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 8rem 2rem;
}

.contact-section .section-content {
    position: relative;
}

.full-width {
    max-width: 700px;
}

/* Teacher Section */
.teacher-section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 4rem;
}

.teacher-subsection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.teacher-subsection:last-child {
    margin-bottom: 0;
}

.teacher-image-round {
    width: 100%;
    max-width: 250px;
    flex-shrink: 0;
}

.teacher-image-round img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 8px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.teacher-image-round img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 0 8px rgba(255, 255, 255, 0.15);
}

.teacher-text {
    text-align: center;
    max-width: 600px;
}


.teacher-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.teacher-text p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

.teacher-divider {
    width: 100%;
    max-width: 200px;
    height: 2px;
    background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%
    );
    margin: 3rem auto;
}

/* Program Section */
.program-section {
    padding: 6rem 2rem;
}

.program-section .section-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.program-subsection {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.program-subsection .content-block {
    max-width: 100%;
}

.schedule-subsection h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Location Slideshow */
.location-slideshow {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.slideshow-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide-item.active {
    opacity: 1;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.slide-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-radius: 4px;
}

.slide-prev {
    left: 10px;
}

.slide-next {
    right: 10px;
}

.slide-prev:hover,
.slide-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slide-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Footer */
.footer {
    position: relative;
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    z-index: 1;
}

/* Mobile specific styles */
@media (max-width: 1023px) {
    .hero {
        min-height: 100vh;
    }

    .section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .location-section .content-block,
    .pricing-section .content-block {
        text-align: center;
    }
}

/* Desktop Layout - Alternating Content */
@media (min-width: 1024px) {
    .section {
        padding: 8rem 4rem;
    }

    .section-content {
        flex-direction: row;
        gap: 6rem;
        align-items: center;
    }

    .section-content.reverse {
        flex-direction: row-reverse;
    }

    .section-content.centered {
        flex-direction: column;
    }

    .content-block,
    .image-block {
        flex: 1;
        max-width: none;
    }

    /* Teacher Section Desktop Layout */
    .teacher-section {
        padding: 8rem 4rem;
    }

    .teacher-subsection {
        flex-direction: row;
        gap: 4rem;
        align-items: center;
        margin-bottom: 6rem;
    }

    .teacher-image-round {
        max-width: 280px;
    }

    .teacher-text {
        flex: 1;
        text-align: left;
        max-width: none;
    }

    .teacher-subsection.reverse {
        flex-direction: row-reverse;
    }

    .teacher-divider {
        max-width: 300px;
        margin: 5rem auto;
    }

    /* Program Section Desktop Layout */
    .program-section {
        padding: 8rem 4rem;
    }

    .program-section .section-container {
        flex-direction: row;
        align-items: flex-start;
        max-width: 1400px;
    }

    .program-subsection {
        flex: 1;
        max-width: none;
        margin: 0;
    }

    .program-section .teacher-divider {
        width: 2px;
        height: auto;
        min-height: 300px;
        background: linear-gradient(
                180deg,
                transparent 0%,
                rgba(255, 255, 255, 0.3) 50%,
                transparent 100%
        );
        margin: 0 3rem;
        align-self: stretch;
    }

    /* Location Slideshow Desktop Layout */
    .location-slideshow {
        max-width: 600px;
    }

    .location-section .image-block {
        max-width: 600px;
    }

    /* Stagger animations on scroll */
    .section:nth-child(odd) .content-block {
        animation: slideInLeft 0.8s ease-out;
    }

    .section:nth-child(odd) .image-block {
        animation: slideInRight 0.8s ease-out;
    }

    .section:nth-child(even) .content-block {
        animation: slideInRight 0.8s ease-out;
    }

    .section:nth-child(even) .image-block {
        animation: slideInLeft 0.8s ease-out;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .section {
        padding: 5rem 3rem;
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .hero {
        min-height: 100svh;
        padding: 1.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-content {
        gap: 2rem;
    }

    .image-block {
        min-height: 200px;
    }

    /* Adjust glow sizes for mobile */
    .glow {
        width: 80%;
        max-width: 350px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    h3 {
        margin-top: 1.5rem;
    }

    .schedule {
        font-size: 0.9rem;
    }

    .schedule div {
        gap: 0.5rem;
    }

    .schedule dt {
        min-width: 2.5rem;
    }

    .glow {
        width: 90%;
        max-width: 280px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 3rem 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Location Lightbox Modal */
.location-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.location-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.lightbox-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 8rem);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
    margin-top: 1rem;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Desktop lightbox styles */
@media (min-width: 1024px) {
    .lightbox-container {
        padding: 4rem;
    }
    
    .lightbox-image {
        max-height: calc(100vh - 12rem);
    }
    
    .lightbox-close {
        top: 3rem;
        right: 3rem;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 3rem;
    }
    
    .lightbox-next {
        right: 3rem;
    }
}

/* Mobile lightbox styles */
@media (max-width: 1023px) {
    .lightbox-container {
        padding: 1rem;
    }
    
    .lightbox-image {
        max-height: calc(100vh - 4rem);
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
}

