/* ============================================
   SK Travel Planner — Sunset Views Theme
   ============================================ */
:root {
    /* ---- Sunset Color Palette ---- */
    --primary: #D96C3F;
    --primary-dark: #9E3F2F;
    --primary-light: #F08A55;

    --accent: #F4B942;
    --accent-dark: #D8891E;
    --accent-light: #FFD166;

    --dark: #29213A;
    --dark-lighter: #403451;

    --text: #332C35;
    --text-muted: #756B73;

    --light: #FFF8F0;
    --light-darker: #F2E4D5;

    --white: #FFFFFF;

    --success: #3E8E68;
    --danger: #D94B4B;
    --warning: #D99A2B;

    --border: #DECFC2;

    --shadow: 0 4px 20px rgba(73, 43, 35, 0.09);
    --shadow-lg: 0 14px 40px rgba(73, 43, 35, 0.17);

    --radius: 12px;
    --radius-sm: 8px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --float-gap: 16px;          /* space from screen edges */
    --safe-bottom: 0px; 
}


/* ============================================
   RESET
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ============================================
   UTILITY
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   PREMIUM TOURISM HERO
   Organic Curve • Warm Sunset • Cool Nature
============================================================ */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 680px;
    padding: 110px 0 170px;

    display: flex;
    align-items: center;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(255, 190, 111, 0.45),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(82, 177, 166, 0.35),
            transparent 32%
        ),
        linear-gradient(
            125deg,
            #174e54 0%,
            #217477 42%,
            #4b9b8c 68%,
            #f0a263 120%
        );

    border-radius: 0 0 55% 18% / 0 0 14% 8%;

    box-shadow:
        0 25px 60px rgba(31, 83, 80, 0.16);
}


/* ============================================================
   LARGE ORGANIC GLOW
============================================================ */

.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    top: -330px;
    right: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 201, 126, 0.42),
            rgba(255, 174, 101, 0.14) 45%,
            transparent 72%
        );

    filter: blur(8px);

    z-index: -1;
}


/* ============================================================
   COOL DECORATIVE BUBBLE
============================================================ */

.hero::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    left: -190px;
    bottom: -230px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(114, 208, 193, 0.38),
            rgba(60, 147, 145, 0.10) 55%,
            transparent 73%
        );

    filter: blur(5px);

    z-index: -1;
}


/* ============================================================
   HERO CONTAINER
============================================================ */

.hero .container {
    position: relative;
    z-index: 5;
}


/* ============================================================
   HERO CONTENT
============================================================ */

.hero-content {
    max-width: 760px;
}


/* ============================================================
   SMALL EYEBROW
============================================================ */

.hero-eyebrow {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding: 8px 15px;

    margin-bottom: 20px;

    border: 1px solid rgba(255,255,255,0.28);

    border-radius: 30px;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff6e9;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.5px;
}

.hero-eyebrow i {
    color: #ffd18c;
}


/* ============================================================
   HERO TITLE
============================================================ */

.hero h1 {
    margin: 0 0 22px;

    font-size: clamp(42px, 6vw, 76px);

    line-height: 1.04;

    font-weight: 850;

    letter-spacing: -2.5px;

    color: #ffffff;

    text-shadow:
        0 8px 25px rgba(0,0,0,0.12);
}


/* Highlight part of title */
.hero h1 .highlight {
    color: #ffd08a;

    background:
        linear-gradient(
            90deg,
            #ffd18c,
            #ffb875,
            #ffe1a9
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* ============================================================
   HERO DESCRIPTION
============================================================ */

.hero p {
    max-width: 650px;

    margin-bottom: 32px;

    color: rgba(255,255,255,0.86);

    font-size: 17px;

    line-height: 1.8;
}


/* ============================================================
   HERO BUTTONS
============================================================ */

.hero-actions {
    display: flex;

    align-items: center;

    gap: 13px;

    flex-wrap: wrap;
}


.hero .btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 14px 25px;

    border: none;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f4a261,
            #e98261
        );

    color: #ffffff;

    font-weight: 750;

    box-shadow:
        0 12px 28px rgba(204, 102, 70, 0.28);

    transition: all 0.25s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 17px 34px rgba(204, 102, 70, 0.35);
}


.hero .btn-outline {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 13px 24px;

    border: 1px solid rgba(255,255,255,0.4);

    border-radius: 14px;

    background: rgba(255,255,255,0.10);

    color: #ffffff;

    backdrop-filter: blur(8px);

    font-weight: 700;

    transition: all 0.25s ease;
}

.hero .btn-outline:hover {
    background: rgba(255,255,255,0.20);

    border-color: rgba(255,255,255,0.7);

    transform: translateY(-3px);
}


/* ============================================================
   FLOATING TOURISM DECORATION
============================================================ */

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    z-index: 1;
}

.hero-decoration.one {
    width: 75px;
    height: 75px;

    top: 20%;
    right: 13%;

    background:
        linear-gradient(
            135deg,
            rgba(255,211,142,0.8),
            rgba(244,157,100,0.45)
        );

    box-shadow:
        0 15px 40px rgba(255,177,105,0.22);

    animation: heroFloat 6s ease-in-out infinite;
}

.hero-decoration.two {
    width: 35px;
    height: 35px;

    top: 62%;
    right: 28%;

    background:
        rgba(164, 231, 216, 0.45);

    animation: heroFloat 5s ease-in-out infinite reverse;
}


/* ============================================================
   FLOAT ANIMATION
============================================================ */

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}


/* ============================================================
   EXTRA ORGANIC BOTTOM WAVE
============================================================ */

.hero-wave {
    position: absolute;

    left: -5%;
    bottom: -1px;

    width: 110%;
    height: 120px;

    background: #ffffff;

    border-radius:
        50% 50% 0 0 /
        100% 100% 0 0;

    z-index: 4;
}


/* ============================================================
   ALTERNATIVE: DEEP ORGANIC WAVE
============================================================ */

.hero-wave.deep {
    height: 150px;

    border-radius:
        65% 35% 0 0 /
        100% 100% 0 0;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 768px) {

    .hero {
        min-height: 620px;

        padding:
            90px 0
            140px;

        border-radius:
            0 0 35% 8% /
            0 0 8% 4%;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 58px);

        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-wave {
        height: 80px;
    }

    .hero-decoration.one {
        right: 5%;
        width: 55px;
        height: 55px;
    }
}


/* ============================================================
   VERY SMALL DEVICES
============================================================ */

@media (max-width: 480px) {

    .hero {
        min-height: 600px;

        padding-top: 80px;
        padding-bottom: 120px;

        border-radius:
            0 0 25% 5% /
            0 0 6% 3%;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .hero .btn-primary,
    .hero .btn-outline {
        width: 100%;
    }

    .hero-wave {
        height: 60px;
    }
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(
        135deg,
        var(--primary-light),
        var(--primary)
    );
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 108, 63, 0.30);
}

.btn-accent {
    background: linear-gradient(
        135deg,
        var(--accent),
        var(--accent-dark)
    );
    color: var(--dark);
}

.btn-accent:hover {
    background: linear-gradient(
        135deg,
        var(--accent-light),
        var(--accent)
    );
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(244, 185, 66, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #B93636;
    color: var(--white);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}


/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideDown 0.4s ease;
}

.alert-success {
    background: #E1F2E8;
    color: #246044;
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: #FBE3E3;
    color: #842F2F;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: #FFF0CE;
    color: #775511;
    border-left: 4px solid var(--warning);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background: linear-gradient(
        135deg,
        #29213A 0%,
        #3C2D4B 55%,
        #553344 100%
    );

    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow:
        0 2px 15px rgba(41, 33, 58, 0.28);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;

    color: var(--white);

    /* Logo via pseudo-element */
    position: relative;
    padding-left: 48px;  /* space for the logo */
}

.navbar-brand img {
    height: 36px;      /* adjust to match your design */
    width: auto;       /* keeps aspect ratio */
    border-radius: 4px; /* optional: slight rounding */
    object-fit: contain;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;

    .icon-box {
      background:
        linear-gradient(135deg, rgb(0 0 0 / 0.15), rgb(0 0 0 / 0.15)),
        linear-gradient(135deg, var(--accent), var(--primary));
      color: #fff;
    }

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;

    box-shadow:
        0 5px 15px rgba(244, 185, 66, 0.25);
}

.navbar-brand:hover {
    color: var(--accent-light);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-nav a {
    color: rgba(255,255,255,0.78);
    padding: 8px 16px;

    border-radius: var(--radius-sm);

    font-weight: 500;
    font-size: 15px;

    transition: all var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--white);

    background:
        rgba(244, 185, 66, 0.15);

    box-shadow:
        inset 0 -2px 0 var(--accent);
}



/* ============================================
   HERO — SUNSET SKY
   ============================================ */

.hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #29213A 0%,
            #553344 28%,
            #9E3F2F 52%,
            #D96C3F 72%,
            #F4B942 100%
        );
}


/* Sun glow */

.hero::before {
    content: '';

    position: absolute;

    top: -180px;
    right: 5%;

    width: 520px;
    height: 520px;

    background:
        radial-gradient(
            circle,
            rgba(255, 209, 102, 0.45) 0%,
            rgba(244, 185, 66, 0.20) 28%,
            transparent 70%
        );

    border-radius: 50%;

    animation:
        heroGlow 8s ease-in-out infinite alternate;
}


/* Warm horizon glow */

.hero::after {
    content: '';

    position: absolute;

    bottom: -200px;
    left: -5%;

    width: 650px;
    height: 450px;

    background:
        radial-gradient(
            circle,
            rgba(240, 138, 85, 0.28) 0%,
            rgba(217, 108, 63, 0.12) 40%,
            transparent 70%
        );

    border-radius: 50%;

    animation:
        heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, -20px) scale(1.1);
    }
}


.hero-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 900;

    color: var(--white);

    margin-bottom: 16px;

    line-height: 1.15;

    text-shadow:
        0 4px 20px rgba(0,0,0,0.20);
}

.hero-content h1 span {
    color: var(--accent-light);
}

.hero-content p {
    font-size: 19px;

    color: rgba(255,255,255,0.86);

    margin-bottom: 32px;

    max-width: 560px;
}


/* ============================================
   HERO FLOATING SHAPES
   ============================================ */

/* =========================================================
   Hero decoration — travel theme
   Replaces the old .hero-shapes / .hero-shape / @keyframes float
   Works with your existing markup (3 × .hero-shape, inline size/position)
   Shape 1 = flight-route ring with a plane dot
   Shape 2 = compass ring with tick marks
   Shape 3 = golden-hour glow
========================================================= */

.hero-shapes {
    --ring: rgba(255, 255, 255, .24);
    --ring-soft: rgba(255, 255, 255, .10);
    --gold: #f5b841;

    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Sunset glow (top right) + ocean glow (bottom left) */
.hero-shapes::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 520px at 82% 18%, rgba(245, 184, 65, .22), transparent 70%),
        radial-gradient(640px 640px at 8% 88%, rgba(56, 189, 248, .18), transparent 70%);
}

/* Faint dotted "world map" texture that fades toward the edges */
.hero-shapes::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 20%, transparent 75%);
}

/* Keep hero text above the decoration */
.hero-content { position: relative; z-index: 1; }

/* ---------- Shape 1: flight route ---------- */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed var(--ring);
    animation:
        route-orbit 90s linear infinite,
        route-drift 18s ease-in-out infinite;
}

/* inner ring */
.hero-shape::before {
    content: "";
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 1px solid var(--ring-soft);
}

