/* ==========================================================================
   Whale Watching Club — Modern Ocean Theme
   Layer on top of style.css. Design tokens + component refinements +
   responsive polish + scroll-reveal support (uses existing wow.js/animate.css).
   ========================================================================== */

:root {
    --wwc-teal: #00baa3;
    --wwc-teal-dark: #049085;
    --wwc-navy: #075985;
    --wwc-navy-dark: #043a52;
    --wwc-coral: #d55342;
    --wwc-gold: #efc94c;
    --wwc-ink: #202426;
    --wwc-red: #ff4d4d;
    --wwc-red-dark: #c81d25;
    --wwc-ocean-gradient: linear-gradient(135deg, var(--wwc-navy) 0%, var(--wwc-teal) 100%);
    --wwc-ocean-gradient-soft: linear-gradient(135deg, rgba(7, 89, 133, .92) 0%, rgba(0, 186, 163, .88) 100%);
    --wwc-btn-gradient: linear-gradient(135deg, var(--wwc-red) 0%, var(--wwc-red-dark) 100%);
    --wwc-radius-lg: 22px;
    --wwc-radius-md: 16px;
    --wwc-radius-sm: 10px;
    --wwc-shadow-soft: 0 16px 40px 0 rgba(4, 43, 64, .14);
    --wwc-shadow-hover: 0 24px 48px 0 rgba(0, 186, 163, .28);
    --wwc-ease: cubic-bezier(.4, 0, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--wwc-teal);
    color: #fff;
}

/* ---------- Responsive-image / iframe safety net ---------- */
/* The base template has several raw <img> tags with no .img-fluid class, which can
   overflow on narrow screens. This guarantees every image and embed fits its column. */

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

iframe[src*="youtube.com"], iframe[src*="youtu.be"] {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

a, button, .theme-btn, .single-cause-cat, .single-service-item, .img-thumbnail,
.acivities-img img, .bt-img img, .all-img-apply {
    transition: all .35s var(--wwc-ease);
}

/* ---------- Buttons ---------- */

.theme-btn {
    background: var(--wwc-btn-gradient);
    border-color: transparent;
    box-shadow: 0 10px 24px 0 rgba(200, 29, 37, .38);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: .3px;
    font-weight: 700;
}

.theme-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .6s var(--wwc-ease);
    z-index: -1;
}

.theme-btn:hover::before {
    left: 125%;
}

.theme-btn:hover, .theme-btn:focus {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px 0 rgba(200, 29, 37, .48);
    filter: brightness(1.06);
}

.theme-btn:active {
    transform: translateY(-1px);
}

.theme-btn.no-fil:hover {
    background: var(--wwc-btn-gradient);
    border-color: transparent;
}

/* ---------- Form fields (contact / booking forms) ---------- */

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    border-radius: var(--wwc-radius-sm);
    transition: box-shadow .3s var(--wwc-ease), background-color .3s var(--wwc-ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 0;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 186, 163, .25);
}

.contact-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    width: 100%;
    background-color: #f8f8f8;
    line-height: 1;
    padding: 25px 30px;
    border: 0;
    font-size: inherit;
    font-family: inherit;
    color: #202426;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23075985'%3e%3cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.24a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.08z' clip-rule='evenodd'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 16px;
    padding-right: 55px !important;
}

@media (max-width: 585px) {
    .contact-form select {
        padding: 15px;
        padding-right: 45px !important;
        font-size: 13px;
    }
}

.contact-form select:invalid {
    color: #767676;
}

.contact-form select option {
    color: var(--wwc-ink);
}

.btn.btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    padding: 14px 32px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
    box-shadow: 0 10px 24px 0 rgba(40, 167, 69, .3);
    transition: all .35s var(--wwc-ease);
}

.btn.btn-success:hover,
.btn.btn-success:focus {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px 0 rgba(40, 167, 69, .4);
}

.btn.btn-success:active {
    transform: translateY(-1px);
}

/* ---------- Centered CTA button rows (private tour WhatsApp / Book Now, etc.) ---------- */

.private-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 18px;
    text-align: center;
}

