/* =============================================================
   shared.css — Merged & deduplicated styles from index.html
   and tours.html. Both pages reference this single file.
   ============================================================= */

/* === CSS Variables === */
:root {
    --ocean-blue: #1E9B8D;
    --ocean-dark: #187E74;
    --green-lush: #3D7A56;
    --green-dark: #2E6245;
    --coral: #D47830;
    --sandy: #F5EBE0;
    --dark: #221A12;
    --gold: #D49828;
    --gold-light: #E4B248;
    --stone: #FAF7F2;
    --text-primary: #332820;
    --text-secondary: #7A6E60;
}

/* === Global Resets === */
html, body {
    overflow-x: hidden;
}
* {
    font-family: 'Plus Jakarta Sans', sans-serif;
}
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* === Hero Overlay === */
/* Default (index page) */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(34, 26, 18, 0.25) 0%, rgba(34, 26, 18, 0.45) 100%);
}
/* Tours page variant */
.page-tours .hero-overlay {
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(34, 26, 18, 0.4) 100%),
        linear-gradient(135deg, rgba(30, 155, 141, 0.82) 0%, rgba(34, 26, 18, 0.7) 100%);
}

/* === Buttons === */
.btn-primary {
    background: var(--coral);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #B46428;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 120, 48, 0.3);
}

.btn-outline {
    color: var(--ocean-blue);
    border: 2px solid var(--ocean-blue);
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: var(--ocean-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid white;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: white;
    color: var(--ocean-dark);
}

/* === Card Hover === */
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* === Floating Messenger === */
.floating-messenger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #0084FF;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.4);
}
.floating-messenger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.6);
}

/* === Scroll to Top === */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 48;
    width: 44px;
    height: 44px;
    background: rgba(253, 251, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 152, 40, 0.25);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(34, 26, 18, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}
.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: rgba(253, 251, 248, 0.95);
    border-color: rgba(212, 152, 40, 0.4);
    box-shadow: 0 4px 16px rgba(34, 26, 18, 0.15);
}
.scroll-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--ocean-dark);
}

/* === Floating Island Nav === */
.nav-island {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 80rem;
    z-index: 50;
    background: rgba(250, 244, 235, 0.7);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(212, 152, 40, 0.25);
    border-radius: 1rem;
    padding: 0.45rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 32px rgba(34, 26, 18, 0.15),
                0 2px 6px rgba(34, 26, 18, 0.1);
    overflow: visible;
}
.nav-island.nav-scrolled {
    background: rgba(250, 245, 238, 0.93);
    border-color: rgba(212, 152, 40, 0.3);
    box-shadow: 0 12px 40px rgba(34, 26, 18, 0.2),
                0 3px 8px rgba(34, 26, 18, 0.12);
    top: 0.75rem;
}

/* === Hero Logo === */
.hero-logo {
    display: block;
    margin: 0 auto 1.5rem;
    height: 140px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4))
            drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    animation: logo-float 5s ease-in-out infinite;
}
@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@media (min-width: 769px) {
    .hero-logo {
        display: none;
    }
}

/* === Nav Island Links === */
.nav-island-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.25rem;
}

.nav-island-link {
    position: relative;
    padding: 0.4rem 1rem;
    color: var(--text-secondary);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    border-radius: 0.35rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}
.nav-island-link::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.8rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--coral));
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-island-link:hover {
    color: var(--dark);
}
.nav-island-link:hover::before {
    width: calc(100% - 1.6rem);
}
.nav-island-link.active {
    color: var(--dark);
    font-weight: 700;
}
.nav-island-link.active::before {
    width: calc(100% - 1.6rem);
}

/* === Nav Island Separator === */
.nav-island-sep {
    width: 7px;
    height: 7px;
    background: var(--gold);
    opacity: 0.5;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin: 0 0.6rem;
}

/* === Nav Island Language Toggle === */
.nav-island-lang {
    display: flex;
    background: rgba(212, 152, 40, 0.1);
    border-radius: 0.35rem;
    padding: 2px;
    flex-shrink: 0;
}
.nav-island-lang button {
    padding: 0.35rem 0.65rem;
    border-radius: 0.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    letter-spacing: 0.05em;
}
.nav-island-lang button.active {
    background: var(--gold);
    color: #fff;
}