/* the "plane" travelling along the route */
.hero-shape::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow:
        0 0 0 4px rgba(245, 184, 65, .18),
        0 0 18px 4px rgba(245, 184, 65, .55);
}

/* ---------- Shape 2: compass ---------- */
.hero-shape:nth-child(2) {
    border: 1px solid var(--ring-soft);
    animation-duration: 120s, 22s;
    animation-direction: reverse, normal;
}

.hero-shape:nth-child(2)::before {
    inset: 5%;
    border: 0;
    background: repeating-conic-gradient(rgba(255, 255, 255, .38) 0 .5deg, transparent .5deg 7.5deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
}

.hero-shape:nth-child(2)::after {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: #fff;
    box-shadow: 0 0 12px 2px rgba(255, 255, 255, .5);
}

/* ---------- Shape 3: golden-hour glow ---------- */
.hero-shape:nth-child(3) {
    border: 0;
    background: radial-gradient(
        circle at 35% 30%,
        rgba(255, 255, 255, .16),
        rgba(56, 189, 248, .08) 55%,
        transparent 72%
    );
    animation: route-drift 24s ease-in-out infinite;
}

.hero-shape:nth-child(3)::before,
.hero-shape:nth-child(3)::after { display: none; }

/* ---------- Motion ---------- */
@keyframes route-orbit {
    to { transform: rotate(360deg); }
}

@keyframes route-drift {
    0%, 100% { translate: 0 0; }
    33%      { translate: 14px -18px; }
    66%      { translate: -12px 12px; }
}

/* ---------- Small screens & accessibility ---------- */
@media (max-width: 768px) {
    .hero-shape { opacity: .65; }
    .hero-shape:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-shape { animation: none; }
}
/*================================
Hero scene
===================*/
/* =========================================================
   hero-scene.css — pure CSS travel landscape for the hero
   Layers (back → front): sun, far mountains, near mountains,
   sea + waves, sailboat, back hill (pines), front hill (tourists),
   side hill.  Load AFTER style.css and hero-shapes.css.
========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    /* leave room so the text never sits on the landscape */
    padding-bottom: clamp(140px, 22vw, 260px);
}

.hero-scene {
    --scene-h: clamp(150px, 24vw, 300px);

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--scene-h);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-scene > * { position: absolute; }

/* ---------- Sun ---------- */
.sun {
    left: calc(61% - 3vw);
    bottom: 38%;
    width: clamp(46px, 6vw, 84px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #fff3c4, #f5b841 60%, #f59e0b);
    box-shadow:
        0 0 0 clamp(8px, 1.6vw, 20px) rgba(245, 184, 65, .14),
        0 0 60px 20px rgba(245, 184, 65, .35);
}

/* ---------- Mountains (triangle + snow cap) ---------- */
.mountain {
    left: var(--l);
    bottom: 0;
    width: var(--w);
    height: var(--mh);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: linear-gradient(100deg, var(--lit) 50%, var(--shade) 50%);
}

.mountain::after {
    content: "";
    position: absolute;
    top: 0;
    left: 35%;
    width: 30%;
    height: 30%;
    background: linear-gradient(100deg, rgba(255, 255, 255, .96) 50%, rgba(208, 222, 255, .92) 50%);
    clip-path: polygon(50% 0, 100% 100%, 76% 78%, 58% 100%, 40% 80%, 22% 100%, 0 100%);
}

.mountain.far  { --lit: rgba(150, 178, 255, .38); --shade: rgba(105, 135, 225, .38); }
.mountain.far::after { opacity: .7; }
.mountain.near { --lit: rgba(96, 128, 212, .72);  --shade: rgba(58, 84, 170, .78); }

.m5 { --l: -6%; --w: 26%; --mh: 62%; }
.m1 { --l: 12%; --w: 30%; --mh: 80%; }
.m2 { --l: 34%; --w: 32%; --mh: 92%; }
.m3 { --l: 56%; --w: 30%; --mh: 68%; }
.m4 { --l: 76%; --w: 32%; --mh: 56%; }

/* ---------- Sea ---------- */
.sea {
    left: 0;
    right: 0;
    bottom: 0;
    height: 27%;
    background: linear-gradient(#27a9dc, #0d5d9c 70%, #0a4a82);
}

.wave {
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background-repeat: repeat-x;
    animation: wave-x var(--speed) linear infinite;
}

/* crest line that gives the sea its rippling top edge */
.wave.w1 {
    --tile: 44px;
    --speed: 9s;
    top: -10px;
    background-image: radial-gradient(circle at 22px -3px, transparent 18px, #27a9dc 19px);
    background-size: 44px 20px;
}

/* lighter foam lines */
.wave.w2 {
    --tile: 60px;
    --speed: 14s;
    top: 8px;
    background-image: radial-gradient(circle at 30px -3px, transparent 25px, rgba(255, 255, 255, .16) 26px);
    background-size: 60px 20px;
    animation-direction: reverse;
}

@keyframes wave-x { to { background-position: var(--tile) 0; } }

/* sun reflection */
.sea::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(61% - 1vw);
    width: 4vw;
    background: repeating-linear-gradient(to bottom, rgba(245, 184, 65, .55) 0 3px, transparent 3px 9px);
    -webkit-mask-image: linear-gradient(#000, transparent);
            mask-image: linear-gradient(#000, transparent);
    animation: glitter 3.2s ease-in-out infinite;
}

@keyframes glitter { 50% { opacity: .45; transform: scaleX(.8); } }

/* ---------- Sailboat ---------- */
.boat {
    left: 70%;
    bottom: 15%;
    width: 44px;
    height: 46px;
    animation: boat-bob 5s ease-in-out infinite;
}

.boat::before { /* hull */
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 9px;
    background: #f8fafc;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%);
}

.boat i { /* main sail */
    position: absolute;
    left: 22px;
    bottom: 9px;
    width: 20px;
    height: 34px;
    background: #fff;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.boat::after { /* small sail */
    content: "";
    position: absolute;
    left: 4px;
    bottom: 9px;
    width: 15px;
    height: 24px;
    background: #ffd98a;
    clip-path: polygon(100% 20%, 100% 100%, 0 100%);
}

@keyframes boat-bob {
    0%, 100% { translate: 0 0;   rotate: -2deg; }
    50%      { translate: 0 -3px; rotate: 2deg; }
}

/* ---------- Hills ---------- */
.hill {
    bottom: 0;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, .12);
}

.hill.back  { left: -14%; width: 66%; height: 44%; background: linear-gradient(#2c8f6f, #17594a); }
.hill.front { left: -6%;  width: 50%; height: 31%; background: linear-gradient(#39b487, #1e765d); }
.hill.side  { right: -14%; width: 34%; height: 21%; background: linear-gradient(#2fa37b, #18604d); }

/* pine trees on the back hill (position set inline: --x, --b) */
.pine {
    position: absolute;
    left: var(--x);
    bottom: var(--b);
    width: 20px;
    height: 34px;
    background: linear-gradient(100deg, #1f7a5e 50%, #14503f 50%);
    clip-path: polygon(50% 0, 78% 34%, 64% 34%, 90% 66%, 72% 66%, 100% 100%, 0 100%, 28% 66%, 10% 66%, 36% 34%, 22% 34%);
}

/* ---------- Tourists ---------- */
.tourist {
    --jacket: #ef4444;
    --pants: #1e293b;
    --hat: #fff;
    --pack: #10b981;
    --skin: #f1c7a0;

    position: absolute;
    left: var(--x);
    bottom: calc(100% + 11px);
    width: 12px;
    height: 22px;
    border-radius: 6px 6px 3px 3px;
    background: var(--jacket);
    animation: bob .7s ease-in-out infinite;
}

.tourist::before { /* head + cap */
    content: "";
    position: absolute;
    top: -11px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: var(--skin);
    box-shadow: inset 0 4px 0 var(--hat);
}

.tourist::after { /* backpack */
    content: "";
    position: absolute;
    top: 2px;
    left: -6px;
    width: 8px;
    height: 15px;
    border-radius: 4px;
    background: var(--pack);
}

.tourist .leg {
    position: absolute;
    bottom: -14px;
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: var(--pants);
    transform-origin: top center;
    animation: step .7s ease-in-out infinite;
}

.tourist .leg.l { left: 2px; }
.tourist .leg.r { right: 2px; animation-direction: reverse; }

.tourist .arm {
    position: absolute;
    top: 3px;
    right: -3px;
    width: 3px;
    height: 10px;
    border-radius: 2px;
    background: var(--jacket);
    filter: brightness(.82);
    transform-origin: top center;
    animation: swing .7s ease-in-out infinite;
}

/* walker 1: strolls back and forth along the crest */
.t1 { --x: 34%; animation: bob .7s ease-in-out infinite, stroll 22s linear infinite; }

/* waving tourist: stands still */
.t2 { --x: 50%; --jacket: #f5b841; --hat: #f97316; --pack: #6366f1; --skin: #c68b5f; animation-duration: 1.6s; }
.t2 .leg { animation: none; transform: none; }
.t2 .arm { animation: wave-arm 1.1s ease-in-out infinite; }

/* child walking with walker 1 */
.t3 { --x: 40%; --jacket: #38bdf8; --hat: #f43f5e; --pack: #f43f5e; --skin: #8d5a3b; zoom: .75;
      animation: bob .6s ease-in-out infinite, stroll 22s linear infinite; }

@keyframes bob   { 50% { transform: translateY(-1.5px); } }
@keyframes step  { 0%, 100% { transform: rotate(24deg); } 50% { transform: rotate(-24deg); } }
@keyframes swing { 0%, 100% { transform: rotate(22deg); } 50% { transform: rotate(-22deg); } }
@keyframes wave-arm { 0%, 100% { transform: rotate(-165deg); } 50% { transform: rotate(-125deg); } }

/* walk 70px right, turn around, walk back */
@keyframes stroll {
    0%       { translate: 0 0;    scale: 1 1; }
    49.9%    { translate: 70px 0; scale: 1 1; }
    50%      { translate: 70px 0; scale: -1 1; }
    99.9%    { translate: 0 0;    scale: -1 1; }
    100%     { translate: 0 0;    scale: 1 1; }
}

/* ---------- Responsive & accessibility ---------- */
@media (max-width: 640px) {
    .boat, .m5 { display: none; }
    .pine:nth-child(n+4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scene *,
    .hero-scene *::before,
    .hero-scene *::after { animation: none !important; }
}

/* ============================================
   ITINERARY CARDS
   ============================================ */

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(360px, 1fr));

    gap: 30px;
}

.itin-card {
    background: var(--white);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: all var(--transition);

    position: relative;

    border: 1px solid rgba(217,108,63,0.08);
}

.itin-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-lg);
}

.itin-card-img {
    position: relative;

    height: 220px;

    overflow: hidden;
}

.itin-card-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.itin-card:hover .itin-card-img img {
    transform: scale(1.08);
}

.itin-card-badge {
    position: absolute;

    top: 16px;
    left: 16px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--primary)
        );

    color: var(--white);

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.5px;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.18);
}

.itin-card-body {
    padding: 24px;
}

.itin-card-body h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.itin-card-body .dest {
    display: flex;

    align-items: center;

    gap: 6px;

    color: var(--primary);

    font-weight: 600;
    font-size: 15px;

    margin-bottom: 12px;
}

.itin-card-body .desc {
    color: var(--text-muted);

    font-size: 15px;

    margin-bottom: 16px;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.itin-card-meta {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 20px;

    padding-bottom: 16px;

    border-bottom:
        1px solid var(--light-darker);
}

.itin-card-meta span {
    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 14px;

    color: var(--text-muted);

    font-weight: 500;
}

.itin-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.itin-price {
    font-family: 'Playfair Display', serif;

    font-size: 24px;

    font-weight: 700;

    color: var(--primary-dark);
}


/* ============================================
   DETAIL PAGE
   ============================================ */

.detail-hero {
    position: relative;

    height: 420px;

    overflow: hidden;

    border-radius:
        0 0 var(--radius) var(--radius);
}

.detail-hero img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    padding: 40px;

    background:
        linear-gradient(
            transparent,
            rgba(41,33,58,0.94)
        );
}

.detail-hero-overlay h1 {
    color: var(--white);

    font-size: 40px;

    margin-bottom: 8px;
}

.detail-hero-overlay .dest-tag {
    color: var(--accent-light);

    font-size: 18px;

    font-weight: 600;
}

.detail-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr;

    gap: 40px;
}

.info-box {
    background: var(--white);

    border-radius: var(--radius);

    padding: 28px;

    box-shadow: var(--shadow);

    margin-bottom: 24px;
}

.info-box h2 {
    font-size: 22px;

    margin-bottom: 16px;

    padding-bottom: 12px;

    border-bottom:
        2px solid var(--light-darker);
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    padding: 8px 0;

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 15px;
}

.highlight-list li::before {
    content: '';

    width: 8px;
    height: 8px;

    background: var(--primary);

    border-radius: 50%;

    flex-shrink: 0;
}

.incl-list li::before {
    background: var(--success);
}

.excl-list li::before {
    background: var(--danger);
}


/* ============================================
   DAY CARDS
   ============================================ */

.day-card {
    background: var(--white);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    margin-bottom: 20px;

    border-left:
        4px solid var(--primary);
}

.day-card-header {
    background:
        linear-gradient(
            135deg,
            #FFF3E4,
            #FBE9D7
        );

    padding: 16px 20px;

    display: flex;

    align-items: center;

    gap: 12px;
}

.day-num {
    width: 36px;
    height: 36px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    color: var(--white);

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 15px;

    flex-shrink: 0;
}

.day-card-body {
    padding: 16px 20px;
}

.day-card-body .day-title {
    font-weight: 700;

    font-size: 17px;

    color: var(--dark);

    margin-bottom: 6px;
}

.day-card-body .day-desc {
    color: var(--text-muted);

    font-size: 15px;

    margin-bottom: 8px;
}

.day-card-body .day-meta {
    display: flex;

    gap: 16px;

    font-size: 13px;

    color: var(--primary);

    font-weight: 600;
}


/* ============================================
   SIDEBAR
   ============================================ */

.sidebar-box {
    background: var(--white);

    border-radius: var(--radius);

    padding: 28px;

    box-shadow: var(--shadow);

    position: sticky;

    top: 90px;

    border-top:
        4px solid var(--accent);
}

.sidebar-box .price-big {
    font-family: 'Playfair Display', serif;

    font-size: 36px;

    font-weight: 700;

    color: var(--primary-dark);

    margin-bottom: 4px;
}

.sidebar-box .price-note {
    font-size: 14px;

    color: var(--text-muted);

    margin-bottom: 20px;
}


 /* ============================================================
    PREMIUM TOURISM FOOTER
    Background preserved — only aesthetic enhancements
 ============================================================ */

.footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #29213A,
            #3C2D4B,
            #553344
        );

    color: rgba(255,255,255,0.72);

    padding: 75px 0 30px;

    margin-top: 80px;

    /* Soft organic top curve */
    border-radius:
        8% 8% 0 0 /
        7% 7% 0 0;

    box-shadow:
        0 -20px 55px rgba(41, 33, 58, 0.12);
}


/* ============================================================
   WARM TOURISM GLOW
 ============================================================ */

.footer::before {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    top: -220px;
    left: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(245, 170, 105, 0.20),
            rgba(245, 170, 105, 0.08) 45%,
            transparent 72%
        );

    filter: blur(5px);

    pointer-events: none;

    z-index: -1;
}


/* ============================================================
   COOL TEAL GLOW
 ============================================================ */

.footer::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -180px;
    bottom: -280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(73, 170, 157, 0.17),
            rgba(73, 170, 157, 0.06) 48%,
            transparent 72%
        );

    filter: blur(5px);

    pointer-events: none;

    z-index: -1;
}