.private-cta-buttons .btn.btn-success {
    min-width: 180px;
}

.private-cta-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 767px) {
    .private-cta-buttons {
        gap: 14px;
    }

    .private-cta-buttons .btn.btn-success {
        min-width: 0;
        padding: 12px 22px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .private-cta-buttons {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .private-cta-buttons .btn.btn-success {
        width: 100%;
        max-width: 280px;
    }
}

.why-choose-list {
    max-width: 460px;
    margin: 20px auto 0;
    text-align: left;
}

/* ---------- Thank-you page ---------- */

.thank-you-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--wwc-ocean-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--wwc-shadow-soft);
}

.thank-you-icon i {
    color: #fff;
    font-size: 42px;
}

/* ---------- Header / Navigation ---------- */

.header-wrap {
    transition: background-color .35s var(--wwc-ease), box-shadow .35s var(--wwc-ease), padding .35s var(--wwc-ease);
}

header.header-wrap.sticky {
    background: rgba(255, 255, 255, .92) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px 0 rgba(4, 43, 64, .12);
}

.main-menu ul > li > a {
    position: relative;
}

.main-menu ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--wwc-teal);
    transition: width .3s var(--wwc-ease);
}

.main-menu ul > li > a:hover::after,
.main-menu ul > li > a:focus::after {
    width: 100%;
}

.social-link a {
    display: inline-block;
    transition: transform .3s var(--wwc-ease), box-shadow .3s var(--wwc-ease);
    border-radius: 50%;
}

.social-link a:hover {
    transform: translateY(-4px) scale(1.08);
}

#hamburger {
    transition: transform .3s var(--wwc-ease);
}

#hamburger:hover {
    transform: scale(1.1);
    color: var(--wwc-teal);
}

/* ---------- Mobile drawer navigation ---------- */

.mobile-nav {
    background: var(--wwc-navy-dark) !important;
}

.mobile-nav .sidebar-nav .metismenu a {
    border-bottom-color: rgba(255, 255, 255, .08);
    font-weight: 600;
    letter-spacing: .2px;
}

.mobile-nav .sidebar-nav .metismenu > li > a {
    border-left: 3px solid transparent;
    transition: all .3s var(--wwc-ease);
}

.mobile-nav .sidebar-nav .metismenu > li > a:hover,
.mobile-nav .sidebar-nav .metismenu > li > a:focus {
    color: var(--wwc-teal);
    border-left-color: var(--wwc-teal);
    background: rgba(255, 255, 255, .04);
    padding-left: 20px;
}

.mobile-nav .close-nav {
    transition: transform .3s var(--wwc-ease), color .3s var(--wwc-ease);
}

.mobile-nav .close-nav:hover {
    color: var(--wwc-teal);
    transform: rotate(90deg);
}

.mobile-nav .action-bar a {
    transition: color .3s var(--wwc-ease);
}

.mobile-nav .action-bar a:hover {
    color: var(--wwc-teal);
}

.mobile-nav .action-bar a.theme-btn:hover {
    color: #fff;
}

/* ---------- Hero ---------- */

.hero-slider-active .single-slide {
    position: relative;
}

.hero-slider-active .single-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 43, 64, .65) 0%, rgba(4, 43, 64, .15) 60%, rgba(4, 43, 64, 0) 100%);
    pointer-events: none;
}

.hero-slider-active .slide-contents {
    position: relative;
    z-index: 2;
}

.hero-slider-active .slide-contents h1 {
    text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

/* ---------- Section titles ---------- */

.section-title h2, .section-title h1 {
    position: relative;
}

.section-title h2::after {
    content: "";
    display: block;
    margin: 14px auto 0;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--wwc-ocean-gradient);
}

.section-title.text-center h2::after,
.section-title h2.text-center::after {
    margin: 14px auto 0;
}

/* ---------- Cards & image treatments ---------- */

.single-cause-cat {
    border-radius: var(--wwc-radius-lg);
    box-shadow: var(--wwc-shadow-soft);
}