/* === Nav Island CTA === */
.nav-island-cta {
    background: linear-gradient(135deg, #D47830, #C46520);
    color: #fff;
    padding: 0.55rem 1.6rem;
    border-radius: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(212, 120, 48, 0.2);
}
.nav-island-cta:hover {
    background: linear-gradient(135deg, #C46520, #B45A18);
    box-shadow: 0 4px 12px rgba(212, 120, 48, 0.35);
}

/* === Hamburger for Mobile === */
.nav-island-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    cursor: pointer;
    background: rgba(212, 152, 40, 0.08);
    border: none;
    border-radius: 0.5rem;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s;
    position: relative;
}
.nav-island-hamburger:hover {
    background: rgba(212, 152, 40, 0.15);
}
.nav-island-hamburger span {
    display: block;
    width: 14px;
    height: 1.5px;
    background: var(--ocean-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
}
.nav-island-hamburger span:nth-child(1) { transform: translateY(-3.5px); }
.nav-island-hamburger span:nth-child(3) { transform: translateY(3.5px); }
.nav-island-hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
}
.nav-island-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.nav-island-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
}

/* === Mobile Overlay Backdrop === */
.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 49;
    background: rgba(34, 26, 18, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.nav-mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* === Mobile Slide-in Panel === */
.nav-mobile-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 78vw;
    max-width: 320px;
    z-index: 51;
    background: rgba(253, 251, 248, 0.72);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    border-right: 1px solid rgba(212, 152, 40, 0.15);
    padding: 5rem 1.75rem 2.5rem;
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 8px 0 40px rgba(34, 26, 18, 0.08);
    display: flex;
    flex-direction: column;
}
.nav-mobile-panel.active {
    transform: translateX(0);
}
.nav-mobile-panel-link {
    display: block;
    padding: 0.9rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(212, 152, 40, 0.1);
    transition: all 0.25s ease;
    text-decoration: none;
}
.nav-mobile-panel-link:hover,
.nav-mobile-panel-link.active {
    color: var(--coral);
    padding-left: 0.5rem;
}
/* Active dot marker (index page mobile nav) */
.nav-mobile-panel-link.active::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--coral);
    border-radius: 50%;
    margin-right: 0.6rem;
    vertical-align: middle;
}

/* === Nav Island Brand === */
.nav-island-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    align-self: center;
    margin-top: calc(-2.5rem + 10px);
    margin-bottom: calc(-2.5rem - 10px);
}
.nav-island-brand-logo {
    height: 120px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4))
            drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    animation: logo-float-subtle 5s ease-in-out infinite;
}
@keyframes logo-float-subtle {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* === Mobile Language Row === */
.nav-mobile-lang-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 152, 40, 0.12);
}
.nav-mobile-lang-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* === Mobile Breakpoint === */
@media (max-width: 768px) {
    .nav-island {
        left: auto;
        right: 1rem;
        transform: none;
        width: auto;
        max-width: none;
        justify-content: flex-end;
        padding: 0;
        background: none;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-island.nav-scrolled {
        background: none;
        border-color: transparent;
        box-shadow: none;
    }
    .nav-island-links,
    .nav-island-sep,
    .nav-island-lang.desktop-lang,
    .nav-island-cta.desktop-cta,
    .nav-island-brand {
        display: none;
    }
    .nav-mobile-panel-brand {
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(212, 152, 40, 0.12);
    }
    .nav-mobile-panel-brand img {
        height: 140px;
        width: auto;
    }
    .nav-island-hamburger {
        display: flex;
        width: 42px;
        height: 42px;
        background: rgba(253, 251, 248, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(212, 152, 40, 0.2);
        border-radius: 0.75rem;
        box-shadow: 0 2px 12px rgba(34, 26, 18, 0.1);
    }
    .nav-island-hamburger:hover {
        background: rgba(253, 251, 248, 0.95);
    }
}

/* === Trust Badge === */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
}

/* === Tour Detail Scroll Margin === */
.tour-detail {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    .floating-messenger {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }
}

/* === Scroll Reveal Animations === */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-reveal="fade-up"] { transform: translateY(40px); }
[data-reveal="fade-left"] { transform: translateX(-40px); }
[data-reveal="fade-right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* === Hero Enhancements === */
.hero-parallax {
    transform: scale(1.1);
    will-change: transform;
}
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}
.hero-float {
    animation: float-slow 8s ease-in-out infinite;
}
.hero-float-delayed {
    animation: float-slow 10s ease-in-out 2s infinite;
}
.scroll-indicator-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.5; }
}

