/*
 * Modern Design for Marina Skulditskaya - Handstand & Hula Hoop Artist
 * Elegant, professional, performance-focused design
 */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #e5007e;
    --primary-light: #ff3399;
    --primary-dark: #b3005f;
    --bg-dark: #0f0f0f;
    --bg-darker: #000000;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --text-gray: #d0d0d0;
    --text-muted: #999999;
    --accent-gradient: linear-gradient(135deg, #e5007e 0%, #ff1493 100%);
    --shadow-soft: 0 2px 10px rgba(229, 0, 126, 0.1);
    --shadow-medium: 0 8px 30px rgba(229, 0, 126, 0.2);
    --shadow-large: 0 15px 50px rgba(229, 0, 126, 0.3);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-small: 8px;
    --max-width: 1200px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: linear-gradient(180deg, #000000 0%, #0f0f0f 100%);
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(229, 0, 126, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 20, 147, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    background: linear-gradient(135deg, #e5007e 0%, #ff1493 50%, #e5007e 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    font-weight: 800;
    animation: shimmer 3s linear infinite;
    text-shadow: 0 0 30px rgba(229, 0, 126, 0.3);
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

strong {
    color: var(--text-light);
    font-weight: 600;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    cursor: pointer;
}

a:hover {
    color: var(--primary-color);
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* ===== MODERN HEADER ===== */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(229, 0, 126, 0.15);
    transition: var(--transition-medium);
    overflow: visible;
}

.modern-header.scrolled {
    box-shadow: var(--shadow-medium);
    background: rgba(10, 10, 10, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 2.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-container img {
    max-height: 140px;
    width: auto;
    transition: var(--transition-medium);
    filter: drop-shadow(0 0 20px rgba(229, 0, 126, 0.3));
}

.logo-container img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(229, 0, 126, 0.5));
}

/* Language Switcher Modern */
.language-switcher {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.language-switcher span,
.language-switcher a {
    font-size: 1.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
    filter: grayscale(0);
    border: none;
    outline: none;
    background: none;
    padding: 0;
    margin: 0;
}

.language-switcher a {
    opacity: 0.5;
}

.language-switcher a:hover {
    opacity: 1;
    transform: scale(1.15);
}

.language-switcher span {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(229, 0, 126, 0.6));
}

.language-switcher img {
    display: block;
    border: none;
    outline: none;
}

/* Modern Navigation */
.modern-nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.modern-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.modern-nav li {
    margin: 0;
}

.modern-nav a {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-gray);
    letter-spacing: 0.02em;
}

.modern-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-fast);
}

.modern-nav a:hover,
.modern-nav a.active {
    color: var(--text-light);
}

.modern-nav a:hover::after,
.modern-nav a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2001;
    position: relative;
}