.single-cause-cat:hover {
    transform: translateY(-10px);
    box-shadow: var(--wwc-shadow-hover);
}

.single-service-item {
    border-radius: var(--wwc-radius-lg);
    transition: transform .35s var(--wwc-ease), box-shadow .35s var(--wwc-ease);
}

.single-service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--wwc-shadow-soft);
}

.img-thumbnail {
    border-radius: var(--wwc-radius-md) !important;
    overflow: hidden;
    box-shadow: var(--wwc-shadow-soft);
}

.acivities-img, .bt-img, .contact-loc, .queen-whale-menu .col-md-6.acivities-img {
    border-radius: var(--wwc-radius-md);
    overflow: hidden;
    box-shadow: var(--wwc-shadow-soft);
}

.acivities-img img, .bt-img img, .contact-loc img, .all-img-apply {
    border-radius: var(--wwc-radius-md);
    transition: transform .5s var(--wwc-ease);
}

.acivities-img:hover img, .bt-img:hover img, .contact-loc:hover img {
    transform: scale(1.06);
}

/* ---------- Footer / CTA ---------- */

.cta-section.theme-bg-footer {
    background: linear-gradient(160deg, var(--wwc-navy-dark) 0%, var(--wwc-navy) 100%) !important;
}

.footer-wrap .footer-widgets {
    background: var(--wwc-navy-dark);
    color: rgba(255, 255, 255, .75);
}

.footer-wrap .footer-bottom {
    background-color: #04222f !important;
}

.footer-wrap .social-link a:hover,
.cta-section .social-link a:hover {
    filter: brightness(1.15);
}

.footer-widget-col .footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-widget-col .footer-logo img {
    max-height: 56px;
    width: auto;
}

.footer-widget-col .footer-about {
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-widget-col .footer-social {
    text-align: left;
}

.footer-widget-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--wwc-teal);
}

.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    transition: color .3s var(--wwc-ease), padding-left .3s var(--wwc-ease);
}

.footer-links li a:hover {
    color: var(--wwc-teal);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.footer-contact li i {
    color: var(--wwc-teal);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact li a {
    color: rgba(255, 255, 255, .7);
    transition: color .3s var(--wwc-ease);
}

.footer-contact li a:hover {
    color: var(--wwc-teal);
}

@media (max-width: 767px) {
    .footer-widget-col {
        text-align: center;
    }

    .footer-widget-col .footer-social {
        text-align: center;
    }

    .footer-widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }
}

/* ---------- Floating WhatsApp button ---------- */
/* Positioned above the #scrollUp back-to-top button so the two never overlap */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 998;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 24px 0 rgba(37, 211, 102, .45);
    transition: transform .3s var(--wwc-ease);
    animation: wwcWhatsAppPulse 2.4s infinite;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

@keyframes wwcWhatsAppPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 8px 24px 0 rgba(37, 211, 102, .45);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 8px 24px 0 rgba(37, 211, 102, .45);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px 0 rgba(37, 211, 102, .45);
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 16px;
        bottom: 80px;
        width: 52px;
        height: 52px;
    }
}

/* ---------- Modern FAQ accordion ---------- */
/* Reuses the existing Bootstrap 4 collapse markup (#accordion > .card > .card-header > a[data-toggle=collapse] + .collapse > .card-body) */

.modern-faq {
    max-width: 900px;
    margin: 0 auto;
}

.modern-faq .card {
    border: 0;
    border-radius: var(--wwc-radius-md);
    box-shadow: var(--wwc-shadow-soft);
    overflow: hidden;
    margin-bottom: 18px;
    transition: box-shadow .35s var(--wwc-ease);
}

.modern-faq .card:hover {
    box-shadow: var(--wwc-shadow-hover);
}

.modern-faq .card-header {
    background: #fff;
    border: 0;
    padding: 0;
}

.modern-faq .card-header h4 {
    margin: 0;
}

.modern-faq .card-header a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 60px 22px 26px;
    color: var(--wwc-navy);
    font-size: 17px;
    font-weight: 700;
    position: relative;
    text-decoration: none;
}