/* === Hero Flying Birds === */
@keyframes bird-fly-1 {
    0%   { transform: translateX(-10vw) translateY(0);    opacity: 0; }
    5%   { opacity: 0.2; }
    50%  { transform: translateX(50vw) translateY(-18px);  opacity: 0.2; }
    95%  { opacity: 0.2; }
    100% { transform: translateX(110vw) translateY(4px);   opacity: 0; }
}
@keyframes bird-fly-2 {
    0%   { transform: translateX(10vw) translateY(0) scaleX(-1);   opacity: 0; }
    5%   { opacity: 0.2; }
    50%  { transform: translateX(-50vw) translateY(-14px) scaleX(-1); opacity: 0.2; }
    95%  { opacity: 0.2; }
    100% { transform: translateX(-110vw) translateY(6px) scaleX(-1);  opacity: 0; }
}
@keyframes bird-fly-3 {
    0%   { transform: translateX(-10vw) translateY(0);    opacity: 0; }
    5%   { opacity: 0.15; }
    50%  { transform: translateX(45vw) translateY(-22px);  opacity: 0.15; }
    95%  { opacity: 0.15; }
    100% { transform: translateX(110vw) translateY(-6px);  opacity: 0; }
}
/* Wing flap keyframes */
@keyframes flap-left {
    0%, 100% { transform: rotate(-6deg); }
    50%      { transform: rotate(12deg); }
}
@keyframes flap-right {
    0%, 100% { transform: rotate(6deg); }
    50%      { transform: rotate(-12deg); }
}
.hero-bird {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    will-change: transform, opacity;
    opacity: 0;
}
.hero-bird .wing-left,
.hero-bird .wing-right {
    transform-box: fill-box;
    will-change: transform;
}
.hero-bird .wing-left {
    transform-origin: 100% 50%;
    animation: flap-left var(--flap, 3s) ease-in-out infinite;
}
.hero-bird .wing-right {
    transform-origin: 0% 50%;
    animation: flap-right var(--flap, 3s) ease-in-out infinite;
}
.hero-bird-1 {
    top: 12%;
    left: 0;
    width: 50px;
    height: 24px;
    --flap: 2.8s;
    animation: bird-fly-1 18s ease-in-out 2s infinite;
}
.hero-bird-2 {
    top: 8%;
    right: 0;
    width: 36px;
    height: 18px;
    --flap: 3.4s;
    animation: bird-fly-2 22s ease-in-out 7s infinite;
}
.hero-bird-3 {
    top: 20%;
    left: 0;
    width: 28px;
    height: 14px;
    --flap: 2.2s;
    animation: bird-fly-3 25s ease-in-out 12s infinite;
}
.hero-bird-4 {
    top: 15%;
    left: 0;
    width: 42px;
    height: 20px;
    --flap: 3s;
    animation: bird-fly-1 20s ease-in-out 0s infinite;
}
@media (max-width: 768px) {
    .hero-bird-1 { width: 32px; height: 16px; }
    .hero-bird-2 { width: 24px; height: 12px; }
    .hero-bird-3 { width: 18px; height: 9px; }
    .hero-bird-4 { width: 28px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-bird { display: none; }
}

/* === SVG Section Dividers === */
.section-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}
.section-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}
.section-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}
.section-divider-top svg {
    display: block;
    width: 100%;
    height: 60px;
}
@media (min-width: 768px) {
    .section-divider svg,
    .section-divider-top svg {
        height: 80px;
    }
}

/* === About Photo Collage (index) === */
.about-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}
.about-collage-main {
    grid-column: 1 / -1;
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.about-collage-sm {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
@media (min-width: 768px) {
    .about-collage {
        grid-template-columns: 3fr 2fr;
        grid-template-rows: 1fr 1fr;
        gap: 16px;
        height: 520px;
    }
    .about-collage-main {
        grid-column: 1;
        grid-row: 1 / -1;
        height: 100%;
    }
    .about-collage-sm {
        height: 100%;
    }
}

/* === About Stats Bar (index) === */
.about-stats-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.about-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
.about-stat-divider {
    width: 1px;
    height: 2rem;
    background: #e5e7eb;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .about-stats-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
        padding: 0.875rem 1rem;
    }
    .about-stat-divider {
        display: none;
    }
    .about-stat-item span:first-child {
        font-size: 1.25rem !important;
    }
}

/* === About Pull Quote (index) === */
.about-pullquote {
    border-left: 4px solid var(--coral);
    padding-left: 1.25rem;
    font-style: italic;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* === About Feature Cards (index) === */
.about-feature-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.about-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: white;
}
.about-feature-icon svg {
    width: 22px;
    height: 22px;
}

/* === About Image Wrapper (tours) === */
.about-image-wrapper {
    position: relative;
}
.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--gold);
    border-radius: 1rem;
    opacity: 0.5;
    z-index: -1;
}
.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.3;
    z-index: -1;
}

/* === Tour Card Overlap Design === */
.tour-card-img {
    position: relative;
    overflow: hidden;
}
.tour-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
}
.tour-card-body {
    position: relative;
    margin-top: -1.5rem;
    background: white;
    border-radius: 0.75rem 0.75rem 0 0;
    z-index: 1;
    text-align: justify;
}

/* === Gradient Hover Border for Tour Cards === */
.card-gradient-border {
    position: relative;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.card-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold), var(--coral), var(--ocean-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.card-gradient-border:hover::before {
    opacity: 1;
}
.card-gradient-border:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* === Featured Card Shine Sweep === */
.card-shine {
    position: relative;
    overflow: clip;
}
.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255,255,255,0.1) 45%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0.1) 55%,
        transparent 100%
    );
    transform: rotate(30deg) translateX(-100%);
    animation: shine-sweep 4s ease-in-out infinite;
}
@keyframes shine-sweep {
    0%, 100% { transform: rotate(30deg) translateX(-100%); }
    50% { transform: rotate(30deg) translateX(100%); }
}

