/* ============================================================
   Komani Boat Trips — visual identity
   Palette: turquoise Shala + kanjone emerald (premium)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
    --canyon-deep: #042420;   /* nav, footer, seksionet e errta  */
    --canyon:      #0b3b36;   /* emerald                         */
    --canyon-mid:  #14564f;   /* mid water                       */
    --turquoise:   #14b8a0;   /* Shala River turquoise (accent)  */
    --turquoise-br:#2dd4bf;   /* bright highlight                */
    --gold:        #14b8a0;   /* turkuaz si aksent kryesor       */
    --gold-soft:   #5eead4;   /* turkuaz i çelët                 */
    --mist:        #f0faf8;   /* background turkuaz shumë i çelët*/
    --stone:       #4a6b62;   /* tekst muted                     */
    --ink:         #0a2620;   /* tekst kryesor                   */
    --line:        rgba(10, 38, 32, 0.12);

    --display: 'Cormorant Garamond', Georgia, serif;
    --body: 'Jost', system-ui, sans-serif;

    --maxw: 1180px;
    --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-weight: 300;
    color: var(--ink);
    background: var(--mist);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

a { color: inherit; text-decoration: none; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

.eyebrow {
    font-family: var(--body);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--body);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-turq { background: var(--turquoise); color: #fff; }
.btn-turq:hover { background: var(--canyon); transform: translateY(-2px); }
.btn-full { width: 100%; text-align: center; }

/* ---------- Nav ---------- */
.nav {
    position: absolute; top: 0; left: 0; right: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between;
    padding: 26px 0;
}
.nav.solid { position: sticky; background: var(--canyon-deep); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand svg { width: 30px; height: 30px; }
.brand-name { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft); display: block; margin-top: -4px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.82rem; letter-spacing: 0.06em; transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* ---------- Hamburger toggle (hidden on desktop) ---------- */
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(4,36,32,0.6) 0%, rgba(4,36,32,0.1) 40%, rgba(4,36,32,0.9) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 660px; padding: 60px 0; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 18px 0 22px; }
.hero h1 em { font-style: italic; color: var(--turquoise-br); }
.hero p { font-size: 1.1rem; font-weight: 300; color: rgba(255,255,255,0.9); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.75); }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Section shell ---------- */
.section { padding: 92px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0; }
.section-head p { color: var(--stone); font-size: 1.02rem; }

/* ---------- Tour cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line);
    display: flex; flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(10,38,32,0.14); }
.card-media { position: relative; height: 200px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-route {
    position: absolute; left: 14px; bottom: 14px; z-index: 2;
    background: rgba(4,36,32,0.78); color: #fff; backdrop-filter: blur(4px);
    font-size: 0.7rem; letter-spacing: 0.04em; padding: 6px 12px; border-radius: 40px;
}
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.55rem; margin-bottom: 6px; }
.card-summary { color: var(--stone); font-size: 0.92rem; margin-bottom: 18px; flex: 1; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px;
    border-radius: 40px; background: rgba(20,184,160,0.1); color: var(--canyon-deep); }
.tag-gold { background: rgba(20,184,160,0.16); color: #0d7d6e; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); }
.price { font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.price small { font-family: var(--body); font-size: 0.72rem; font-weight: 300; color: var(--stone); letter-spacing: 0.04em; }

/* ---------- CSS canyon placeholder ---------- */
.canyon-ph { width: 100%; height: 100%; position: relative; background: linear-gradient(180deg, #1b5f73 0%, #14564f 55%, var(--turquoise) 100%); }
.canyon-ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Feature strip ---------- */
.features { background: var(--canyon-deep); color: #fff; }
.features .grid { grid-template-columns: repeat(4, 1fr); gap: 36px; }
.feature h3 { font-size: 1.3rem; color: var(--gold-soft); margin-bottom: 8px; }
.feature p { font-size: 0.9rem; color: rgba(255,255,255,0.78); }
.feature .num { font-family: var(--display); font-size: 1.1rem; color: var(--turquoise-br); display:block; margin-bottom: 14px; letter-spacing: 0.1em; }

/* ---------- Tour detail ---------- */
.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.detail-media { height: 420px; border-radius: var(--radius); overflow: hidden; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin: 6px 0 14px; }
.detail-meta { display: flex; gap: 26px; flex-wrap: wrap; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta-item .k { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.meta-item .v { font-family: var(--display); font-size: 1.3rem; }
.detail-desc { color: #1a3530; font-size: 1.04rem; }

/* ---------- Booking form ---------- */
.booking-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: sticky; top: 24px; }
.booking-box h3 { font-size: 1.8rem; margin-bottom: 4px; }
.booking-price { color: var(--stone); margin-bottom: 22px; font-size: 0.92rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.field input {
    width: 100%; padding: 12px 14px; font-family: var(--body); font-size: 0.95rem;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist);
    transition: border-color .2s, background .2s;
}
.field input:focus { outline: none; border-color: var(--gold); background: #fff; }
.field-error { color: #b23b3b; font-size: 0.76rem; margin-top: 5px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.total-line .price { font-size: 2rem; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; }
.alert-error { background: rgba(178,59,59,0.1); color: #8f2f2f; border: 1px solid rgba(178,59,59,0.25); }

/* ---------- Confirmation ---------- */
.confirm { text-align: center; max-width: 640px; margin: 0 auto; padding: 40px 0; }
.confirm .seal { width: 76px; height: 76px; margin: 0 auto 24px; }
.confirm h1 { font-size: 3rem; margin-bottom: 10px; }
.confirm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin: 30px 0; text-align: left; }
.confirm-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.confirm-row:last-child { border-bottom: none; }
.confirm-row .k { color: var(--stone); font-size: 0.86rem; letter-spacing: 0.04em; }
.confirm-row .v { font-weight: 500; }

/* ---------- Page header (sub pages) ---------- */
.page-head { background: var(--canyon-deep); color: #fff; padding: 130px 0 70px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 10px 0; }
.page-head p { color: rgba(255,255,255,0.8); max-width: 560px; }

/* ---------- WhatsApp contact section ---------- */
.whatsapp-section { background: var(--canyon-deep); color: #fff; text-align: center; }
.whatsapp-section .wrap { max-width: 520px; }
.whatsapp-section h2 { color: #fff; margin: 12px 0 14px; }
.whatsapp-section p { color: rgba(255,255,255,0.78); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--canyon-deep); color: rgba(255,255,255,0.8); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-family: var(--body); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.footer a { display: block; color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .brand-name { color: #fff; }
.footer p { font-size: 0.9rem; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; font-size: 0.78rem; color: rgba(255,255,255,0.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .features .grid { grid-template-columns: repeat(2, 1fr); }
    .detail { grid-template-columns: 1fr; }
    .detail-media { height: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile fine-tuning ---------- */
@media (max-width: 600px) {
    .grid, .features .grid, .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: 78vh; }
    .row-2 { grid-template-columns: 1fr; }
    .wrap { padding: 0 20px; }

    .hero-content { padding: 40px 0; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; width: 100%; }
    .hero-trust { flex-direction: column; gap: 10px; }

    .section { padding: 56px 0; }
    .section-head h2 { font-size: 1.7rem; }

    .card-media { height: 170px; }

    .booking-box { position: static; padding: 22px; }
    .detail-meta { gap: 16px; }

    .footer-bottom { flex-direction: column; text-align: center; }

    a[href*="wa.me"][style*="position:fixed"] {
        padding: 10px 6px !important;
    }
    a[href*="wa.me"][style*="position:fixed"] svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* Hamburger menu */
    .nav-toggle {
        display: flex !important;
        width: 42px;
        height: 42px;
        border: none;
        background: rgba(255,255,255,0.12);
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 78%;
        max-width: 320px;
        height: 100vh;
        background: var(--canyon-deep);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 90px 30px;
        gap: 26px;
        z-index: 998;
        box-shadow: -8px 0 30px rgba(0,0,0,0.3);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
    }
    .nav-links .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 2rem; }
    .wrap { padding: 0 16px; }
}

/* ============================================================
   PREMIUM EFFECTS
   ============================================================ */

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }

/* Hero parallax layers */
.hero-bg {
    will-change: transform;
    transition: transform 0.1s linear;
}
.hero-content {
    will-change: transform, opacity;
}

/* Hero entrance animation */
.hero .eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
.hero h1 {
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
}
.hero p {
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.6s forwards;
}
.hero-actions {
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.8s forwards;
}
.hero-trust {
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 1s forwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Premium card hover - lift + glow + image zoom */
.card { will-change: transform; }
.card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 32px 64px rgba(10,38,32,0.16), 0 0 0 1px rgba(20,184,160,0.2),
                0 0 32px rgba(20,184,160,0.12);
}
.card-media img {
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.5s ease;
}
.card:hover .card-media img {
    transform: scale(1.1);
    filter: saturate(1.15) brightness(1.03);
}
.card-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(4,36,32,0.25) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.card:hover .card-media::after { opacity: 1; }

/* Button shine sweep */
.btn { position: relative; overflow: hidden; }
.btn::before {
    content: "";
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn:hover::before { left: 130%; }

/* Magnetic-ish button press */
.btn:active { transform: scale(0.96); }

/* Feature cards subtle hover */
.feature {
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    cursor: default;
}
.feature:hover {
    transform: translateY(-6px);
}
.feature:hover .num {
    color: var(--gold-soft);
    transition: color 0.3s ease;
}

/* Smooth nav background fade on scroll */
.nav.solid {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* WhatsApp tab pulse to draw attention */
@keyframes waPulse {
    0%, 100% { box-shadow: -4px 0 18px rgba(37,211,102,0.5); }
    50% { box-shadow: -4px 0 30px rgba(37,211,102,0.85), -4px 0 50px rgba(37,211,102,0.3); }
}
a[href*="wa.me"][style*="position:fixed"] {
    animation: waPulse 2.8s ease-in-out infinite;
}

/* Price number count-up ready state */
.price { transition: opacity 0.3s ease; }

/* Section heads slide-in underline */
.section-head h2 {
    position: relative;
    display: inline-block;
}
.section-head .eyebrow {
    position: relative;
    display: inline-block;
}
.section-head .eyebrow::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
.reveal.visible .section-head .eyebrow::after,
.reveal-stagger.visible .eyebrow::after { width: 48px; }

/* ---------- Extra depth & glow (turquoise/canyon palette) ---------- */
.btn-gold {
    background: linear-gradient(135deg, var(--turquoise) 0%, #0d9488 100%);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--turquoise-br) 0%, var(--turquoise) 100%);
    box-shadow: 0 8px 24px rgba(20,184,160,0.35);
}
.btn-turq {
    background: linear-gradient(135deg, #0d9488 0%, var(--canyon) 100%);
}
.features {
    background: linear-gradient(180deg, var(--canyon-deep) 0%, #062b25 100%);
}
.whatsapp-section {
    background: linear-gradient(180deg, var(--canyon-deep) 0%, #062b25 100%);
}
.footer {
    background: linear-gradient(180deg, var(--canyon-deep) 0%, #021713 100%);
}
.price {
    background: linear-gradient(135deg, var(--ink) 0%, var(--canyon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.card-route {
    background: rgba(4,36,32,0.85);
    backdrop-filter: blur(6px);
}
.eyebrow {
    background: linear-gradient(90deg, var(--turquoise) 0%, var(--turquoise-br) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.feature .num {
    text-shadow: 0 0 20px rgba(45,212,191,0.4);
}

/* Disable heavy effects on reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > *, .hero .eyebrow, .hero h1, .hero p,
    .hero-actions, .hero-trust {
        opacity: 1 !important; transform: none !important; animation: none !important;
    }
    a[href*="wa.me"][style*="position:fixed"] { animation: none !important; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}