.modern-faq .card-header a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: var(--wwc-teal);
    transition: transform .35s var(--wwc-ease);
}

.modern-faq .card-header a:not(.collapsed) {
    color: var(--wwc-teal-dark);
}

.modern-faq .card-header a:not(.collapsed)::after {
    transform: translateY(-50%) rotate(180deg);
}

.modern-faq .card-body {
    padding: 0 26px 24px;
    color: var(--wwc-ink);
    line-height: 1.7;
    border-top: 1px solid rgba(7, 89, 133, .08);
    padding-top: 18px;
}

/* ---------- Section lead paragraphs ---------- */

.section-lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: #55636b;
}

.section-lead + .section-lead {
    margin-top: 14px;
}

/* ---------- Icon feature cards (activities / highlights grids) ---------- */

.feature-grid {
    row-gap: 24px;
}

.feature-card {
    height: 100%;
    text-align: center;
    background: #fff;
    border-radius: var(--wwc-radius-md);
    box-shadow: var(--wwc-shadow-soft);
    padding: 36px 26px;
    transition: transform .35s var(--wwc-ease), box-shadow .35s var(--wwc-ease);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--wwc-shadow-hover);
}

.feature-card .feature-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--wwc-ocean-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px 0 rgba(0, 186, 163, .3);
}

.feature-card .feature-icon i {
    color: #fff;
    font-size: 26px;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--wwc-navy);
    margin-bottom: 10px;
}

.feature-card p {
    color: #6b7780;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .feature-card {
        padding: 28px 20px;
    }

    .feature-card .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .feature-card .feature-icon i {
        font-size: 22px;
    }
}

/* ---------- Responsive polish ---------- */

@media (max-width: 991px) {
    .section-title h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    h1, .page-title h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    }

    .section-title h2 {
        font-size: clamp(1.35rem, 5vw, 1.6rem) !important;
    }

    .theme-btn {
        padding: 14px 26px !important;
        font-size: 14px !important;
    }

    .single-cause-cat, .single-service-item {
        margin-bottom: 20px;
    }

    .acivities-img, .bt-img {
        margin-bottom: 16px;
    }

    .img-thumbnail, .all-img-apply {
        margin-bottom: 20px;
    }

    .modern-faq .card-header a {
        padding: 16px 46px 16px 18px;
        font-size: 15px;
    }

    .modern-faq .card-body {
        padding: 0 18px 18px;
    }

    .section-padding {
        padding: 60px 0 !important;
    }

    .footer-widget-col {
        margin-bottom: 30px;
    }

    .footer-widget-col:last-child {
        margin-bottom: 0;
    }

    table.table {
        font-size: 13px;
    }

    table.table th, table.table td {
        padding: 8px;
        white-space: nowrap;
    }
}

/* ---------- Ethical whale watching highlight banner ---------- */
.ethics-highlight {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 32px 36px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(0, 186, 163, .10) 0%, rgba(7, 89, 133, .08) 100%);
    border: 1px solid rgba(0, 186, 163, .25);
    border-left: 6px solid var(--wwc-teal);
    border-radius: var(--wwc-radius-lg);
    box-shadow: var(--wwc-shadow-soft);
}

.ethics-highlight-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wwc-ocean-gradient);
    color: #fff;
    box-shadow: 0 10px 22px 0 rgba(0, 186, 163, .35);
}

.ethics-highlight-icon svg {
    width: 30px;
    height: 30px;
}

.ethics-highlight-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wwc-teal-dark);
    margin-bottom: 8px;
}

.ethics-highlight-text h2 {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--wwc-ink);
    margin: 0;
}

@media (max-width: 767px) {
    .ethics-highlight {
        flex-direction: column;
        text-align: center;
        padding: 26px 22px;
        gap: 14px;
    }

    .ethics-highlight-text h2 {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .hero-slider-active .slide-contents h1 {
        font-size: clamp(1.5rem, 8vw, 2rem) !important;
    }

    .theme-btn {
        width: 100%;
        text-align: center;
    }

    .section-padding {
        padding: 45px 0 !important;
    }
}