@media (max-width: 991px) {
    .header-container {
        padding: 0.25rem 1.25rem;
    }

    .logo-container img {
        max-height: 100px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .modern-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 8rem 2rem 3rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        flex-direction: column;
        gap: 0;
        align-items: center;
        justify-content: flex-start;
        z-index: 1500;
        opacity: 1;
    }

    .modern-nav.active {
        transform: translateX(0);
        pointer-events: all;
    }

    .modern-nav ul {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        text-align: center;
        background: transparent;
        padding: 0;
        border-radius: 0;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 400px;
    }

    .modern-nav a {
        font-size: 1.125rem;
        background: rgba(30, 30, 30, 0.95);
        padding: 1rem 1.5rem;
        border-radius: var(--border-radius-small);
        display: block;
        border: 1px solid rgba(229, 0, 126, 0.4);
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .modern-nav a.active {
        background: linear-gradient(135deg, rgba(229, 0, 126, 0.85) 0%, rgba(229, 0, 126, 0.95) 100%);
        border-color: rgb(229, 0, 126);
        box-shadow: 0 4px 15px rgba(229, 0, 126, 0.6);
    }

    .modern-nav ul li a:hover {
        background: rgba(229, 0, 126, 0.7) !important;
        border-color: rgba(229, 0, 126, 0.9) !important;
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(229, 0, 126, 0.6) !important;
    }

    .modern-nav ul li a.active:hover {
        background: linear-gradient(135deg, rgba(229, 0, 126, 0.9) 0%, rgba(229, 0, 126, 1) 100%) !important;
        transform: scale(1.02);
    }

    .modern-nav .language-switcher {
        background: rgba(30, 30, 30, 0.95) !important;
        padding: 1rem;
        border-radius: var(--border-radius-small);
        opacity: 1 !important;
        margin-top: 0;
        width: 100%;
        max-width: 400px;
        text-align: center;
        border: 1px solid rgba(229, 0, 126, 0.4);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }

    .modern-nav .language-switcher span {
        background: none;
        padding: 0;
        border-radius: 0;
        display: inline-block;
        border: none;
        transition: all 0.3s ease;
        font-weight: 600;
        filter: drop-shadow(0 0 10px rgba(229, 0, 126, 0.8));
    }

    .modern-nav .language-switcher a {
        background: none;
        padding: 0;
        border-radius: 0;
        display: inline-block;
        border: none;
        transition: all 0.3s ease;
        font-weight: 500;
        opacity: 0.5;
    }

    .modern-nav .language-switcher a:hover {
        background: none !important;
        opacity: 1 !important;
        transform: scale(1.15) !important;
    }

    .modern-nav .language-switcher img {
        display: block;
        border: none;
        outline: none;
    }

    .modern-nav ul li a:not(.language-switcher a):hover {
        background: rgba(229, 0, 126, 0.7) !important;
        border-color: rgba(229, 0, 126, 0.9) !important;
        transform: scale(1.02) !important;
        box-shadow: 0 4px 15px rgba(229, 0, 126, 0.6) !important;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin-top: -2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-wrapper video {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(-50%) scale(0.85);
    transform-origin: bottom center;
    object-fit: cover;
    opacity: 1;
}

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

.hero-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

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

.hero-fallback-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
}

.hero-video-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .modern-header {
        position: fixed;
        z-index: 2000;
    }

    .hero-section {
        height: 40vh;
        margin-top: 0;
        padding: 0;
        margin-bottom: -1px;
    }

    .content-section {
        margin-top: 0;
        padding: 0;
    }

    .intro-section {
        padding: 1.5rem 0 1.5rem;
        margin-top: -1px;
    }

    .hero-overlay {
        padding: 1rem 0.5rem;
    }

    .hero-video-title {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }
}

/* ===== INTRO SECTION ===== */
.intro-section {
    padding: 1.5rem 0 1.5rem;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
}

.hero-content {
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #e5007e 0%, #ff1493 100%);
    background-size: 200% auto;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(229, 0, 126, 0.3), 0 0 20px rgba(229, 0, 126, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    background-position: right center;
    box-shadow: 0 15px 60px rgba(229, 0, 126, 0.5),
                0 0 50px rgba(229, 0, 126, 0.4),
                inset 0 0 30px rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 0.5rem 0;
    margin-top: 0;
}

.page-header {
    padding-top: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.page-intro {
    max-width: 850px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

.page-intro p {
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 850px;
    margin: 1rem auto 1.5rem;
    text-align: center;
}

.section-intro p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== CARD GRID ===== */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 4rem 0;
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-medium);
    border: 1px solid rgba(229, 0, 126, 0.15);
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Add margin only to standalone cards (not in grid) */
.card:not(.card-grid > .card) {
    margin: 3rem auto;
}

/* Remove margin from cards inside grid (gap handles spacing) */
.card-grid > .card {
    margin: 0 auto;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 0, 126, 0.05), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(229, 0, 126, 0.25), 0 0 40px rgba(229, 0, 126, 0.1);
    border-color: rgba(229, 0, 126, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.card h2 {
    margin-top: 0;
    font-size: 2rem;
    text-align: center;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    text-align: center;
}

.card p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
}

.gallery-description {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1.5rem;
}

.gallery-description a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.gallery-description a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.reviews-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.reviews-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.reviews-rating .stars {
    font-size: 2rem;
    color: #FFD700;
    letter-spacing: 0.2rem;
}

.rating-text {
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.review-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(229, 0, 126, 0.15);
    backdrop-filter: blur(10px);
    transition: var(--transition-medium);
    text-align: left;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 0, 126, 0.2);
    border-color: rgba(229, 0, 126, 0.3);
}

.review-stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
}

.review-meta {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.review-meta strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
}

.reviews-cta {
    margin: 3rem auto 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(229, 0, 126, 0.1) 0%, rgba(229, 0, 126, 0.05) 100%);
    border-radius: var(--border-radius);
    border: 2px solid rgba(229, 0, 126, 0.2);
    text-align: center;
    max-width: 700px;
}

