/* Ceylon Authentic Experiences - Main Container */
#sri-lanka-exp-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, #fafbfc, #f2f7f9);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Decorative Sri Lankan-themed background pattern */
#sri-lanka-exp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%2305a3b7' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.7;
}

/* Main content container */
#sri-lanka-exp-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Grid layout */
#sri-lanka-exp-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* Left content area */
#sri-lanka-exp-content-left {
    padding-right: 30px;
}

/* Title section */
#sri-lanka-exp-title-area {
    margin-bottom: 30px;
}

/* Accent line */
#sri-lanka-exp-accent-line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #05a3b7, #037ade);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    animation: sriLankaLineExpand 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes sriLankaLineExpand {
    0% { width: 0; }
    30% { width: 30px; }
    100% { width: 60px; }
}

/* Smoother shimmer effect */
#sri-lanka-exp-accent-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: sriLankaLineShimmer 2.5s ease-in-out infinite;
}

@keyframes sriLankaLineShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Main title */
#sri-lanka-exp-main-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #222;
    margin: 15px 0;
}

/* Animated title span */
#sri-lanka-exp-main-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) scale(0.9);
    animation: sriLankaTitleReveal 0.7s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes sriLankaTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(100%) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(-10%) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Sri Lankan lotus decoration */
#sri-lanka-exp-lotus-decoration {
    position: absolute;
    width: 35px;
    height: 35px;
    top: -15px;
    right: -20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z' fill='%2305a3b7' fill-opacity='0.2'/%3E%3C/svg%3E");
    background-size: contain;
    animation: sriLankaLotusSpin 8s infinite linear;
}

@keyframes sriLankaLotusSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Description container */
#sri-lanka-exp-description-area {
    position: relative;
}

/* Description paragraph */
#sri-lanka-exp-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

/* Drop cap styling */
#sri-lanka-exp-description::first-letter {
    font-size: 3em;
    font-weight: 700;
    color: #05a3b7;
    float: left;
    line-height: 0.8;
    padding-right: 10px;
    margin-top: 4px;
}

@keyframes sriLankaFadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ayubowan greeting highlight */
.sri-lanka-ayubowan-greeting {
    font-weight: 600;
    font-style: italic;
    color: #05a3b7;
    position: relative;
    display: inline-block;
}

.sri-lanka-ayubowan-greeting::after {
    content: '🙏';
    position: absolute;
    font-size: 0.9rem;
    top: -10px;
    right: -15px;
    animation: sriLankaGreetingFloat 3s ease-in-out infinite;
}

@keyframes sriLankaGreetingFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* CTA button container */
#sri-lanka-exp-cta-container {
    opacity: 0;
    transform: translateY(15px);
    animation: sriLankaFadeUpIn 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

/* CTA button styling */
#sri-lanka-exp-cta-button {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #05a3b7, #037ade);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 200;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    box-shadow: 0 5px 15px rgba(5, 163, 183, 0.3);
    font-size: 1rem;
    border: none;
}

#sri-lanka-exp-cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(5, 163, 183, 0.4);
}

/* Add pulse animation to CTA button */
#sri-lanka-exp-cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: sriLankaPulse 2s infinite;
    z-index: -1;
}

@keyframes sriLankaPulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* Right side gallery */
#sri-lanka-exp-gallery {
    position: relative;
}

/* Gallery container */
#sri-lanka-exp-carousel-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(5, 163, 183, 0.05);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform;
}

#sri-lanka-exp-carousel-container:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Gallery overlay */
#sri-lanka-exp-carousel-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(5, 163, 183, 0.2), transparent);
    z-index: 1;
    opacity: 0.7;
    mix-blend-mode: overlay;
}

/* Carousel item */
.sri-lanka-carousel-item {
    position: relative;
    overflow: hidden;
}

/* Image wrapper */
.sri-lanka-image-wrapper {
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.sri-lanka-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sri-lanka-carousel-item:hover .sri-lanka-image-wrapper {
    transform: scale(1.12);
}

/* Image label */
.sri-lanka-image-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #05a3b7;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(70px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: 10;
}

.sri-lanka-carousel-item:hover .sri-lanka-image-label {
    transform: translateY(0) scale(1.05);
    opacity: 1;
}

/* Image overlay */
.sri-lanka-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sri-lanka-carousel-item:hover .sri-lanka-image-wrapper::after {
    opacity: 1;
}

/* Secondary CTA container */
#sri-lanka-exp-secondary-cta {
    margin-top: 20px;
    text-align: right;
}

/* Secondary CTA button */
#sri-lanka-exp-find-more {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: #05a3b7;
    border: 2px solid #05a3b7;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 200;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#sri-lanka-exp-find-more:hover {
    background: #05a3b7;
    color: white;
    box-shadow: 0 5px 15px rgba(5, 163, 183, 0.2);
}

/* Floating decorative elements */
.sri-lanka-floating-element {
    position: absolute;
    font-size: 1.5rem;
    animation: sriLankaFloatAround 12s ease-in-out infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
    transform-origin: center center;
}

#sri-lanka-exp-float-palm {
    top: 10%;
    left: -3%;
    animation-delay: 0s;
}

#sri-lanka-exp-float-leaf {
    top: 70%;
    right: 5%;
    animation-delay: 2.5s;
}

#sri-lanka-exp-float-island {
    bottom: 15%;
    left: 8%;
    animation-delay: 5s;
}

@keyframes sriLankaFloatAround {
    0% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translate(15px, -20px) rotate(5deg) scale(1.05); 
    }
    50% { 
        transform: translate(5px, 15px) rotate(-5deg) scale(0.95); 
    }
    75% { 
        transform: translate(-15px, -8px) rotate(3deg) scale(1.02); 
    }
    100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
    }
}

/* Responsive styles */
@media (max-width: 1024px) {
    #sri-lanka-exp-content-grid {
        gap: 50px;
    }
    
    #sri-lanka-exp-main-title {
        font-size: 2.2rem;
    }
    
    .sri-lanka-image-wrapper {
        height: 380px;
    }
}

@media (max-width: 768px) {
    #sri-lanka-exp-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    #sri-lanka-exp-content-left {
        padding-right: 0;
    }
    
    #sri-lanka-exp-main-title {
        font-size: 2rem;
    }
    
    .sri-lanka-image-wrapper {
        height: 300px;
    }
    
    #sri-lanka-exp-secondary-cta {
        text-align: center;
    }
}

/* Add subtle animation to carousel navigation */
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    transition: transform 0.3s ease;
}

.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
    transform: scale(1.2);
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: reduce) {
    #sri-lanka-exp-accent-line,
    #sri-lanka-exp-main-title span,
    #sri-lanka-exp-lotus-decoration,
    .sri-lanka-floating-element,
    #sri-lanka-exp-cta-button::after {
        animation: none !important;
        transition: none !important;
    }
    
    .sri-lanka-image-wrapper,
    .sri-lanka-image-label,
    #sri-lanka-exp-carousel-container {
        transition: none !important;
        transform: none !important;
    }
} 