/* 
 * template-about-srilanka.css - SYNOVA TRAVELS PREMIUM DESIGN
 * Sri Lankan Highlights Section - Orange, Teal & Red Theme
 * Version: 4.0 - Elegant Premium Look with Video Controls
 * Uses main.css CSS Variables - Mobile-First Responsive
 */

/* ==================== VIDEO HERO SECTION ==================== */
.srilanka-hero-video-container {
    position: relative;
    width: 100vw;
    height: 88vh;
    min-height: 650px;
    max-height: 900px;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--charcoal) 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;
    overflow: hidden;
}

.srilanka-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.75) contrast(1.05);
}

/* ==================== VIDEO OVERLAY WITH PREMIUM GRADIENT ==================== */
.srilanka-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.55) 0%,
        rgba(255, 107, 53, 0.12) 25%,
        rgba(0, 168, 150, 0.15) 50%,
        rgba(230, 57, 70, 0.12) 75%,
        rgba(26, 26, 46, 0.65) 100%
    );
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== VIDEO CONTROLS - ELEGANT PREMIUM ==================== */
.srilanka-video-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 4;
    display: flex;
    gap: 14px;
    animation: srilankaFadeInUp 1s ease-out 1.4s both;
}

.srilanka-control-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.srilanka-control-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: -1;
}

.srilanka-control-btn:hover::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.srilanka-control-btn:hover {
    border-color: var(--primary-orange);
    transform: translateY(-4px) scale(1.08);
    box-shadow: var(--shadow-orange), var(--glow-orange);
}

.srilanka-control-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.srilanka-control-btn i {
    pointer-events: none;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.srilanka-control-btn:hover i {
    transform: scale(1.1);
}

/* Prevent parent link behavior */
.srilanka-video-controls a {
    pointer-events: none;
    text-decoration: none;
}

.srilanka-video-controls button {
    pointer-events: auto;
}

/* ==================== VIDEO CONTENT - ELEGANT TYPOGRAPHY ==================== */
.srilanka-video-content {
    text-align: center;
    padding: 2.5rem;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

.srilanka-subtitle {
    color: var(--primary-orange);
    font-weight: 700;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    animation: srilankaFadeInUp 1s ease-out 0.6s both;
    font-family: var(--font-primary);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    display: inline-block;
}

.srilanka-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: var(--glow-orange);
}

.srilanka-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.8rem;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
    line-height: 1.05;
    animation: srilankaFadeInUp 1s ease-out 0.8s both;
    color: var(--white);
    letter-spacing: -1.5px;
}

.srilanka-text-gradient {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.4));
    animation: srilankaShimmer 3s ease-in-out infinite;
}

@keyframes srilankaShimmer {
    0%, 100% { filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.4)); }
    50% { filter: drop-shadow(0 2px 12px rgba(0, 168, 150, 0.5)); }
}

.srilanka-hero-description {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    line-height: 1.75;
    animation: srilankaFadeInUp 1s ease-out 1s both;
    font-weight: 300;
    font-family: var(--font-primary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.srilanka-btn-explore {
    background: var(--gradient-button);
    color: var(--white);
    padding: 18px 42px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-orange);
    animation: srilankaFadeInUp 1s ease-out 1.2s both;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.srilanka-btn-explore::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.5s ease;
}

.srilanka-btn-explore:hover::before {
    left: 100%;
}

.srilanka-btn-explore:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-luxury), var(--glow-orange);
    color: var(--white);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-orange) 100%);
}

.srilanka-btn-explore i {
    transition: transform 0.35s ease;
}

.srilanka-btn-explore:hover i {
    transform: translateX(6px);
}

/* ==================== HIGHLIGHTS SECTION ==================== */
.srilanka-highlights-section {
    background: var(--white);
    padding: 110px 0;
    position: relative;
    z-index: 10;
}

.srilanka-highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, var(--light-gray), transparent);
    pointer-events: none;
}

.srilanka-section-header {
    margin-bottom: 70px;
    position: relative;
}

