/* ============================================================
   surfing-ahangama.css — Redesigned with Animations & Polish
   ============================================================ */

:root {
    --video-max-width: 520px;
    --faq-max-width: 860px;
    --ocean-deep: #004d47;
    --ocean-mid: #00796b;
    --ocean-light: #4db6ac;
    --sand-warm: #f5e6cc;
    --sand-light: #faf6ef;
    --gold-accent: #f9c74f;
    --gold-deep: #e09f3e;
    --text-dark: #1a2e2e;
    --text-body: #2c3e2f;
    --section-radius: 18px;
    --shadow-soft: 0 8px 32px rgba(0, 77, 71, 0.10);
    --shadow-lifted: 0 20px 60px rgba(0, 77, 71, 0.15);
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

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

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

@keyframes waveShift {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes ripple {
    0%   { box-shadow: 0 0 0 0 rgba(0, 125, 107, 0.25); }
    70%  { box-shadow: 0 0 0 14px rgba(0, 125, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 125, 107, 0); }
}

/* ── Scroll Reveal Base (GSAP handles initial hidden state via from()) ── */

body { overflow-x: hidden; }

/* ============================================================
   BREADCRUMB BANNER — parallax + text reveal
   ============================================================ */
.room-breadcrumb-banner {
    animation: none;
}

.room-breadcrumb-banner__content {
    animation: fadeInUp 0.9s 0.2s both var(--transition-smooth);
}

.room-breadcrumb-banner__title {
    position: relative;
    display: inline-block;
}

.room-breadcrumb-banner__title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(1);
    width: 80px;
    height: 3px;
    background: var(--gold-accent);
    border-radius: 4px;
    animation: shimmer 2s 1s ease-in-out;
}

.room-breadcrumb-banner__trail {
    animation: fadeInUp 0.9s 0.4s both var(--transition-smooth);
}

/* ============================================================
   MARSHMELLOW POINT — content + video section
   ============================================================ */

.section-marshmellow .text-center h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--ocean-light));
    border-radius: 4px;
    margin: 0.8rem auto 0;
}

/* Video wrapper */
.video-wrapper {
    position: relative;
    padding: 12px;
    width: 100%;
    max-width: var(--video-max-width);
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, max-width 0.3s ease;
    height: 100%;
    margin: 4rem auto 0;
}

.video-wrapper:hover {
    box-shadow: var(--shadow-lifted);
}

.surfing-video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 570px;
    margin: 0 auto;
    transform: rotate(270deg);
    transform-origin: center center;
    object-fit: cover;
    background: #0000000c;
}

/* ============================================================
   WAVE HERO FAQ SECTION — ocean-themed
   ============================================================ */
.wave-hero {
    position: relative;
    width: 100%;
    min-height: 960px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.wave-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../../images/surfing-ahangama/images/riding-the-waves-ahangama.jpg');
    background-size: cover;
    background-position: center 30%;
    z-index: 1;
    transition: transform 0.3s ease;
}

.wave-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.wave-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 77, 71, 0.72) 0%,
        rgba(0, 100, 80, 0.65) 40%,
        rgba(0, 60, 55, 0.78) 100%
    );
    z-index: 2;
}

.wave-hero__wave {
    position: absolute;
    width: 100%;
    height: 70px;
    z-index: 3;
    fill: #ffffff;
    display: block;
    left: 0;
    pointer-events: none;
}

.wave-hero__wave--top {
    top: 0;
    transform: scaleY(-1);
}

.wave-hero__wave--bottom {
    bottom: 0;
}

@media (min-width: 768px) {
    .wave-hero__wave {
        height: 90px;
    }
}

.wave-hero__content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    color: #fff;
    text-align: center;
}

/* FAQ Eyebrow */
.faq-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

/* FAQ Title */
.faq-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.faq-title em {
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-accent), #ffe082);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* FAQ Divider */
.faq-divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), rgba(255,255,255,0.4));
    border-radius: 4px;
    margin: 1rem auto;
}

/* FAQ Accordion */
.faq-accordion {
    width: 100%;
    max-width: var(--faq-max-width);
    margin: 2.5rem auto 0;
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--section-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.3);
}

.accordion-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 77, 71, 0.08) !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.accordion-item:nth-child(1) { animation-delay: 0.1s; }
.accordion-item:nth-child(2) { animation-delay: 0.17s; }
.accordion-item:nth-child(3) { animation-delay: 0.24s; }
.accordion-item:nth-child(4) { animation-delay: 0.31s; }
.accordion-item:nth-child(5) { animation-delay: 0.38s; }
.accordion-item:nth-child(6) { animation-delay: 0.45s; }

.accordion-item:last-child {
    border-bottom: none !important;
}

.custom-accordion-btn {
    background: transparent !important;
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 1.2rem 1.5rem;
    box-shadow: none !important;
    font-family: 'Jost', sans-serif;
    letter-spacing: -0.2px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.custom-accordion-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gold-accent);
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    transition: transform 0.3s var(--transition-smooth);
}

.custom-accordion-btn:hover::before,
.custom-accordion-btn:not(.collapsed)::before {
    transform: scaleY(1);
}

@media (min-width: 768px) {
    .custom-accordion-btn {
        font-size: 1.08rem;
        padding: 1.3rem 2rem;
    }
}

.custom-accordion-btn:not(.collapsed) {
    color: var(--ocean-deep) !important;
    background: linear-gradient(90deg, rgba(0, 125, 107, 0.04), transparent) !important;
    font-weight: 700;
}