/* === Testimonial Card Styling === */
.testimonial-card {
    border-left: 4px solid transparent;
    border-image: linear-gradient(to bottom, var(--gold), var(--coral)) 1;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.testimonial-avatar {
    position: relative;
}
.testimonial-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    opacity: 0.6;
}

/* === Button Ripple Effect === */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* === Floating Messenger Pulse Ring === */
.floating-messenger::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #0084FF;
    animation: fab-pulse 2s ease-out infinite;
}
@keyframes fab-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* === Badge Shimmer === */
.badge-shimmer {
    position: relative;
    overflow: hidden;
}
.badge-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: badge-shimmer 3s ease-in-out infinite;
}
@keyframes badge-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* === Nav CTA Attention Pulse === */
@keyframes nav-cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 120, 48, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(212, 120, 48, 0); }
}
/* Both selectors: index uses .nav-island-cta, tours uses .nav-cta */
.nav-island-cta,
.nav-cta {
    animation: nav-cta-pulse 2s ease-in-out 3s 2;
}

/* === Section Header Ornament === */
.section-ornament {
    display: block;
    margin: 0 auto 1rem;
    width: 60px;
    height: 20px;
    opacity: 0.6;
}

/* === Heading Gradient === */
.heading-gradient {
    background: linear-gradient(135deg, var(--dark) 0%, var(--ocean-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Lead Magnet Enhancements === */
.lead-gradient-bg {
    background: linear-gradient(270deg, #1E9B8D, #3D7A56, #1E9B8D, #187E74);
    background-size: 400% 400%;
    animation: lead-gradient 8s ease infinite;
}
@keyframes lead-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.glass-input {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white !important;
}
.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.glass-input:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5);
}

/* === Footer Gradient Brand === */
.footer-brand-gradient {
    background: linear-gradient(135deg, var(--gold), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Tour Detail Image Frame === */
.tour-image-frame {
    position: relative;
}
.tour-image-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--gold);
    border-radius: 1rem;
    opacity: 0.4;
    z-index: -1;
}

/* === Consultations Dot Grid BG === */
.dot-grid-bg {
    background-image: radial-gradient(circle, rgba(26,122,109,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* === Low Opacity Tropical Leaf Accents === */
.tropical-accent {
    position: absolute;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}
@media (max-width: 768px) {
    .tropical-accent, .hero-decoration { display: none; }
}

.hero-decoration {
    pointer-events: none;
    z-index: 5;
}

/* === Attractions Section (index) === */
.attraction-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.attraction-tab {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #e5e0d8;
    background: white;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.attraction-tab:hover {
    border-color: var(--coral);
    color: var(--coral);
}
.attraction-tab.active {
    background: var(--coral);
    border-color: var(--coral);
    color: white;
}
.attraction-card {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.attraction-card.hidden-card {
    display: none;
}
.attraction-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.attraction-card-icon svg {
    width: 2rem;
    height: 2rem;
}
@media (max-width: 640px) {
    .attraction-tabs {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .attraction-tab {
        padding: 0.4rem 0.85rem;
        font-size: 0.8rem;
    }
}

/* === Balinese Background Symbols === */
.bali-symbol {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
    color: var(--ocean-blue);
}
.bali-symbol svg {
    width: 100%;
    height: 100%;
}
.bali-symbol--gold { color: var(--gold); }
.bali-symbol--green { color: var(--green-lush); }
.bali-symbol--coral { color: var(--coral); opacity: 0.10; }

/* Sizes */
.bali-symbol--sm { width: 140px; height: 140px; }
.bali-symbol--md { width: 220px; height: 220px; }
.bali-symbol--lg { width: 320px; height: 320px; }
.bali-symbol--xl { width: 420px; height: 420px; }

/* Gentle spin for some symbols */
@keyframes bali-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes bali-float-reverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(10px) rotate(-3deg); }
}
.bali-symbol--float { animation: bali-float 12s ease-in-out infinite; }
.bali-symbol--float-reverse { animation: bali-float-reverse 14s ease-in-out infinite; }
.bali-symbol--float-slow { animation: bali-float 20s ease-in-out infinite; }

/* Slightly smaller on mobile */
@media (max-width: 768px) {
    .bali-symbol { opacity: 0.08; }
    .bali-symbol--sm { width: 100px; height: 100px; }
    .bali-symbol--md { width: 150px; height: 150px; }
    .bali-symbol--lg { width: 200px; height: 200px; }
    .bali-symbol--xl { display: none; }
}
