/* 
 * template-about-srilanka.css - CLEAN HEADER-SAFE VERSION
 * Sri Lankan Highlights Section - Conflict-Free Edition
 * Version: 2.0 - COMPLETELY HEADER SAFE
 */

/* ==================== VIDEO HERO SECTION ==================== */
.srilanka-hero-video-container {
    position: relative;
    width: 100vw;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.srilanka-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.srilanka-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    pointer-events: none;
}

.srilanka-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(255, 87, 34, 0.05) 50%,
        rgba(0, 150, 136, 0.05) 100%
    );
    backdrop-filter: blur(2px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.srilanka-subtitle {
    color: #FF5722;
    font-weight: 600;
    letter-spacing: 4px;
    font-size: 13px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    animation: srilankaFadeInUp 1s ease-out 0.5s both;
    font-family: 'Inter', sans-serif;
}

.srilanka-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    animation: srilankaFadeInUp 1s ease-out 0.7s both;
    color: #ffffff;
    letter-spacing: -1px;
}

.srilanka-text-gradient {
    background: linear-gradient(135deg, #FF5722, #009688);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.srilanka-hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    animation: srilankaFadeInUp 1s ease-out 0.9s both;
    font-weight: 300;
}

.srilanka-btn-explore {
    background: linear-gradient(135deg, #FF5722, #009688);
    color: #ffffff;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
    animation: srilankaFadeInUp 1s ease-out 1.1s both;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.srilanka-btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 87, 34, 0.4);
    color: #ffffff;
    text-decoration: none;
}

/* ==================== HIGHLIGHTS SECTION ==================== */
.srilanka-highlights-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.srilanka-section-header {
    margin-bottom: 60px;
}

.srilanka-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.srilanka-section-subtitle {
    font-size: 18px;
    color: #8a9ba8;
    margin-bottom: 0;
    font-weight: 300;
}

/* ==================== HIGHLIGHT CARDS ==================== */
.srilanka-highlight-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 24px 20px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #009688;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.srilanka-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #FF5722;
}

.srilanka-highlight-card:hover .srilanka-card-tag {
    background: #FF5722;
    color: #ffffff;
}

.srilanka-card-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.srilanka-card-tag {
    display: inline-block;
    background: #009688;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    width: fit-content;
}

.srilanka-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}

.srilanka-card-text {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
    flex: 1;
}

/* ==================== QUICK FACTS SECTION ==================== */
.srilanka-quick-facts-section {
    margin-top: 80px;
    padding: 50px 40px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e8ecef;
}

.srilanka-fact-item {
    padding: 20px 10px;
    text-align: center;
}

.srilanka-fact-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #FF5722;
    margin-bottom: 8px;
    line-height: 1;
    display: block;
}

.srilanka-fact-label {
    font-size: 13px;
    color: #8a9ba8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

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

@keyframes srilankaSpin {
    to {
        transform: rotate(360deg);
    }
}

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

.srilanka-hero-video-container {
    opacity: 0;
    animation: srilankaFadeIn 1.5s ease-in-out 0.3s forwards;
}

@keyframes srilankaFadeIn {
    to {
        opacity: 1;
    }
}

/* Stagger animations for cards */
.srilanka-highlight-card {
    opacity: 0;
    transform: translateY(30px);
    animation: srilankaSlideUp 0.6s ease-out forwards;
}

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .srilanka-hero-video-container {
        height: 70vh;
        min-height: 500px;
    }
    
    .srilanka-highlights-section {
        padding: 80px 0;
    }
    
    .srilanka-highlight-card {
        margin-bottom: 24px;
        min-height: 260px;
    }
    
    .srilanka-quick-facts-section {
        padding: 40px 30px;
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .srilanka-hero-video-container {
        height: 60vh;
        min-height: 450px;
    }
    
    .srilanka-video-content {
        padding: 1rem;
    }
    
    .srilanka-highlight-card {
        padding: 24px 20px;
        min-height: 240px;
    }
    
    .srilanka-card-title {
        font-size: 20px;
    }
    
    .srilanka-section-header {
        margin-bottom: 40px;
    }
    
    .srilanka-quick-facts-section {
        margin-top: 40px;
        padding: 30px 20px;
    }
    
    .srilanka-fact-number {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .srilanka-highlights-section {
        padding: 60px 0;
    }
    
    .srilanka-highlight-card {
        padding: 20px 16px;
        min-height: 220px;
    }
    
    .srilanka-card-title {
        font-size: 18px;
    }
    
    .srilanka-card-text {
        font-size: 13px;
    }
    
    .srilanka-quick-facts-section {
        padding: 24px 16px;
    }
    
    .srilanka-fact-number {
        font-size: 24px;
    }
    
    .srilanka-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .srilanka-btn-explore {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    .srilanka-highlight-card,
    .srilanka-btn-explore {
        animation: none;
        transition: none;
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
.srilanka-highlight-card {
    will-change: transform;
}

.srilanka-fact-number {
    will-change: contents;
}

/* ==================== FOCUS STATES FOR ACCESSIBILITY ==================== */
.srilanka-highlight-card:focus {
    outline: 2px solid #FF5722;
    outline-offset: 4px;
}

.srilanka-btn-explore:focus {
    outline: 2px solid #FF5722;
    outline-offset: 4px;
}

/* ==================== UTILITY CLASSES ==================== */
.srilanka-container {
    position: relative;
    z-index: 1;
}

.srilanka-section {
    padding: 0;
}

/*
 * ==================== CLEAN HEADER-SAFE CSS SUMMARY ====================
 * 
 * ✅ COMPLETELY SCOPED: All classes prefixed with 'srilanka-'
 * ✅ NO GLOBAL STYLES: No body, html, h1, h2, p global selectors
 * ✅ NO CSS VARIABLES: Uses hard-coded color values
 * ✅ NO CONFLICTING UTILITIES: All utility classes are prefixed
 * ✅ NO FONT CONFLICTS: Fonts scoped to specific elements
 * ✅ CLEAN SYNTAX: All CSS syntax errors fixed
 * ✅ HEADER SAFE: Will not interfere with navigation/header styles
 * ✅ FULLY FUNCTIONAL: All features preserved
 * ✅ RESPONSIVE: All breakpoints maintained
 * ✅ ACCESSIBLE: Accessibility features included
 * ✅ PERFORMANT: Optimizations maintained
 * 
 * This version is 100% safe to use with any header/navigation system!
 */