.reviews-cta p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.reviews-cta .cta-button {
    display: inline-block;
    margin-top: 0.5rem;
}

.reviews-source {
    color: var(--text-secondary);
    margin-top: 2rem;
    text-align: center;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 470px 1fr;
    gap: 3.5rem;
    align-items: center;
    justify-items: center;
}

.contact-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(229, 0, 126, 0.3);
    border: 2px solid rgba(229, 0, 126, 0.2);
    max-width: 470px;
    width: 100%;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.contact-image:hover img {
    transform: scale(1.05);
}

.contact-image:hover {
    border-color: rgba(229, 0, 126, 0.5);
    box-shadow: 0 12px 40px rgba(229, 0, 126, 0.5);
}

.contact-text {
    text-align: center;
    justify-self: start;
    width: 100%;
}

.contact-text h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.contact-text p {
    margin-bottom: 1rem;
}

@media (max-width: 968px) {
    .contact-section {
        margin: 0 auto 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-text {
        text-align: center;
    }

    .contact-text h2 {
        text-align: center;
    }

    /* Reviews responsive */
    .reviews-section {
        padding: 2rem 1rem;
    }

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

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

    .reviews-rating {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== PHOTO GALLERY ===== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 991px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-small);
    aspect-ratio: 1/1.4;
    background: var(--bg-darker);
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
    pointer-events: none !important;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(229, 0, 126, 0) 0%, rgba(229, 0, 126, 0.3) 100%);
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    margin: 0;
    padding: 0;
}