/* ============================================================
   FOOTER CONTAINER
 ============================================================ */

.footer .container {
    position: relative;
    z-index: 2;
}


/* ============================================================
   FOOTER GRID
 ============================================================ */

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 45px;

    margin-bottom: 45px;
}


/* ============================================================
   FOOTER BRAND / FIRST COLUMN
 ============================================================ */

.footer-grid > div:first-child {
    padding-right: 35px;
}


/* Optional footer description */
.footer p {
    max-width: 500px;

    color: rgba(255,255,255,0.60);

    line-height: 1.8;

    font-size: 14px;
}


/* ============================================================
   FOOTER HEADINGS
 ============================================================ */

.footer h4 {
    position: relative;

    color: var(--white);

    font-size: 18px;

    font-weight: 750;

    margin-bottom: 20px;

    letter-spacing: -0.2px;
}


/* Elegant heading underline */
.footer h4::after {
    content: "";

    display: block;

    width: 34px;
    height: 3px;

    margin-top: 9px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #f2a261,
            #6ab6a8
        );
}


/* ============================================================
   FOOTER LINKS
 ============================================================ */

.footer a {
    position: relative;

    display: inline-block;

    color: rgba(255,255,255,0.62);

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


/* Link spacing */
.footer li {
    margin-bottom: 11px;
}


/* Animated tourism-style underline */
.footer a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -3px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #f2a261,
            #65b7aa
        );

    transition: width 0.25s ease;
}


.footer a:hover {
    color: #ffffff;

    transform: translateX(4px);
}


.footer a:hover::after {
    width: 100%;
}


/* ============================================================
   SOCIAL ICONS
 ============================================================ */

.footer-social {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 22px;
}


.footer-social a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 13px;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.10);

    color: rgba(255,255,255,0.75);

    backdrop-filter: blur(8px);

    transition:
        all 0.3s ease;
}


.footer-social a::after {
    display: none;
}


.footer-social a:hover {
    transform:
        translateY(-4px)
        rotate(-2deg);

    background:
        linear-gradient(
            135deg,
            rgba(242,162,97,0.85),
            rgba(83,157,147,0.85)
        );

    border-color:
        rgba(255,255,255,0.22);

    color: #ffffff;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.20);
}


/* ============================================================
   FOOTER DESTINATION BADGE
   Optional
 ============================================================ */

.footer-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 13px;

    margin-bottom: 17px;

    border-radius: 30px;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.10);

    color:
        rgba(255,255,255,0.76);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.4px;

    backdrop-filter: blur(8px);
}


.footer-badge i {
    color: #f3a267;
}


/* ============================================================
   FOOTER BOTTOM
 ============================================================ */

.footer-bottom {
    position: relative;

    border-top:
        1px solid rgba(255,255,255,0.12);

    padding-top: 22px;

    text-align: center;

    font-size: 13px;

    color: rgba(255,255,255,0.48);
}


/* Small decorative glow above divider */
.footer-bottom::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 50%;

    width: 90px;
    height: 2px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            #f0a064,
            #67b6aa,
            transparent
        );
}


/* ============================================================
   FOOTER CURVE DECORATION
 ============================================================ */

.footer-curve {
    position: absolute;

    top: -45px;
    left: -5%;

    width: 110%;
    height: 80px;

    background: transparent;

    border-radius:
        50% 50% 0 0 /
        100% 100% 0 0;

    pointer-events: none;
}
.footer-logo {
    display: block;

    width: 155px;
    height: 65px;

    object-fit: contain;

    padding: 8px 14px;

    margin-bottom: 20px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.20),
        0 0 25px rgba(242, 162, 97, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(242, 162, 97, 0.18);
}

/* ============================================================
   RESPONSIVE
 ============================================================ */

@media (max-width: 768px) {

    .footer {
        padding:
            65px 0 25px;

        margin-top: 60px;

        border-radius:
            6% 6% 0 0 /
            4% 4% 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px 25px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;

        padding-right: 0;
    }
}


@media (max-width: 480px) {

    .footer {
        padding:
            55px 0 22px;

        border-radius:
            5% 5% 0 0 /
            3% 3% 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer h4 {
        margin-bottom: 15px;
    }

    .footer-social {
        margin-top: 18px;
    }
}


/* ============================================
   ADMIN PANEL
   ============================================ */

.admin-layout {
    display: flex;

    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;

    background:
        linear-gradient(
            180deg,
            #29213A 0%,
            #3C2D4B 55%,
            #553344 100%
        );

    color: var(--white);

    padding: 0;

    position: fixed;

    top: 0;
    left: 0;

    height: 100vh;

    overflow-y: auto;

    z-index: 900;

    box-shadow:
        5px 0 20px rgba(41,33,58,0.15);
}

.admin-sidebar-brand {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 20px 24px;

    font-family: 'Playfair Display', serif;

    font-size: 20px;

    font-weight: 700;

    border-bottom:
        1px solid rgba(255,255,255,0.08);
}

.admin-sidebar-brand .brand-icon {
    width: 36px;
    height: 36px;
    
    .icon-box {
      background:
        linear-gradient(135deg, rgb(0 0 0 / 0.15), rgb(0 0 0 / 0.15)),
        linear-gradient(135deg, var(--accent), var(--primary));
      color: #fff;
    }

    border-radius: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 18px;

    box-shadow:
        0 4px 12px rgba(244,185,66,0.25);
}

.admin-nav {
    list-style: none;

    padding: 16px 0;
}

.admin-nav li a {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 24px;

    color: rgba(255,255,255,0.66);

    font-size: 15px;

    font-weight: 500;

    transition: all var(--transition);

    border-left:
        3px solid transparent;
}

.admin-nav li a:hover,
.admin-nav li a.active {
    color: var(--white);

    background:
        rgba(244,185,66,0.12);

    border-left-color:
        var(--accent);
}

.admin-nav li a i {
    width: 20px;

    text-align: center;
}


/* ============================================
   ADMIN MAIN
   ============================================ */

.admin-main {
    margin-left: 260px;

    flex: 1;

    background:
        linear-gradient(
            135deg,
            #FFF8F0,
            #F9EFE4
        );

    min-height: 100vh;
}

.admin-topbar {
    background: var(--white);

    padding: 16px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    box-shadow:
        0 1px 8px rgba(73,43,35,0.08);

    border-bottom:
        1px solid rgba(217,108,63,0.08);
}

.admin-topbar h1 {
    font-size: 22px;
}

.admin-content {
    padding: 30px;
}


/* ============================================
   ADMIN TABLE
   ============================================ */

.data-table {
    width: 100%;

    border-collapse: collapse;

    background: var(--white);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);
}

.data-table thead {
    background:
        linear-gradient(
            135deg,
            #29213A,
            #553344
        );

    color: var(--white);
}

.data-table th {
    padding: 14px 18px;

    text-align: left;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 0.3px;
}

.data-table td {
    padding: 14px 18px;

    border-bottom:
        1px solid var(--light-darker);

    font-size: 14px;

    vertical-align: middle;
}

.data-table tbody tr:hover {
    background:
        rgba(217,108,63,0.045);
}

.data-table .thumb {
    width: 60px;
    height: 40px;

    object-fit: cover;

    border-radius: 6px;
}