.srilanka-section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.srilanka-section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.srilanka-section-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 400;
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* ==================== HIGHLIGHT CARDS - PREMIUM DESIGN ==================== */
.srilanka-highlight-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    padding: 32px 28px;
    text-align: left;
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    background-image: 
        linear-gradient(var(--white), var(--white)),
        var(--gradient-warm);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.srilanka-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.srilanka-highlight-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.srilanka-highlight-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--primary-orange);
}

.srilanka-highlight-card:hover::before {
    transform: scaleX(1);
}

.srilanka-highlight-card:hover::after {
    right: -50px;
    opacity: 1;
}

.srilanka-highlight-card:hover .srilanka-card-tag {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: var(--shadow-orange);
}

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

.srilanka-card-tag {
    display: inline-block;
    background: var(--orange-100);
    color: var(--primary-orange);
    font-size: 10px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 22px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    font-family: var(--font-primary);
}

.srilanka-card-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.srilanka-highlight-card:hover .srilanka-card-title {
    color: var(--primary-orange);
}

.srilanka-card-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 0;
    font-weight: 400;
    flex: 1;
    font-family: var(--font-primary);
}

/* ==================== QUICK FACTS SECTION - PREMIUM ==================== */
.srilanka-quick-facts-section {
    margin-top: 90px;
    padding: 70px 60px;
    background: linear-gradient(135deg, var(--orange-50) 0%, var(--teal-50) 50%, var(--red-50) 100%);
    border-radius: 28px;
    border: 2px solid var(--orange-200);
    box-shadow: var(--shadow-brand);
    position: relative;
    overflow: hidden;
}

.srilanka-quick-facts-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 150, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.srilanka-quick-facts-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.srilanka-fact-item {
    padding: 24px 12px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.srilanka-fact-number {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
    display: block;
    letter-spacing: -1.5px;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.2));
}

.srilanka-fact-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-family: var(--font-primary);
}

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

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

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

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

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

.srilanka-highlight-card:nth-child(1) { animation-delay: 0.15s; }
.srilanka-highlight-card:nth-child(2) { animation-delay: 0.25s; }
.srilanka-highlight-card:nth-child(3) { animation-delay: 0.35s; }
.srilanka-highlight-card:nth-child(4) { animation-delay: 0.45s; }

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .srilanka-hero-video-container {
        height: 75vh;
        min-height: 550px;
    }
    
    .srilanka-video-controls {
        bottom: 35px;
        right: 35px;
        gap: 12px;
    }
    
    .srilanka-control-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .srilanka-highlights-section {
        padding: 90px 0;
    }
    
    .srilanka-highlight-card {
        margin-bottom: 28px;
        min-height: 240px;
    }
    
    .srilanka-quick-facts-section {
        padding: 60px 45px;
        margin-top: 70px;
    }
    
    .srilanka-fact-number {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .srilanka-hero-video-container {
        height: 65vh;
        min-height: 500px;
    }
    
    .srilanka-video-controls {
        bottom: 25px;
        right: 25px;
        gap: 10px;
    }
    
    .srilanka-control-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .srilanka-video-content {
        padding: 2rem;
    }
    
    .srilanka-subtitle {
        font-size: 11px;
        letter-spacing: 3px;
    }
    
    .srilanka-hero-description {
        font-size: 1rem;
    }
    
    .srilanka-btn-explore {
        padding: 16px 36px;
        font-size: 14px;
    }
    
    .srilanka-highlights-section {
        padding: 70px 0;
    }
    
    .srilanka-highlight-card {
        padding: 28px 24px;
        min-height: 230px;
    }
    
    .srilanka-card-title {
        font-size: 24px;
    }
    
    .srilanka-section-header {
        margin-bottom: 50px;
    }
    
    .srilanka-quick-facts-section {
        margin-top: 60px;
        padding: 50px 35px;
    }
    
    .srilanka-fact-number {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .srilanka-hero-video-container {
        height: 60vh;
        min-height: 450px;
    }
    
    .srilanka-video-controls {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .srilanka-control-btn {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
    
    .srilanka-video-content {
        padding: 1.5rem;
    }
    
    .srilanka-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }
    
    .srilanka-hero-title {
        margin-bottom: 1.5rem;
    }
    
    .srilanka-hero-description {
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }
    
    .srilanka-btn-explore {
        padding: 14px 32px;
        font-size: 13px;
        gap: 10px;
    }
    
    .srilanka-highlights-section {
        padding: 60px 0;
    }
    
    .srilanka-highlight-card {
        padding: 24px 20px;
        min-height: 210px;
        border-radius: 20px;
    }
    
    .srilanka-card-title {
        font-size: 22px;
        margin-bottom: 14px;
    }
    
    .srilanka-card-text {
        font-size: 14px;
    }
    
    .srilanka-card-tag {
        padding: 7px 14px;
        font-size: 9px;
        margin-bottom: 18px;
    }
    
    .srilanka-section-header {
        margin-bottom: 40px;
    }
    
    .srilanka-quick-facts-section {
        padding: 40px 25px;
        margin-top: 50px;
        border-radius: 20px;
    }
    
    .srilanka-fact-number {
        font-size: 36px;
    }
    
    .srilanka-fact-label {
        font-size: 12px;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    .srilanka-highlight-card,
    .srilanka-btn-explore,
    .srilanka-control-btn,
    .srilanka-hero-video-container,
    .srilanka-text-gradient {
        animation: none !important;
        transition: none !important;
    }
    
    .srilanka-highlight-card:hover,
    .srilanka-btn-explore:hover,
    .srilanka-control-btn:hover {
        transform: none !important;
    }
}

/* ==================== FOCUS STATES FOR ACCESSIBILITY ==================== */
.srilanka-highlight-card:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 5px;
}

.srilanka-btn-explore:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 5px;
}

.srilanka-control-btn:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 4px;
}

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

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