.video-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--bg-darker);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.video-wrapper:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.video-wrapper iframe,
.video-wrapper .youtube {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-description {
    margin-top: 1.5rem;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

.video-description a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.video-description a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Video Thumbnail Wrapper */
.video-thumbnail-wrapper {
    position: relative;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.video-thumbnail-wrapper:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.video-thumbnail-link {
    display: block;
    position: relative;
    width: 100%;
    text-decoration: none;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-medium);
}

.video-thumbnail-link:hover .video-thumbnail {
    opacity: 0.9;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(229, 0, 126, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
    pointer-events: none;
}

.play-button-overlay::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 5px;
}

.video-thumbnail-link:hover .play-button-overlay {
    background: rgba(229, 0, 126, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===== REFERENCES PAGE - TIMELINE ===== */
.career-section {
    margin: 4rem 0;
}

.career-intro {
    margin-bottom: 2.5rem;
}

.career-intro p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2.5rem 0 2rem;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(229, 0, 126, 0.3) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
    transition: var(--transition-medium);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(229, 0, 126, 0.2);
    transition: var(--transition-medium);
}

.timeline-item:hover::before {
    background: var(--primary-light);
    box-shadow: 0 0 0 6px rgba(229, 0, 126, 0.3);
}

.timeline-year {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1rem;
    min-width: 90px;
    flex-shrink: 0;
}

.timeline-event {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-item.highlight {
    background: rgba(229, 0, 126, 0.1);
    padding: 1rem 1rem 1rem 2rem;
    margin-left: -1rem;
    border-radius: var(--border-radius-small);
    border-left: 3px solid var(--primary-color);
}

.timeline-item.highlight .timeline-event {
    color: var(--text-light);
    font-weight: 600;
}

/* ===== KUNSTCACHING SECTION ===== */
.kunstcaching-section {
    margin: 5rem 0;
    padding: 3rem 2rem;
    background: rgba(229, 0, 126, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(229, 0, 126, 0.15);
}

.kunstcaching-intro {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.kunstcaching-content {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

.kunstcaching-content p {
    margin-bottom: 1.25rem;
}

.kunstcaching-content a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.kunstcaching-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===== CHILDHOOD GALLERY ===== */
.childhood-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* ===== CONTACT PAGE - FORM ===== */
.contact-success {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: var(--border-radius);
    border: 2px solid rgba(76, 175, 80, 0.3);
    margin: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.contact-success p {
    color: #4CAF50;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-error {
    padding: 2rem;
    background: rgba(244, 67, 54, 0.1);
    border-radius: var(--border-radius);
    border: 2px solid rgba(244, 67, 54, 0.3);
    margin: 2rem 0;
}

.contact-error p {
    color: #f44336;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 3rem auto;
    padding: 3rem 2.5rem;
    background: rgba(229, 0, 126, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(229, 0, 126, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field-honeypot {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

.honeypot-field {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}

.form-field input,
.form-field textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(229, 0, 126, 0.2);
    border-radius: var(--border-radius-small);
    padding: 0.875rem 1.125rem;
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-medium);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(229, 0, 126, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.form-privacy {
    padding: 1rem;
    background: rgba(229, 0, 126, 0.05);
    border-radius: var(--border-radius-small);
    border-left: 3px solid var(--primary-color);
}

.form-privacy p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.form-privacy a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.form-privacy a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-submit {
    margin-top: 1rem;
}

.form-submit .cta-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    cursor: pointer;
}

.contact-info-section {
    margin-top: 5rem;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(229, 0, 126, 0.03);
    border-radius: var(--border-radius);
}

.contact-info-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.contact-info-content {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-info-content p {
    margin-bottom: 1rem;
}

.contact-info-content strong {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-year {
        min-width: auto;
    }

    .childhood-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* ===== FOOTER ===== */
.modern-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(229, 0, 126, 0.15);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 0, 126, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 0, 126, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(229, 0, 126, 0.4);
    border-color: var(--primary-color);
    color: white;
}

.social-links svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-links a:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(229, 0, 126, 0.1);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom a {
    color: var(--text-gray);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spacer {
    height: 1.5rem;
}

.spacer-large {
    height: 3rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Tablet view (769px - 991px) */
@media (max-width: 991px) and (min-width: 769px) {
    .hero-video-wrapper video {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -35%) scale(1.3);
        transform-origin: center;
    }
}

/* Mobile view (up to 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 0;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-video-wrapper video {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -35%) scale(1.3);
        transform-origin: center;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .content-section {
        padding: 0;
    }

    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .footer-content {
        gap: 2rem;
    }
}

/* Ensure old Bootstrap elements don't interfere */
.modern-design .row,
.modern-design .col-md-3,
.modern-design .col-md-9,
.modern-design .col-xs-12 {
    display: none !important;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cc-window {
    padding: 1.5rem 2rem !important;
    font-size: 1.125rem !important;
}

.cc-message {
    font-size: 1.125rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}

.cc-btn {
    padding: 0.875rem 2rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

.cc-link {
    font-size: 1.125rem !important;
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    .cc-window {
        padding: 1.25rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .cc-message {
        font-size: 1rem !important;
    }

    .cc-btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .cc-link {
        font-size: 1rem !important;
    }
}

/* ===== LEGAL CONTENT ===== */
.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.legal-content h3 {
    color: var(--text-color);
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.25rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #ff0094;
}