/* ============================================
   STATUS BADGES
   ============================================ */

.status-badge {
    display: inline-block;

    padding: 4px 12px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

.status-active {
    background: #DFF1E7;
    color: #246044;
}

.status-inactive {
    background: #FBE1E1;
    color: #842F2F;
}


/* ============================================
   ADMIN FORMS
   ============================================ */

.form-card {
    background: var(--white);

    border-radius: var(--radius);

    padding: 32px;

    box-shadow: var(--shadow);

    max-width: 900px;

    border-top:
        4px solid var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    font-weight: 600;

    font-size: 14px;

    color: var(--dark);
}

.form-control {
    width: 100%;

    padding: 12px 16px;

    border:
        2px solid var(--border);

    border-radius: var(--radius-sm);

    font-family: 'Source Sans 3', sans-serif;

    font-size: 15px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);

    background: var(--white);
}

.form-control:focus {
    outline: none;

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(217,108,63,0.10);
}

textarea.form-control {
    min-height: 100px;

    resize: vertical;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}

.image-preview {
    margin-top: 10px;
}

.image-preview img {
    max-height: 150px;

    border-radius: var(--radius-sm);

    border:
        2px solid var(--light-darker);
}


/* ============================================
   DAY PLAN
   ============================================ */

.day-plan-row {
    background:
        linear-gradient(
            135deg,
            #FFF8F0,
            #FBEBDD
        );

    border-radius: var(--radius-sm);

    padding: 20px;

    margin-bottom: 16px;

    border-left:
        4px solid var(--primary);

    position: relative;
}

.day-plan-row h4 {
    margin-bottom: 12px;

    color: var(--primary-dark);
}

.day-plan-remove {
    position: absolute;

    top: 12px;
    right: 12px;

    background: var(--danger);

    color: var(--white);

    border: none;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    cursor: pointer;

    font-size: 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.day-plan-remove:hover {
    background: #B93636;

    transform: scale(1.08);
}


/* ============================================
   LOGIN
   ============================================ */

.login-page {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #29213A 0%,
            #553344 38%,
            #9E3F2F 68%,
            #D96C3F 100%
        );

    position: relative;

    overflow: hidden;
}


/* Decorative sunset glow */

.login-page::before {
    content: '';

    position: absolute;

    width: 500px;
    height: 500px;

    right: -120px;
    top: -150px;

    background:
        radial-gradient(
            circle,
            rgba(255,209,102,0.35),
            transparent 70%
        );

    border-radius: 50%;
}

.login-card {
    position: relative;
    z-index: 2;

    background:
        rgba(255,255,255,0.97);

    border-radius: var(--radius);

    padding: 40px;

    width: 400px;

    box-shadow:
        0 25px 70px rgba(41,33,58,0.30);
}

.login-card h2 {
    text-align: center;

    margin-bottom: 8px;
}

.login-card p {
    text-align: center;

    color: var(--text-muted);

    margin-bottom: 28px;
}


/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #F4E9DD;
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            var(--primary),
            var(--accent)
        );

    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 32px;
    }

    .hero {
        min-height: 480px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        width: 200px;
    }

    .admin-main {
        margin-left: 200px;
    }

    .data-table {
        font-size: 13px;

        display: block;
        overflow-x: auto;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
    }

    .navbar-nav {
        gap: 2px;
    }

    .navbar-nav a {
        padding: 7px 10px;
        font-size: 14px;
    }

    .detail-hero {
        height: 350px;
    }
}


@media (max-width: 480px) {

    .container,
    .container-wide {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section {
        padding: 55px 0;
    }

    .navbar-inner {
        height: 62px;
    }

    .navbar-brand {
        font-size: 18px;
    }

    .navbar-brand .brand-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .navbar-nav a {
        padding: 6px 8px;
        font-size: 13px;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-content {
        padding: 18px;
    }

    .login-card {
        width: calc(100% - 32px);
        padding: 28px 22px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .detail-hero {
        height: 280px;
    }

    .detail-hero-overlay {
        padding: 25px 20px;
    }

    .detail-hero-overlay h1 {
        font-size: 30px;
    }
}
/* ============================================================
HERO ACTIONS
============================================================ */

.hero-actions {
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
flex-wrap: wrap;
margin-top: 26px;
}

/* ============================================================
WHATSAPP BUTTON
============================================================ */

.btn-whatsapp {
background: #25D366;
color: #fff !important;
border: none;
box-shadow: 0 8px 25px rgba(37, 211, 102, 0.22);
text-decoration: none;
}

.btn-whatsapp:hover {
background: #1ebe5d;
color: #fff !important;
transform: translateY(-2px);
}

/* ============================================================
   VIBRANT TOURISM FILTER BAR
   Premium • Modern • Travel UI
============================================================ */

.filter-wrapper {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 248, 238, 0.98) 0%,
            rgba(255, 239, 214, 0.96) 48%,
            rgba(226, 246, 239, 0.98) 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;

    padding: 26px;
    margin-bottom: 34px;

    box-shadow:
        0 18px 45px rgba(38, 74, 67, 0.10),
        0 5px 15px rgba(0, 0, 0, 0.04);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Decorative tourism glow */
.filter-wrapper::before {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    right: -50px;

    background: rgba(241, 166, 82, 0.22);
    border-radius: 50%;

    filter: blur(10px);
    pointer-events: none;
}

.filter-wrapper::after {
    content: "";
    position: absolute;

    width: 140px;
    height: 140px;

    bottom: -90px;
    left: -40px;

    background: rgba(47, 111, 118, 0.14);
    border-radius: 50%;

    filter: blur(12px);
    pointer-events: none;
}


/* ============================================================
   FILTER TITLE
============================================================ */

.filter-title {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 19px;
    font-weight: 800;

    color: #183f42;

    margin-bottom: 20px;

    letter-spacing: -0.2px;
}

.filter-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #2f6f76,
        #3f8c83
    );

    color: #ffffff;

    font-size: 16px;

    box-shadow:
        0 8px 18px rgba(47, 111, 118, 0.25);
}


/* ============================================================
   FILTER CONTROLS
============================================================ */

.filter-controls {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;

    gap: 16px;

    align-items: end;
}


/* ============================================================
   FILTER GROUP
============================================================ */

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 800;

    color: #53706e;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


/* ============================================================
   INPUT + SELECT
============================================================ */

.filter-group select,
.filter-group input {
    width: 100%;
    height: 48px;

    border: 1px solid #dce7e2;
    border-radius: 13px;

    padding: 0 15px;

    background: rgba(255, 255, 255, 0.88);
    color: #24484a;

    outline: none;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease,
        background 0.25s ease;
}


/* Select arrow */
.filter-group select {
    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, #3f7775 50%),
        linear-gradient(135deg, #3f7775 50%, transparent 50%);

    background-position:
        calc(100% - 18px) 20px,
        calc(100% - 13px) 20px;

    background-size: 5px 5px;
    background-repeat: no-repeat;

    padding-right: 40px;
}


/* Hover */
.filter-group select:hover,
.filter-group input:hover {
    border-color: #a8cbc2;

    background: #ffffff;

    transform: translateY(-1px);
}


/* Focus */
.filter-group select:focus,
.filter-group input:focus {
    border-color: #2f7d78;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(47, 125, 120, 0.11),
        0 8px 20px rgba(47, 111, 118, 0.08);

    transform: translateY(-1px);
}


/* ============================================================
   RESET BUTTON
============================================================ */

.filter-reset {
    position: relative;

    height: 48px;

    border: 1px solid #d5e1dd;
    border-radius: 13px;

    padding: 0 20px;

    background: rgba(255, 255, 255, 0.65);
    color: #31585a;

    cursor: pointer;

    font: inherit;
    font-size: 14px;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    transition:
        all 0.25s ease;

    white-space: nowrap;
}


/* Add reset icon if button contains icon */
.filter-reset i {
    font-size: 14px;
    transition: transform 0.3s ease;
}


/* Hover */
.filter-reset:hover {
    background: linear-gradient(
        135deg,
        #2f6f76,
        #3f8c83
    );

    border-color: #2f6f76;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(47, 111, 118, 0.22);
}

.filter-reset:hover i {
    transform: rotate(-45deg);
}


/* Active */
.filter-reset:active {
    transform: translateY(0);
    box-shadow: none;
}


/* ============================================================
   FILTER RESULT
============================================================ */

.filter-result {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 17px;

    padding: 10px 14px;

    width: fit-content;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.58);

    font-size: 13px;
    font-weight: 600;

    color: #71807e;
}

.filter-result strong {
    color: #2f7775;

    font-weight: 800;
}


/* ============================================================
   NO RESULTS
============================================================ */

.filter-no-results {
    grid-column: 1 / -1;

    text-align: center;

    padding: 65px 20px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.62),
            rgba(240, 248, 244, 0.72)
        );
}

.filter-no-results i {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin-bottom: 18px;

    border-radius: 50%;

    background: #e6f2ed;

    color: #6d918b;

    font-size: 28px;

    box-shadow:
        0 10px 25px rgba(55, 104, 94, 0.10);
}

.filter-no-results h3 {
    margin-bottom: 8px;

    color: #31585a;

    font-size: 20px;
    font-weight: 800;
}

.filter-no-results p {
    margin: 0;

    color: #7b8987;

    font-size: 14px;
}


/* ============================================================
   RESPONSIVE — TABLET
============================================================ */

@media (max-width: 900px) {

    .filter-controls {
        grid-template-columns: 1fr 1fr;
    }

    .filter-reset {
        width: 100%;
    }
}


/* ============================================================
   RESPONSIVE — MOBILE
============================================================ */