.srilanka-control-btn {
    will-change: transform, background-color;
}

.srilanka-background-video {
    will-change: transform;
}

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

/* ==================== PRINT STYLES ==================== */
@media print {
    .srilanka-video-controls {
        display: none !important;
    }
    
    .srilanka-hero-video-container {
        height: auto;
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .srilanka-highlight-card {
        box-shadow: none;
        border: 1px solid var(--border-gray);
        page-break-inside: avoid;
    }
}

/*
 * ==================== PREMIUM DESIGN SUMMARY ====================
 * 
 * ✅ SYNOVA TRAVELS COLOR SCHEME: Orange (#FF6B35), Teal (#00A896), Red (#E63946)
 * ✅ LOCAL VIDEO: Uses images/sri-lanka-tourism-travel-film.mp4
 * ✅ ELEGANT VIDEO CONTROLS: Glassmorphic Play/Pause & Mute/Unmute buttons
 * ✅ CENTRALIZED COLORS: All colors from main.css CSS variables
 * ✅ PREMIUM CARD DESIGN: Gradient borders with hover effects
 * ✅ ANIMATED ELEMENTS: Smooth transitions and micro-interactions
 * ✅ RESPONSIVE: Mobile-first design, optimized for all screen sizes
 * ✅ ACCESSIBLE: ARIA support, focus states, reduced motion
 * ✅ PERFORMANT: GPU-accelerated animations, will-change optimization
 * ✅ ELEGANT AESTHETICS: Modern luxury tourism website design
 * 
 * Design Philosophy:
 * - Orange: Energy, adventure, warmth (primary brand)
 * - Teal: Trust, freshness, ocean (secondary brand)
 * - Red: Passion, excitement, bold experiences (accent)
 * - White: Clean, modern, spacious backgrounds
 * 
 * Typography: Inter & Poppins (sans-serif) for modern elegance
 * Effects: Glassmorphism, gradient overlays, subtle animations
 * User Experience: Premium feel with smooth interactions
 */