.custom-accordion-btn::after {
    filter: brightness(0.3);
    transition: transform 0.3s var(--transition-smooth);
}

.custom-accordion-btn:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.custom-accordion-btn:hover {
    color: var(--ocean-mid) !important;
}

.accordion-body {
    background: linear-gradient(180deg, rgba(254, 254, 247, 0.8), rgba(254, 254, 247, 0.4));
    padding: 0.8rem 2rem 1.5rem 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
    .accordion-body {
        font-size: 1rem;
        padding: 0.8rem 2.5rem 1.8rem 2.5rem;
    }
}

/* ============================================================
   IMAGE GALLERY — hover effects + staggered reveal
   ============================================================ */
.gallery-section {
    padding: 2rem 0;
    background: var(--sand-light);
}

.gallery-section .text-center {
    animation: fadeInUp 0.8s both;
}

.gallery-section .text-center p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--ocean-mid);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.gallery-section .text-center h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--text-dark);
    font-weight: 600;
}

.gallery-section .text-center h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--ocean-light));
    border-radius: 4px;
    margin: 0.8rem auto 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 1.5rem;
}

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

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

.gallery-card {
    position: relative;
    border-radius: var(--section-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}

.gallery-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lifted);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--section-radius);
    transition: transform 0.6s var(--transition-smooth);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 77, 71, 0.65) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
}

.gallery-card:hover .gallery-card__overlay {
    opacity: 1;
}

.gallery-card__overlay span {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: translateY(10px);
    transition: transform 0.4s var(--transition-smooth);
}

.gallery-card:hover .gallery-card__overlay span {
    transform: translateY(0);
}

/* ============================================================
   SURFING IN SRI LANKA FAQ — card-based redesign
   ============================================================ */
.srilanka-faq {
    padding: 2rem 0 0.5rem;
    background: #fff;
}

.srilanka-faq .text-center {
    animation: fadeInUp 0.8s both;
}

.srilanka-faq .text-center p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--ocean-mid);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.srilanka-faq .text-center h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0;
}

.srilanka-faq .text-center h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--ocean-light));
    border-radius: 4px;
    margin: 0.8rem auto 2rem;
}

.srilanka-faq-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 77, 71, 0.15), transparent);
    margin: 0.5rem 0 1.5rem;
}

.srilanka-faq-card {
    background: var(--sand-light);
    border-radius: var(--section-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 77, 71, 0.06);
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.srilanka-faq-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.srilanka-faq-card h3 {
    font-family: 'Jost', sans-serif;
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: var(--ocean-deep);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--gold-accent);
    display: inline-block;
}

.srilanka-faq-card p {
    font-size: clamp(0.92rem, 2vw, 1rem);
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 0.8rem;
}

.srilanka-faq-card p strong {
    color: var(--ocean-mid);
    font-weight: 600;
}

.srilanka-faq-card:last-child {
    margin-bottom: 0;
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
    padding: 0.5rem 0 2rem;
    background: var(--sand-light);
}

.map-section .text-center p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--ocean-mid);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.map-section .text-center h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.map-section .text-center h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--ocean-light));
    border-radius: 4px;
    margin: 0.8rem auto 0;
}

.map-container {
    width: 100%;
    border-radius: var(--section-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lifted);
    border: 3px solid rgba(0, 77, 71, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 320px;
    }
}

/* ============================================================
   RESPONSIVE — VIDEO SECTION
   ============================================================ */
@media (min-width: 992px) {
    .video-wrapper {
        max-width: 560px;
    }
    .surfing-video {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        max-width: 90%;
        padding: 8px;
    }
    .surfing-video {
        max-height: 240px;
        transform: rotate(270deg) scale(0.98);
    }
    .section-marshmellow .container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        max-width: 100%;
        padding: 6px;
    }
    .surfing-video {
        max-height: 180px;
    }
    .custom-accordion-btn {
        font-size: 0.88rem;
        padding: 1rem 1.2rem;
    }
    .accordion-body {
        padding: 0.7rem 1.2rem 1.2rem;
    }
    .wave-hero__content {
        padding: 2rem 1rem;
    }
}

/* ============================================================
   CONTAINER / LAYOUT FIXES
   ============================================================ */
.container.wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1400px) {
    .container.wrapper {
        max-width: 1320px;
    }
}

/* ============================================================
   SCROLL BUTTONS
   ============================================================ */
.floating-scroll {
    bottom: 20px;
    right: 16px;
}

@media (min-width: 768px) {
    .floating-scroll {
        bottom: 30px;
        right: 24px;
    }
}

.scroll-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
}

/* ============================================================
   BREADCRUMB RESPONSIVE
   ============================================================ */
.room-breadcrumb-banner__title {
    font-size: clamp(1.8rem, 8vw, 3.4rem);
}

/* ============================================================
   BOOK NOW BUTTON
   ============================================================ */
#hero_btn-book-now span {
    white-space: nowrap;
}

@media (max-width: 480px) {
    #hero_btn-book-now {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    #hero_btn-book-now span {
        font-size: 0.8rem;
    }
}

/* ============================================================
   SECTION SPACING UTILITIES
   ============================================================ */
.pt-section { padding-top: 5rem; }
.pb-section { padding-bottom: 5rem; }

@media (max-width: 768px) {
    .pt-section { padding-top: 3rem; }
    .pb-section { padding-bottom: 3rem; }
}

/* ============================================================
   TEXT SERIF UTILITY
   ============================================================ */
.text-serif {
    font-family: 'Cormorant Garamond', serif;
}

.surf_spot {
    padding-top: 2rem;
    padding-bottom: 6rem;
}