@media (max-width: 600px) {

    .filter-wrapper {
        padding: 20px;

        border-radius: 20px;

        margin-bottom: 24px;
    }

    .filter-title {
        font-size: 17px;

        margin-bottom: 17px;
    }

    .filter-title i {
        width: 34px;
        height: 34px;

        border-radius: 10px;
    }

    .filter-controls {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .filter-group select,
    .filter-group input,
    .filter-reset {
        height: 46px;
    }

    .filter-result {
        width: 100%;

        justify-content: center;

        margin-top: 15px;
    }

    .filter-no-results {
        padding: 45px 15px;
    }
}


/* ============================================================
   DARK MODE SUPPORT
============================================================ */

[data-theme="dark"] .filter-wrapper,
.dark-mode .filter-wrapper {
    background:
        linear-gradient(
            135deg,
            rgba(25, 49, 48, 0.96),
            rgba(30, 57, 55, 0.94)
        );

    border-color: rgba(255, 255, 255, 0.08);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .filter-title,
.dark-mode .filter-title {
    color: #e7f5ef;
}

[data-theme="dark"] .filter-group label,
.dark-mode .filter-group label {
    color: #a8c2bc;
}

[data-theme="dark"] .filter-group select,
[data-theme="dark"] .filter-group input,
.dark-mode .filter-group select,
.dark-mode .filter-group input {
    background: rgba(255, 255, 255, 0.07);

    border-color: rgba(255, 255, 255, 0.12);

    color: #eef8f5;
}

[data-theme="dark"] .filter-group select:hover,
[data-theme="dark"] .filter-group input:hover,
.dark-mode .filter-group select:hover,
.dark-mode .filter-group input:hover {
    background: rgba(255, 255, 255, 0.10);

    border-color: rgba(123, 190, 177, 0.45);
}

[data-theme="dark"] .filter-reset,
.dark-mode .filter-reset {
    background: rgba(255, 255, 255, 0.06);

    border-color: rgba(255, 255, 255, 0.12);

    color: #dcece8;
}

[data-theme="dark"] .filter-result,
.dark-mode .filter-result {
    background: rgba(255, 255, 255, 0.06);

    color: #9fb5b0;
}

[data-theme="dark"] .filter-no-results,
.dark-mode .filter-no-results {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .filter-no-results h3,
.dark-mode .filter-no-results h3 {
    color: #e1f1ed;
}

/* ============================================================
WHATSAPP CTA SECTION
============================================================ */

.whatsapp-section {
padding: 30px 0 70px;
}

.whatsapp-card {
position: relative;
overflow: hidden;
display: flex;
align-items: center;
gap: 25px;
padding: 32px;
border-radius: 24px;
background: linear-gradient(
135deg,
#075e54,
#128c7e
);
color: #fff;
box-shadow: 0 18px 45px rgba(7, 94, 84, 0.22);
}

.whatsapp-icon-large {
width: 70px;
height: 70px;
flex: 0 0 70px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 20px;
background: rgba(255, 255, 255, 0.15);
font-size: 38px;
}

.whatsapp-content {
flex: 1;
}

.whatsapp-label {
display: inline-block;
margin-bottom: 6px;
font-size: 11px;
font-weight: 800;
letter-spacing: 1.5px;
opacity: 0.75;
}

.whatsapp-content h2 {
margin: 0 0 8px;
font-size: 28px;
}

.whatsapp-content p {
margin: 0;
max-width: 650px;
line-height: 1.65;
opacity: 0.88;
}

.whatsapp-card .btn-whatsapp {
background: #fff;
color: #075e54 !important;
white-space: nowrap;
}

.whatsapp-card .btn-whatsapp:hover {
background: #f4f4f4;
}

/* ============================================================
FLOATING WHATSAPP
============================================================ */

.floating-whatsapp {
position: fixed;
right: 24px;
bottom: 24px;
z-index: 998;
display: flex;
align-items: center;
justify-content: center;
width: 54px;
height: 54px;
padding: 0;
border-radius: 50%;
background: #25D366;
color: #fff !important;
text-decoration: none;
box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
font-weight: 700;
transition: 0.25s ease;
}

.floating-whatsapp i {
font-size: 25px;
}

.floating-whatsapp:hover {
transform: translateY(-3px) scale(1.02);
background: #1ebe5d;
}

/* ============================================================
CHATBOT
============================================================ */

.chatbot {
position: fixed;
right: 24px;
bottom: 92px;
z-index: 999;
}

.chatbot-toggle {
position: relative;
width: 58px;
height: 58px;
border: 0;
border-radius: 50%;
background: var(--primary, #2f6f76);
color: #fff;
cursor: pointer;
font-size: 21px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
transition: 0.25s ease;
}

.chatbot-toggle:hover {
transform: translateY(-3px);
}

.chatbot-notification {
position: absolute;
top: -3px;
right: -2px;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: #e74c3c;
color: #fff;
font-size: 11px;
font-weight: 800;
border: 2px solid #fff;
}

.chatbot-window {
position: absolute;
right: 0;
bottom: 72px;
width: 370px;
max-width: calc(100vw - 30px);
height: 530px;
max-height: calc(100vh - 130px);
display: flex;
flex-direction: column;
overflow: hidden;
border-radius: 22px;
background: var(--card-bg, #fff);
border: 1px solid var(--border, #e5e7eb);
box-shadow: 0 22px 60px rgba(0, 0, 0, 0.20);


opacity: 0;
visibility: hidden;
transform: translateY(15px) scale(0.97);
transform-origin: bottom right;
transition: 0.22s ease;


}

.chatbot-window.open {
opacity: 1;
visibility: visible;
transform: translateY(0) scale(1);
}

.chatbot-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 17px;
background: var(--primary, #2f6f76);
color: #fff;
}

.chatbot-header-info {
display: flex;
align-items: center;
gap: 11px;
}

.chatbot-avatar {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(255, 255, 255, 0.17);
}

.chatbot-header-info strong {
display: block;
font-size: 14px;
}

.chatbot-header-info small {
display: flex;
align-items: center;
gap: 5px;
margin-top: 2px;
font-size: 11px;
opacity: 0.85;
}

.online-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #62f28d;
}

.chatbot-close {
width: 34px;
height: 34px;
border: 0;
border-radius: 50%;
background: transparent;
color: #fff;
cursor: pointer;
font-size: 17px;
}

.chatbot-close:hover {
background: rgba(255, 255, 255, 0.12);
}

/* ============================================================
CHAT MESSAGES
============================================================ */

.chatbot-messages {
flex: 1;
overflow-y: auto;
padding: 18px 14px;
background: var(--chat-bg, #f7f9fa);
scroll-behavior: smooth;
}

.bot-message,
.user-message {
display: flex;
margin-bottom: 14px;
}

.bot-message {
align-items: flex-start;
gap: 8px;
}

.user-message {
justify-content: flex-end;
}

.message-avatar {
width: 28px;
height: 28px;
flex: 0 0 28px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: var(--primary, #2f6f76);
color: #fff;
font-size: 12px;
}

.message-content {
max-width: 82%;
padding: 11px 13px;
border-radius: 15px;
background: #fff;
color: var(--text, #222);
font-size: 13px;
line-height: 1.55;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.user-message .message-content {
background: var(--primary, #2f6f76);
color: #fff;
border-bottom-right-radius: 4px;
}

.bot-message .message-content {
border-top-left-radius: 4px;
}

.quick-replies {
display: flex;
flex-direction: column;
gap: 7px;
margin-top: 13px;
}

.quick-replies button {
padding: 8px 10px;
border: 1px solid var(--border, #dfe3e8);
border-radius: 9px;
background: transparent;
color: var(--primary, #2f6f76);
cursor: pointer;
text-align: left;
font-size: 12px;
font-weight: 600;
}

.quick-replies button:hover {
background: rgba(47, 111, 118, 0.07);
}

.chat-whatsapp-link {
display: inline-flex;
align-items: center;
gap: 7px;
margin-top: 4px;
padding: 8px 11px;
border-radius: 9px;
background: #25D366;
color: #fff !important;
text-decoration: none;
font-size: 12px;
font-weight: 700;
}

/* ============================================================
TYPING INDICATOR
============================================================ */

.typing-dots {
display: flex;
align-items: center;
gap: 4px;
padding: 13px 15px;
border-radius: 15px;
border-top-left-radius: 4px;
background: #fff;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.typing-dots span {
width: 6px;
height: 6px;
border-radius: 50%;
background: #9ca3af;
animation: chatbotTyping 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
animation-delay: 0.3s;
}

@keyframes chatbotTyping {


0%,
60%,
100% {
    transform: translateY(0);
}

30% {
    transform: translateY(-4px);
}


}

/* ============================================================
CHAT INPUT
============================================================ */

.chatbot-input-area {
display: flex;
gap: 8px;
padding: 11px;
border-top: 1px solid var(--border, #e5e7eb);
background: var(--card-bg, #fff);
}

.chatbot-input-area input {
flex: 1;
min-width: 0;
height: 43px;
padding: 0 13px;
border: 1px solid var(--border, #dfe3e8);
border-radius: 11px;
background: var(--input-bg, #fff);
color: var(--text, #222);
outline: none;
font: inherit;
font-size: 13px;
}

.chatbot-input-area input:focus {
border-color: var(--primary, #2f6f76);
}

.chatbot-input-area button {
width: 43px;
height: 43px;
flex: 0 0 43px;
border: 0;
border-radius: 11px;
background: var(--primary, #2f6f76);
color: #fff;
cursor: pointer;
}

.chatbot-footer {
padding: 6px;
text-align: center;
font-size: 9px;
color: var(--text-muted, #8b929a);
background: var(--card-bg, #fff);
}

/* ============================================================
MOBILE
============================================================ */

@media (max-width: 768px) {

.filter-controls {
    grid-template-columns: 1fr;
}

.filter-reset {
    width: 100%;
}

.whatsapp-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

.whatsapp-card .btn {
    width: 100%;
    justify-content: center;
}

.whatsapp-content h2 {
    font-size: 23px;
}

.floating-whatsapp {
    right: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.floating-whatsapp i {
    font-size: 24px;
}

.floating-whatsapp-text {
    display: none;
}

.chatbot {
    right: 15px;
    bottom: 78px;
}

.chatbot-window {
    right: 0;
    width: min(370px, calc(100vw - 30px));
    height: min(530px, calc(100vh - 120px));
}

.chatbot-toggle {
    width: 54px;
    height: 54px;
}


}



/* ============================================================
   UNIVERSAL RESPONSIVE ENHANCEMENTS
   Desktop → Laptop → Tablet → Mobile → Small Mobile
   ============================================================ */

/* Prevent horizontal overflow on every viewport */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-width: 0;
}

.container,
.container-wide {
    width: 100%;
}

/* Flexible media and long text */
img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

.btn {
    white-space: normal;
}

/* Better grid behavior on medium screens */
.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.detail-grid {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
}

.footer-grid {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(150px, 1fr));
}

.form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

/* ============================================================
   LARGE LAPTOP / SMALL DESKTOP
   ============================================================ */

@media (max-width: 1200px) {

    .container,
    .container-wide {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-content {
        max-width: 620px;
    }

    .hero-content h1 {
        font-size: clamp(42px, 5vw, 52px);
    }

    .card-grid {
        gap: 24px;
    }

    .detail-grid {
        gap: 28px;
    }

    .footer-grid {
        gap: 28px;
    }

    .admin-content {
        padding: 26px;
    }

    .admin-topbar {
        padding-left: 26px;
        padding-right: 26px;
    }
}

/* ============================================================
   TABLET / SMALL LAPTOP
   ============================================================ */

@media (max-width: 1024px) {

    .section {
        padding: 64px 0;
    }

    .navbar-inner {
        min-height: 66px;
    }

    .navbar-nav {
        gap: 3px;
    }

    .navbar-nav a {
        padding: 8px 11px;
        font-size: 14px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-content h1 {
        font-size: clamp(38px, 6vw, 48px);
    }

    .hero-content p {
        font-size: 18px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .itin-card-img {
        height: 200px;
    }

    .detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar-box {
        position: static;
    }

    .detail-hero {
        height: 380px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    /* Admin becomes a compact two-column layout */
    .admin-sidebar {
        width: 220px;
    }

    .admin-main {
        margin-left: 220px;
    }

    .admin-sidebar-brand {
        padding-left: 18px;
        padding-right: 18px;
    }

    .admin-nav li a {
        padding-left: 18px;
        padding-right: 18px;
    }

    .admin-content {
        padding: 22px;
    }

    .admin-topbar {
        padding: 14px 22px;
    }

    .form-card {
        max-width: 100%;
        padding: 26px;
    }

    .data-table th,
    .data-table td {
        padding: 12px 14px;
    }

    .whatsapp-card {
        gap: 20px;
    }
}

/* ============================================================
   TABLET PORTRAIT
   ============================================================ */

@media (max-width: 900px) {

    .navbar-nav a {
        padding: 7px 8px;
        font-size: 13px;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .hero {
        min-height: 470px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        max-width: 520px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .itin-card-body {
        padding: 20px;
    }

    .itin-card-meta {
        gap: 12px;
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }

    .filter-controls {
        grid-template-columns: 1fr 1fr;
    }

    .filter-reset {
        width: 100%;
    }

    .whatsapp-card {
        flex-wrap: wrap;
    }

    .whatsapp-content {
        min-width: 0;
    }

    .whatsapp-card .btn-whatsapp {
        margin-left: 90px;
    }
}

/* ============================================================
   MOBILE — 768PX
   ============================================================ */

@media (max-width: 768px) {

    :root {
        --radius: 10px;
        --radius-sm: 7px;
    }

    .container,
    .container-wide {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section {
        padding: 52px 0;
    }

    /* ---------- Navigation ---------- */

    .navbar-inner {
        height: 62px;
        min-height: 62px;
    }

    .navbar-brand {
        min-width: 0;
        gap: 9px;
        font-size: 18px;
    }

    .navbar-brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar-brand .brand-icon {
        width: 35px;
        height: 35px;
        flex: 0 0 35px;
    }

    .navbar-nav {
        gap: 2px;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .navbar-nav::-webkit-scrollbar {
        display: none;
    }

    .navbar-nav a {
        padding: 7px 9px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* ---------- Hero ---------- */

    .hero {
        min-height: 450px;
        padding: 65px 0;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(31px, 8vw, 40px);
        line-height: 1.12;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1 1 180px;
        min-width: 0;
        justify-content: center;
    }

    .hero::before {
        width: 360px;
        height: 360px;
        right: -130px;
        top: -120px;
    }

    .hero::after {
        width: 420px;
        height: 320px;
        left: -180px;
    }

    /* ---------- Cards ---------- */

    .card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .itin-card-img {
        height: 210px;
    }

    .itin-card-body {
        padding: 18px;
    }

    .itin-card-body h3 {
        font-size: 20px;
    }

    .itin-card-footer {
        gap: 12px;
        align-items: center;
    }

    .itin-price {
        font-size: 22px;
    }

    .itin-card-footer .btn {
        flex-shrink: 0;
    }

    /* ---------- Detail page ---------- */

    .detail-hero {
        height: 330px;
        border-radius: 0 0 10px 10px;
    }

    .detail-hero-overlay {
        padding: 28px 20px;
    }

    .detail-hero-overlay h1 {
        font-size: clamp(27px, 7vw, 36px);
    }

    .detail-hero-overlay .dest-tag {
        font-size: 16px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-box {
        padding: 21px;
        margin-bottom: 18px;
    }

    .info-box h2 {
        font-size: 20px;
    }

    .sidebar-box {
        padding: 22px;
    }

    .sidebar-box .price-big {
        font-size: 31px;
    }

    .day-card-header {
        padding: 14px 16px;
    }

    .day-card-body {
        padding: 14px 16px;
    }

    .day-card-body .day-meta {
        flex-wrap: wrap;
        gap: 8px 14px;
    }

    /* ---------- Footer ---------- */

    .footer {
        padding: 48px 0 25px;
        margin-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 20px;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }

    /* ---------- Forms ---------- */

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-card {
        padding: 21px;
    }

    .form-control {
        min-height: 46px;
    }

    /* ---------- Filters ---------- */

    .filter-wrapper {
        padding: 18px;
        margin-bottom: 24px;
        border-radius: 16px;
    }

    .filter-controls {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .filter-group select,
    .filter-group input,
    .filter-reset {
        height: 45px;
    }

    /* ---------- WhatsApp CTA ---------- */

    .whatsapp-section {
        padding: 20px 0 55px;
    }

    .whatsapp-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 23px;
        gap: 16px;
        border-radius: 19px;
    }

    .whatsapp-icon-large {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 16px;
        font-size: 30px;
    }

    .whatsapp-content {
        width: 100%;
    }

    .whatsapp-content h2 {
        font-size: 23px;
    }

    .whatsapp-content p {
        font-size: 14px;
    }

    .whatsapp-card .btn-whatsapp {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    /* ---------- Admin ---------- */

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        position: fixed;
        width: min(280px, 82vw);
        height: 100dvh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
        min-width: 0;
    }

    .admin-topbar {
        min-height: 62px;
        padding: 12px 16px;
    }

    .admin-topbar h1 {
        font-size: 19px;
    }

    .admin-content {
        padding: 18px;
    }

    .data-table {
        display: table;
        width: 100%;
        min-width: 680px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* Put wide tables inside a scrollable wrapper when available */
    .table-responsive,
    .data-table-wrapper,
    .table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius);
    }

    /* ---------- Login ---------- */

    .login-page {
        min-height: 100dvh;
        padding: 20px 0;
    }

    .login-card {
        width: min(420px, calc(100% - 32px));
        padding: 30px 22px;
    }

    /* ---------- Floating controls ---------- */

    .floating-whatsapp {
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 52px;
        height: 52px;
        min-height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .floating-whatsapp-text {
        display: none;
    }

    .chatbot {
        right: 14px;
        bottom: 76px;
    }

    .chatbot-window {
        right: 0;
        width: min(370px, calc(100vw - 28px));
        height: min(530px, calc(100dvh - 110px));
        max-height: calc(100dvh - 110px);
    }

    .chatbot-toggle {
        width: 54px;
        height: 54px;
    }
}

/* ============================================================
   SMALL MOBILE — 600PX
   ============================================================ */

@media (max-width: 600px) {

    .container,
    .container-wide {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section {
        padding: 44px 0;
    }

    .navbar-inner {
        gap: 8px;
    }

    .navbar-brand {
        flex: 1 1 auto;
    }

    .navbar-nav {
        flex: 0 1 auto;
    }

    .navbar-nav a {
        padding: 6px 7px;
        font-size: 12px;
    }

    .navbar-nav a:not(.active) {
        /* Keeps navigation compact without hiding links */
        max-width: 100px;
    }

    .hero {
        min-height: 430px;
        padding: 55px 0;
    }

    .hero-content h1 {
        font-size: 31px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        flex: 1 1 auto;
    }

    .itin-card-img {
        height: 195px;
    }

    .itin-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .itin-card-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .itin-price {
        font-size: 21px;
    }

    .detail-hero {
        height: 300px;
    }

    .detail-hero-overlay {
        padding: 22px 16px;
    }

    .detail-hero-overlay h1 {
        font-size: 27px;
    }

    .info-box,
    .sidebar-box {
        padding: 18px;
    }

    .highlight-list li {
        align-items: flex-start;
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-grid > :first-child {
        grid-column: auto;
    }

    .admin-content {
        padding: 14px;
    }

    .admin-topbar {
        padding: 11px 14px;
    }

    .admin-topbar h1 {
        font-size: 17px;
    }

    .form-card {
        padding: 17px;
        border-top-width: 3px;
    }

    .day-plan-row {
        padding: 17px 15px;
        padding-right: 48px;
    }

    .filter-wrapper {
        padding: 15px;
    }

    .filter-title {
        font-size: 16px;
    }

    .whatsapp-card {
        padding: 20px;
    }

    .whatsapp-content h2 {
        font-size: 21px;
    }

    .chatbot-window {
        width: calc(100vw - 20px);
        right: -5px;
        height: min(560px, calc(100dvh - 95px));
        max-height: calc(100dvh - 95px);
        border-radius: 18px;
    }
}

/* ============================================================
   VERY SMALL PHONES — 420PX
   ============================================================ */

@media (max-width: 420px) {

    .container,
    .container-wide {
        padding-left: 12px;
        padding-right: 12px;
    }

    .section {
        padding: 38px 0;
    }

    .navbar-inner {
        height: 58px;
        min-height: 58px;
    }

    .navbar-brand {
        gap: 7px;
        font-size: 16px;
    }

    .navbar-brand .brand-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 16px;
    }

    .navbar-nav a {
        padding: 5px 6px;
        font-size: 11px;
    }

    .hero {
        min-height: 410px;
        padding: 48px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .itin-card-img {
        height: 175px;
    }

    .itin-card-body {
        padding: 16px;
    }

    .itin-card-body h3 {
        font-size: 19px;
    }

    .itin-card-body .dest,
    .itin-card-body .desc {
        font-size: 14px;
    }

    .itin-card-meta {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-hero {
        height: 260px;
    }

    .detail-hero-overlay h1 {
        font-size: 24px;
    }

    .detail-hero-overlay .dest-tag {
        font-size: 14px;
    }

    .day-num {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .day-card-header {
        padding: 12px 13px;
        gap: 9px;
    }

    .day-card-body {
        padding: 13px;
    }

    .sidebar-box .price-big {
        font-size: 28px;
    }

    .login-card {
        width: calc(100% - 24px);
        padding: 25px 17px;
    }

    .login-card h2 {
        font-size: 24px;
    }

    .admin-content {
        padding: 11px;
    }

    .admin-topbar {
        padding: 10px 11px;
    }

    .form-card {
        padding: 15px;
    }

    .whatsapp-card {
        padding: 17px;
    }

    .whatsapp-icon-large {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 27px;
    }

    .chatbot {
        right: 10px;
        bottom: 70px;
    }

    .chatbot-window {
        width: calc(100vw - 16px);
        right: -2px;
        border-radius: 16px;
    }

    .chatbot-header {
        padding: 13px 14px;
    }

    .chatbot-messages {
        padding: 14px 10px;
    }

    .message-content {
        max-width: 88%;
        font-size: 12.5px;
    }

    .chatbot-input-area {
        padding: 8px;
    }
}

/* ============================================================
   ULTRA-SMALL DEVICES — 360PX
   ============================================================ */

@media (max-width: 360px) {

    .navbar-brand span {
        max-width: 105px;
    }

    .navbar-nav a {
        padding-left: 5px;
        padding-right: 5px;
        font-size: 10px;
    }

    .hero-content h1 {
        font-size: 25px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 13px 18px;
        font-size: 15px;
    }

    .itin-card-img {
        height: 155px;
    }

    .itin-card-body {
        padding: 14px;
    }

    .detail-hero {
        height: 235px;
    }

    .detail-hero-overlay {
        padding: 18px 13px;
    }

    .detail-hero-overlay h1 {
        font-size: 22px;
    }

    .info-box,
    .sidebar-box {
        padding: 15px;
    }

    .whatsapp-content h2 {
        font-size: 19px;
    }

    .floating-whatsapp {
        right: auto;
        width: 49px;
        height: 49px;
        min-height: 49px;
    }

    .chatbot {
        right: 8px;
    }

    .chatbot-window {
        width: calc(100vw - 12px);
        right: -2px;
    }
}

/* ============================================================
   LANDSCAPE PHONES
   ============================================================ */

@media (max-height: 520px) and (orientation: landscape) {

    .hero {
        min-height: 420px;
        padding: 40px 0;
    }

    .login-page {
        align-items: flex-start;
        overflow-y: auto;
        padding: 25px 0;
    }

    .login-card {
        margin: 10px auto;
    }

    .chatbot-window {
        height: calc(100dvh - 70px);
        max-height: calc(100dvh - 70px);
    }
}

/* ============================================================
   ACCESSIBILITY / TOUCH IMPROVEMENTS
   ============================================================ */

@media (hover: none) and (pointer: coarse) {

    .itin-card:hover,
    .btn-primary:hover,
    .btn-accent:hover,
    .floating-whatsapp:hover,
    .chatbot-toggle:hover {
        transform: none;
    }

    .btn,
    button,
    .navbar-nav a,
    .admin-nav a,
    .filter-reset {
        min-height: 44px;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Safe-area support for modern phones */
@supports (padding: max(0px)) {

    .floating-whatsapp {
        bottom: max(14px, env(safe-area-inset-bottom));
    }

    .chatbot {
        bottom: max(76px, calc(76px + env(safe-area-inset-bottom)));
    }
}
/* ===== BASE STYLES (Mobile-first) ===== */

.floating-whatsapp {
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    z-index: 1000;
    transition: bottom 0.3s ease;
}

.floating-whatsapp-text {
    display: none;
}

.chatbot {
    position: fixed;
    right: 12px;
    /* 12px bottom + 48px button height + 16px gap = 76px */
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    transition: bottom 0.3s ease;
}

.chatbot-window {
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(100vw - 24px);
    max-width: 340px;
    /* Full viewport minus button area + gaps */
    height: calc(100dvh - 140px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
    max-height: 480px;
    min-height: 280px;
    overflow: hidden;
}

.chatbot-toggle {
    width: 48px;
    height: 48px;
}

/* ===== Small phones (≤ 360px) =====/ ===== */
@media screen and (max-width: 360px) {
     .floating-whatsapp {
        left: 8px;
        right: auto;       /* cancels the right value from other rules */
        width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .chatbot {
        right: 8px;
        /* 8px + 44px + 12px gap = 64px */
        bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .chatbot-window {
        right: 0;
        width: calc(100vw - 16px);
        max-width: 300px;
        height: calc(100dvh - 120px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
        max-height: 420px;
        min-height: 240px;
    }

    .chatbot-toggle {
        width: 44px;
        height: 44px;
    }
}

/* ===== Standard phones (361px – 480px) ===== */


/* ===== Large phones / Small tablets (481px – 768px) ===== */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .floating-whatsapp {
        right: 14px;
        width: 52px;
        height: 52px;
        min-height: 52px;
    }

    .chatbot {
        right: 14px;
        /* 14px + 52px + 18px gap = 84px */
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    .chatbot-window {
        width: min(370px, calc(100vw - 28px));
        height: calc(100dvh - 150px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
        max-height: 530px;
        min-height: 320px;
    }

    .chatbot-toggle {
        width: 52px;
        height: 52px;
    }
}

/* ===== Tablets (769px – 1024px) ===== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .floating-whatsapp {
        right: 16px;
        width: 54px;
        height: 54px;
        min-height: 54px;
    }

    .floating-whatsapp-text {
        display: inline;
    }

    .chatbot {
        right: 16px;
        /* 16px + 54px + 20px gap = 90px */
        bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }

    .chatbot-window {
        width: min(400px, calc(100vw - 32px));
        height: calc(100dvh - 160px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
        max-height: 560px;
        min-height: 360px;
    }

    .chatbot-toggle {
        width: 54px;
        height: 54px;
    }
}

/* ===== Desktop (1025px+) ===== */
@media screen and (min-width: 1025px) {
    .floating-whatsapp {
        right: 20px;
        width: 56px;
        height: 56px;
        min-height: 56px;
    }

    .floating-whatsapp-text {
        display: inline;
    }

    .chatbot {
        right: 20px;
        /* 20px + 56px + 20px gap = 96px */
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }

    .chatbot-window {
        width: min(420px, calc(100vw - 40px));
        height: calc(100dvh - 170px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
        max-height: 600px;
        min-height: 400px;
    }

    .chatbot-toggle {
        width: 56px;
        height: 56px;
    }
}

/* ===== Landscape phones (height ≤ 500px in landscape) ===== */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .floating-whatsapp {
        right: 8px;
        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .chatbot {
        right: 8px;
        /* 8px + 40px + 10px gap = 58px */
        bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    }

    .chatbot-window {
        width: min(320px, calc(100vw - 16px));
        /* Use most of the short landscape height */
        height: calc(100dvh - 100px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
        max-height: calc(100dvh - 100px);
        min-height: 200px;
    }

    .chatbot-toggle {
        width: 40px;
        height: 40px;
    }
}

/* ===== Notched devices (iPhone X+, dynamic island) ===== */
@supports (padding: env(safe-area-inset-bottom)) {
    .floating-whatsapp {
        bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .chatbot {
        bottom: calc(76px + env(safe-area-inset-bottom));
    }
}

/* ===== When chatbot is OPEN — push WhatsApp button up ===== */
.chatbot.open ~ .floating-whatsapp,
body.chatbot-open .floating-whatsapp {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 52px + 8px);
    /* positions it above the chatbot toggle */
}
/* ============================================================
   BASE — All devices (Mobile-first)
   ============================================================ */
.floating-whatsapp {
    position: fixed;
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 1000;
    box-sizing: border-box;
}

.floating-whatsapp-text {
    display: none;
}

.chatbot {
    position: fixed;
    right: 12px;
    bottom: 76px;
    z-index: 999;
}

.chatbot-window {
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(100vw - 24px);
    max-width: 310px;

    /* Fixed height — calculated to never overlap */
    height: calc(100vh - 136px);
    max-height: 480px;
    min-height: 260px;

    overflow: hidden;
    border-radius: 12px;
    box-sizing: border-box;
}

.chatbot-toggle {
    width: 48px;
    height: 48px;
}

/* ============================================================
   iPhone SE & Small phones (≤ 375px width, ≤ 667px height)
   ============================================================ */
@media screen and (max-width: 375px) {
    .floating-whatsapp {
        right: 10px;
        bottom: 10px;
        width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .chatbot {
        right: 10px;
        bottom: 66px;   /* 10 + 44 + 12 gap */
    }

    .chatbot-window {
        width: calc(100vw - 20px);
        max-width: 300px;

        /* 667 - 66 - 44 - 10 = 547 → capped at 440 for small screen */
        height: calc(100vh - 120px);
        max-height: 440px;
        min-height: 240px;
    }

    .chatbot-toggle {
        width: 44px;
        height: 44px;
        margin-bottom: 62px;
    }
}

/* ============================================================
   Standard phones (376px – 480px) — iPhone SE landscape, 
   iPhone 6/7/8, iPhone X, etc.
   ============================================================ */
@media screen and (min-width: 376px) and (max-width: 480px) {
    .floating-whatsapp {
        right: 12px;
        bottom: 12px;
        width: 48px;
        height: 48px;
        min-height: 48px;
    }

    .chatbot {
        right: 12px;
        bottom: 76px;   /* 12 + 48 + 16 gap */
    }

    .chatbot-window {
        width: calc(100vw - 24px);
        max-width: 340px;

        /* For 667px height: 667 - 76 - 48 - 12 = 531 → capped at 480 */
        height: calc(100vh - 136px);
        max-height: 480px;
        min-height: 280px;
    }

    .chatbot-toggle {
        width: 48px;
        height: 48px;
    }
}

/* ============================================================
   Large phones / Small tablets (481px – 768px)
   ============================================================ */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
        min-height: 52px;
    }

    .chatbot {
        right: 14px;
        bottom: 84px;   /* 14 + 52 + 18 gap */
    }

    .chatbot-window {
        width: min(370px, calc(100vw - 28px));
        max-width: 370px;

        height: calc(100vh - 150px);
        max-height: 520px;
        min-height: 300px;
    }

    .chatbot-toggle {
        width: 52px;
        height: 52px;
    }
}

/* ============================================================
   Tablets (769px – 1024px)
   ============================================================ */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        min-height: 54px;
    }

    .floating-whatsapp-text {
        display: inline;
    }

    .chatbot {
        right: 16px;
        bottom: 90px;   /* 16 + 54 + 20 gap */
    }

    .chatbot-window {
        width: min(400px, calc(100vw - 32px));
        max-width: 400px;

        height: calc(100vh - 160px);
        max-height: 560px;
        min-height: 340px;
    }

    .chatbot-toggle {
        width: 54px;
        height: 54px;
    }
}

/* ============================================================
   Desktop (1025px+)
   ============================================================ */
@media screen and (min-width: 1025px) {
    .floating-whatsapp {
        right: 20px;
        bottom: 20px;
        width: 56px;
        height: 56px;
        min-height: 56px;
    }

    .floating-whatsapp-text {
        display: inline;
    }

    .chatbot {
        right: 20px;
        bottom: 96px;   /* 20 + 56 + 20 gap */
    }

    .chatbot-window {
        width: min(420px, calc(100vw - 40px));
        max-width: 420px;

        height: calc(100vh - 170px);
        max-height: 600px;
        min-height: 400px;
    }

    .chatbot-toggle {
        width: 56px;
        height: 56px;
    }
}

/* ============================================================
   LANDSCAPE — Short height screens (all widths)
   ============================================================ */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .floating-whatsapp {
        right: 8px;
        bottom: 8px;
        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .chatbot {
        right: 8px;
        bottom: 58px;   /* 8 + 40 + 10 gap */
    }

    .chatbot-window {
        width: min(320px, calc(100vw - 16px));
        max-width: 320px;

        height: calc(100vh - 98px);
        max-height: calc(100vh - 98px);
        min-height: 180px;
    }

    .chatbot-toggle {
        width: 40px;
        height: 40px;
    }
}

/* ============================================================
   iOS Safe Area — Notched iPhones (X, 11, 12, 13, 14, 15)
   Overrides bottom positions when safe-area is available
   ============================================================ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {

    /* Base */
    .floating-whatsapp {
        bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .chatbot {
        bottom: calc(76px + env(safe-area-inset-bottom));
    }
    .chatbot-window {
        height: calc(100vh - 136px - env(safe-area-inset-bottom));
    }

    /* Small phones */
    @media screen and (max-width: 375px) {
        .floating-whatsapp {
            bottom: calc(10px + env(safe-area-inset-bottom));
        }
        .chatbot {
            bottom: calc(66px + env(safe-area-inset-bottom));
        }
        .chatbot-window {
            height: calc(100vh - 120px - env(safe-area-inset-bottom));
        }
    }

    /* Standard phones */
    @media screen and (min-width: 376px) and (max-width: 480px) {
        .floating-whatsapp {
            bottom: calc(12px + env(safe-area-inset-bottom));
        }
        .chatbot {
            bottom: calc(76px + env(safe-area-inset-bottom));
        }
        .chatbot-window {
            height: calc(100vh - 136px - env(safe-area-inset-bottom));
        }
    }

    /* Large phones / Small tablets */
    @media screen and (min-width: 481px) and (max-width: 768px) {
        .floating-whatsapp {
            bottom: calc(14px + env(safe-area-inset-bottom));
        }
        .chatbot {
            bottom: calc(84px + env(safe-area-inset-bottom));
        }
        .chatbot-window {
            height: calc(100vh - 150px - env(safe-area-inset-bottom));
        }
    }

    /* Tablets */
    @media screen and (min-width: 769px) and (max-width: 1024px) {
        .floating-whatsapp {
            bottom: calc(16px + env(safe-area-inset-bottom));
        }
        .chatbot {
            bottom: calc(90px + env(safe-area-inset-bottom));
        }
        .chatbot-window {
            height: calc(100vh - 160px - env(safe-area-inset-bottom));
        }
    }

    /* Desktop */
    @media screen and (min-width: 1025px) {
        .floating-whatsapp {
            bottom: calc(20px + env(safe-area-inset-bottom));
        }
        .chatbot {
            bottom: calc(96px + env(safe-area-inset-bottom));
        }
        .chatbot-window {
            height: calc(100vh - 170px - env(safe-area-inset-bottom));
        }
    }

    /* Landscape short */
    @media screen and (orientation: landscape) and (max-height: 500px) {
        .floating-whatsapp {
            bottom: calc(8px + env(safe-area-inset-bottom));
        }
        .chatbot {
            bottom: calc(58px + env(safe-area-inset-bottom));
        }
        .chatbot-window {
            height: calc(100vh - 98px - env(safe-area-inset-bottom));
        }
    }
}

/* ============================================================
   Chatbot OPEN — Push WhatsApp button above chatbot
   ============================================================ */
body.chatbot-open .floating-whatsapp {
    bottom: 140px;
}

/* ============================================================
   iPhone SE — 375 × 667 (Portrait)
   ============================================================ */
@media screen and (width: 375px) and (height: 667px) {

    .floating-whatsapp {
        right: 10px;
        bottom: 10px;
        width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .floating-whatsapp-text {
        display: none;
    }

    .chatbot {
        right: 10px;
        bottom: 66px; /* 10 + 44 + 12 gap */
    }

    .chatbot-window {
        width: calc(100vw - 20px);
        max-width: 345px;
        height: 440px;       /* FIXED — fits perfectly */
        max-height: 440px;   /* FIXED — no overflow */
        min-height: 440px;   /* FIXED — no shrink */
    }

    .chatbot-toggle {
        width: 44px;
        height: 44px;
    }
}

/* iPhone SE — Landscape (667 × 375) */
@media screen and (width: 667px) and (height: 375px) {

    .floating-whatsapp {
        right: 8px;
        bottom: 8px;
        width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .floating-whatsapp-text {
        display: none;
    }

    .chatbot {
        right: 8px;
        bottom: 52px; /* 8 + 36 + 8 gap */
    }

    .chatbot-window {
        width: calc(100vw - 16px);
        max-width: 310px;
        height: 260px;       /* FIXED — short landscape */
        max-height: 260px;
        min-height: 260px;
    }

    .chatbot-toggle {
        width: 36px;
        height: 36px;
    }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    :root {
        --safe-bottom: env(safe-area-inset-bottom);
    }
}

.floating-whatsapp {
    right: calc(var(--float-gap) + env(safe-area-inset-right, 0px));
    bottom: calc(var(--float-gap) + var(--safe-bottom));
    overflow: visible;          /* stops the notification badge being clipped */
}

.chatbot {
    right: calc(var(--float-gap) + env(safe-area-inset-right, 0px));
    bottom: calc(72px + var(--safe-bottom));   /* sits above the WhatsApp button */
}

.chatbot-window {
    height: min(440px, calc(100dvh - 72px - var(--safe-bottom) - 24px));
    max-height: min(440px, calc(100dvh - 72px - var(--safe-bottom) - 24px));
    min-height: 0;
}

/* Fallback for browsers without dvh support */
@supports not (height: 100dvh) {
    .chatbot-window {
        height: min(440px, calc(100vh - 72px - var(--safe-bottom) - 24px));
        max-height: min(440px, calc(100vh - 72px - var(--safe-bottom) - 24px));
    }
}

/* ============================================================
   RESPONSIVE — Landscape short screens (height ≤ 500px)
   ============================================================ */

@media screen and (orientation: landscape) and (max-height: 500px) {

    .floating-whatsapp {
        right: calc(10px + env(safe-area-inset-right, 0px));
        bottom: calc(10px + var(--safe-bottom));
        width: 42px;
        height: 42px;
    }

    .floating-whatsapp i {
        font-size: 20px;
    }

    .chatbot {
        right: calc(10px + env(safe-area-inset-right, 0px));
        /* 10 + 42 + 8 = 60px */
        bottom: calc(60px + var(--safe-bottom));
    }

    .chatbot-toggle {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .chatbot-window {
        bottom: 52px;
        width: min(340px, calc(100vw - 20px));
        max-width: 340px;

        /* Window bottom edge = 60px + 52px = 112px from viewport bottom */
        height: calc(100dvh - 112px - var(--safe-bottom));
        max-height: calc(100dvh - 112px - var(--safe-bottom));
        min-height: 180px;

        border-radius: 14px;
    }

    .chatbot-notification {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
}
/* ============================================================
   TABLET PORTRAIT / LARGE PHONES (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

    .section {
        padding: 48px 0;
    }

    .navbar-inner {
        min-height: 60px;
    }

    .navbar-nav {
        gap: 2px;
    }

    .navbar-nav a {
        padding: 7px 9px;
        font-size: 13px;
    }

    .hero {
        min-height: 440px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .hero-content p {
        font-size: 16px;
    }

    .card-grid {
        grid-template-columns: minmax(0, 1fr);   /* single column */
        gap: 18px;
    }

    .itin-card-img {
        height: 190px;
    }

    .detail-hero {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;                     /* brand block spans full width */
    }

    /* Admin: sidebar becomes an off-canvas drawer */
    .admin-sidebar {
        width: 240px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 1000;
    }

    .admin-sidebar.open {                        /* toggle this class with JS */
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-topbar {
        padding: 12px 16px;
    }

    .form-card {
        padding: 20px;
    }

    /* Tables scroll sideways instead of breaking the layout */
    .data-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .whatsapp-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* ============================================================
   PHONES (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {

    .section {
        padding: 40px 0;
    }

    .navbar-inner {
        min-height: 56px;
    }

    .navbar-nav a {
        padding: 6px 8px;
        font-size: 12px;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: clamp(28px, 9vw, 34px);
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 15px;
    }

    .card-grid {
        gap: 16px;
    }

    .itin-card-img {
        height: 170px;
    }

    .detail-hero {
        height: 230px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
/* iPhone SE and small phones */
@media (max-width: 400px) {

    .navbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;                 /* guaranteed space between brand and links */
        padding-left: 12px;
        padding-right: 12px;
        flex-wrap: nowrap;
    }

    .navbar-brand {
        flex: 1 1 0;               /* takes only the leftover space */
        min-width: 0;              /* lets it shrink instead of overflowing */
        gap: 6px;
        font-size: 14px;
        line-height: 1.15;
        white-space: normal;       /* wraps to "SK Travel / Planner" */
        overflow: hidden;
    }

    .navbar-brand img {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }

    .navbar-nav {
        flex: 0 0 auto;            /* links keep their size */
        gap: 0;
        white-space: nowrap;
    }

    .navbar-nav a {
        padding: 5px 6px;
        font-size: 11px;
        gap: 3px;
    }

    .navbar-nav a i,
    .navbar-nav a svg {
        font-size: 10px;
    }
}

/* 360px and narrower */
@media (max-width: 360px) {

    .navbar-inner {
        gap: 6px;
    }

    .navbar-brand {
        font-size: 12.5px;
    }

    .navbar-brand img {
        width: 26px;
        height: 26px;
    }

    .navbar-nav a {
        padding: 5px;
        font-size: 10.5px;
    }

    .navbar-nav a i,
    .navbar-nav a svg {
        display: none;
    }
}
/* ==========================================
   CALL BUTTON
   ========================================== */
.call-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  max-width: 100%;
  padding: 9px 18px 9px 10px;
  background: linear-gradient(135deg, #0d7377 0%, #095b5e 100%);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(13, 115, 119, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Darker gradient layer (gradients can't be transitioned directly,
   so we fade this overlay in instead) */
.call-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #095b5e 0%, #074b4e 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Icon */
.call-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease;
}

.call-icon svg {
  width: 20px;
  height: 20px;
}

/* Text */
.call-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.call-content small {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.72);
}

.call-content strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .call-button:hover {
    transform: translateY(-3px);
    box-shadow:
      0 14px 32px rgba(13, 115, 119, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  .call-button:hover::before { opacity: 1; }
  .call-button:hover .call-icon { background: rgba(255, 255, 255, 0.2); }
}

/* Pressed state (all devices) */
.call-button:active {
  transform: translateY(0) scale(0.98);
}

/* Keyboard accessibility */
.call-button:focus-visible {
  outline: 3px solid rgba(13, 115, 119, 0.6);
  outline-offset: 4px;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .call-button,
  .call-button::before,
  .call-icon { transition: none; }
  .call-button:hover,
  .call-button:active { transform: none; }
}

/* ==========================================
   TABLET
   ========================================== */
@media (max-width: 768px) {
  .call-button {
    min-height: 54px;
    padding: 8px 15px 8px 8px;
    gap: 10px;
    border-radius: 13px;
  }
  .call-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .call-content strong { font-size: 14px; }
}

/* ==========================================
   MOBILE
   ========================================== */
@media (max-width: 480px) {
  .call-button {
    min-height: 50px;
    padding: 7px 13px 7px 7px;
    gap: 9px;
    border-radius: 12px;
  }
  .call-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
  }
  .call-icon svg { width: 18px; height: 18px; }
  .call-content small { font-size: 9px; letter-spacing: 0.8px; }
  .call-content strong { font-size: 13px; }
}

/* ==========================================
   VERY SMALL DEVICES
   ========================================== */
@media (max-width: 360px) {
  .call-button { padding-right: 11px; gap: 8px; }
  .call-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .call-content strong { font-size: 12px; }
}
/* ---------- Variables ---------- */
:root {
    --topbar-bg: #0f172a;
    --topbar-color: #ffffff;
    --topbar-accent: #38bdf8; /* icon color */
    --topbar-height: 40px;
}

/* ---------- Container fallback ----------
   Remove this block if Bootstrap (or your framework)
   already provides .container */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* ---------- Top bar (mobile first) ---------- */
.topbar {
    background: var(--topbar-bg);
    color: var(--topbar-color);
    font-size: 0.75rem;
    line-height: 1.2;
}

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 16px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--topbar-color);
    text-decoration: none;
    opacity: 0.9;
    padding: 4px 0;          /* bigger tap target on touch screens */
    transition: opacity 0.2s ease;
    word-break: break-word;
}

.topbar-link:hover,
.topbar-link:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

/* Icon color for call and email */
.topbar-link i {
    color: var(--topbar-accent);
}

/* ---------- Very small phones: stack vertically ---------- */
@media (max-width: 359px) {
    .topbar-inner {
        flex-direction: column;
        gap: 2px;
    }
}

/* ---------- Tablets (>= 576px) ---------- */
@media (min-width: 576px) {
    .topbar {
        font-size: 0.8rem;
    }
    .topbar-inner {
        gap: 4px 24px;
    }
}

/* ---------- Desktop (>= 768px): align right ---------- */
@media (min-width: 768px) {
    .topbar {
        font-size: 0.85rem;
    }
    .topbar-inner {
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
}

/* ---------- Large screens (>= 1200px) ---------- */
@media (min-width: 1200px) {
    .topbar {
        font-size: 0.9rem;
    }
}
/* ---------- Brand Title ---------- */
/* ---------- Brand Title (small-screen safe) ---------- */
.brand-title {
  font-size: clamp(1rem, 4.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0;

  display: block;
  width: auto;
  max-width: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Every ancestor of the brand must not clip or squeeze it */
.navbar,
.navbar > .container,
.navbar > .container-fluid,
.navbar-brand,
.brand-wrapper {
  overflow: visible !important;
  text-overflow: clip !important;
  min-width: 0;
}

.navbar-brand,
.brand-wrapper {
  flex: 1 1 0%;               /* take all leftover space */
  max-width: none !important;
  width: auto !important;
  white-space: normal !important;
  margin-right: 0.5rem;
}

/* Toggler/buttons keep their size and never steal brand space */
.navbar-toggler,
.navbar .btn,
.navbar-actions {
  flex: 0 0 auto;
}

/* Small phones */
@media (max-width: 576px) {
  .navbar > .container,
  .navbar > .container-fluid {
    flex-wrap: nowrap;        /* keep brand + toggler on one row */
    gap: 0.5rem;
  }
  .brand-title {
    font-size: clamp(0.95rem, 4.8vw, 1.25rem);
  }
}