/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #f9fafb;
    --overlay-dark: rgba(0, 0, 0, 0.4);
    --overlay-darker: rgba(0, 0, 0, 0.7);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body[lang="ko"] {
    font-family: 'Noto Sans KR', 'Montserrat', sans-serif;
}

body[lang="zh"] {
    font-family: 'Noto Sans SC', 'Montserrat', sans-serif;
}

body[lang="ja"] {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
}

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

/* ===================================
   Language Selector
   =================================== */
.language-selector {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

.lang-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.3);
}

.lang-btn.active {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

/* ===================================
   Hero Section with Video
   =================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 20px;
}

.morph-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.5),
        2px 4px 15px rgba(0, 0, 0, 0.3);
    animation: none;
    line-height: 1.3;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    opacity: 1;
    transform-origin: center center;
}

/* Writing/Signing Animation */
@keyframes writeIn {
    0% {
        opacity: 0;
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
        transform: translateX(-20px) rotate(-3deg);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translateX(0) rotate(0deg);
    }
}

/* Floating Wave Effect */
@keyframes floatWave {
    0%, 100% {
        transform: translateY(0) rotate(0deg) skewX(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg) skewX(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(-0.5deg) skewX(-0.5deg);
    }
    75% {
        transform: translateY(-10px) rotate(0.5deg) skewX(0.5deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

/* Elegant shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Sparkles Container */
.sparkles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.sparkle {
    display: none;
}

.sparkle:nth-child(1) { animation-delay: 0s; }
.sparkle:nth-child(2) { animation-delay: 0.5s; }
.sparkle:nth-child(3) { animation-delay: 1s; }
.sparkle:nth-child(4) { animation-delay: 1.5s; }
.sparkle:nth-child(5) { animation-delay: 2s; }
.sparkle:nth-child(6) { animation-delay: 2.5s; }

@keyframes floatSparkle {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-15px) translateX(5px);
    }
}

/* Text Wrapper for Individual Letter Animation */
.text-wrapper {
    display: inline-block;
    position: relative;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(72, 219, 251, 0.3));
    padding: 15px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(72, 219, 251, 0.5);
}

.scroll-indicator:active {
    transform: translateX(-50%) scale(0.95);
}

.scroll-indicator i {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: colorShift 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes colorShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(180deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ===================================
   Video Background Sections
   =================================== */
.video-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

.section-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 40px;
    text-align: center;
    color: white;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.video-section-title {
    font-family: 'Great Vibes', 'Allura', 'Dancing Script', cursive;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.5),
        2px 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    line-height: 1.3;
}

.video-section-description {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

body[lang="ko"] .video-section-title,
body[lang="ko"] .video-section-description {
    font-family: 'Noto Sans KR', 'Montserrat', sans-serif;
}

body[lang="zh"] .video-section-title,
body[lang="zh"] .video-section-description {
    font-family: 'Noto Sans SC', 'Montserrat', sans-serif;
}

body[lang="ja"] .video-section-title,
body[lang="ja"] .video-section-description {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.main-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-dark);
    opacity: 0.9;
}

/* ===================================
   Attractions Section
   =================================== */
.attractions-section {
    background: white;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.attraction-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.attraction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.attraction-card:hover::before {
    opacity: 0.95;
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.attraction-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.attraction-card:hover .card-icon {
    color: white;
    transform: scale(1.2);
}

.attraction-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: color 0.4s ease;
}

.attraction-card:hover h3 {
    color: white;
}

.attraction-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.attraction-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.gallery-section .section-title {
    color: white;
}

.gallery-section .section-title::after {
    background: linear-gradient(90deg, var(--accent-color), #06b6d4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.gallery-overlay i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.gallery-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 30px;
}

.cta-section {
    margin-top: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-button i {
    font-size: 1.3rem;
}

/* ===================================
   Contact Form
   =================================== */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: #0f172a;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-link a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-link i {
    font-size: 1.2rem;
}

.footer-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-highlight:hover {
    color: white;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
    transform: translateY(-2px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .video-section {
        min-height: 100vh;
    }
    
    .section-content {
        padding: 0 30px;
    }
    
    .video-section-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
        margin-bottom: 20px;
    }
    
    .video-section-description {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        line-height: 1.7;
    }
    
    .language-selector {
        top: 15px;
        right: 15px;
        padding: 6px;
        gap: 6px;
        font-size: 11px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .hero-section {
        min-height: 100vh;
        height: 100vh;
    }
    
    .morph-text {
        font-size: clamp(2.5rem, 8vw, 4rem);
        letter-spacing: 0.05em;
        padding: 0 20px;
    }
    
    .scroll-indicator {
        padding: 10px 14px;
        bottom: 30px;
    }
    
    .scroll-indicator i {
        font-size: 1.3rem;
    }
    
    .about-section,
    .attractions-section,
    .gallery-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .attractions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .attraction-card {
        padding: 30px 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .video-section {
        min-height: 100vh;
    }
    
    .section-content {
        padding: 0 20px;
    }
    
    .video-section-title {
        font-size: clamp(2rem, 9vw, 3rem);
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .video-section-description {
        font-size: clamp(0.95rem, 2.8vw, 1.1rem);
        line-height: 1.6;
    }
    
    .section-video {
        min-width: auto;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .language-selector {
        top: 10px;
        right: 10px;
        padding: 5px;
        gap: 5px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
        border-width: 1px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .morph-text {
        font-size: clamp(2rem, 9vw, 3rem);
        letter-spacing: 0.05em;
        line-height: 1.3;
    }
    
    .scroll-indicator {
        padding: 8px 12px;
        bottom: 20px;
    }
    
    .scroll-indicator i {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
        bottom: -10px;
    }
    
    .main-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .attractions-grid {
        gap: 15px;
    }
    
    .attraction-card {
        padding: 25px 15px;
    }
    
    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .attraction-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .attraction-card p {
        font-size: 0.95rem;
    }
    
    .gallery-grid {
        gap: 12px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-overlay i {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .gallery-overlay p {
        font-size: 1rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-info p {
        font-size: 0.85rem;
    }
    
    .footer-highlight {
        font-size: 1.1rem;
    }
    
    .footer-link a {
        font-size: 0.9rem;
    }
    
    .hero-video {
        min-width: auto;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Optimize animations on mobile for performance */
    .morph-text {
        animation: writeIn 2s ease-out forwards, floatWave 5s ease-in-out infinite 2s !important;
    }
    
    .morph-text .text-wrapper::after {
        animation: none !important;
    }
    
    .sparkle {
        animation: sparkle 4s ease-in-out infinite !important;
    }
}

/* ===================================
   Animations & Transitions
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content,
.attraction-card,
.gallery-item,
.contact-info,
.contact-form {
    animation: fadeInUp 0.8s ease-out;
}

/* Stagger animation delays */
.attraction-card:nth-child(1) { animation-delay: 0.1s; }
.attraction-card:nth-child(2) { animation-delay: 0.2s; }
.attraction-card:nth-child(3) { animation-delay: 0.3s; }
.attraction-card:nth-child(4) { animation-delay: 0.4s; }
.attraction-card:nth-child(5) { animation-delay: 0.5s; }
.attraction-card:nth-child(6) { animation-delay: 0.6s; }

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

/* ===================================
   Mobile-Specific Optimizations
   =================================== */
.mobile-device .morph-text {
    will-change: auto;
}

.mobile-device .sparkle {
    will-change: auto;
}

.mobile-device .hero-content {
    will-change: auto;
}

/* Improved touch targets for mobile */
@media (max-width: 768px) {
    button,
    a,
    .lang-btn,
    .cta-button,
    .submit-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Optimize animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .morph-text,
    .sparkle,
    .scroll-indicator {
        animation: none !important;
    }
}

/* ===================================
   Enhanced Mobile Optimization
   =================================== */
@media (max-width: 640px) {
    /* Improve scroll performance on mobile */
    .video-section,
    .section-video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Prevent text selection during scrolling */
    .video-section-title,
    .video-section-description {
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* Optimize video loading on mobile */
    .section-video {
        will-change: opacity;
    }
    
    /* Improve tap targets */
    .scroll-indicator {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent horizontal scroll on mobile */
    body {
        overflow-x: hidden;
        position: relative;
    }
    
    /* Safe area for notched devices (iPhone X and newer) */
    .language-selector {
        top: max(10px, env(safe-area-inset-top));
        right: max(10px, env(safe-area-inset-right));
    }
    
    .contact-section .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    footer {
        padding-left: max(40px, env(safe-area-inset-left));
        padding-right: max(40px, env(safe-area-inset-right));
        padding-bottom: max(40px, env(safe-area-inset-bottom));
    }
}

/* Orientation-specific optimizations */
@media (max-width: 640px) and (orientation: landscape) {
    .video-section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .video-section-description {
        font-size: clamp(0.85rem, 2vw, 1rem);
        max-width: 80%;
    }
    
    .section-content {
        padding: 0 30px;
    }
}