/*
|--------------------------------------------------------------------------
| TONY'S VACATION PLANNING — BRIGHT TROPICAL REDESIGN
|--------------------------------------------------------------------------
*/

:root {
    --bg-deep: #020e1f;
    --bg-navy: #041530;
    --bg-card: #071e3d;
    --yellow: #ffe135;
    --yellow-soft: #fff176;
    --green-neon: #1dff9c;
    --green-bright: #31ffc0;
    --cyan: #38d9ff;
    --cyan-strong: #00e5ff;
    --pink-hot: #ff4081;
    --purple: #7c4dff;
    --orange: #ff9f43;
    --text-white: #ffffff;
    --text-soft: #d9efff;
    --text-muted: #90bddb;
    --card-border: rgba(255, 255, 255, 0.14);
    --card-shadow: 0 10px 35px rgba(0, 0, 0, 0.42);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --max-width: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(56, 217, 255, 0.12), transparent 24%),
        linear-gradient(160deg, #031122 0%, #05204a 45%, #041733 100%);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(var(--max-width), 94%);
    margin: 0 auto;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 14, 31, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.02;
}

.brand-top {
    font-size: 2rem;
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: -0.03em;
    text-shadow: 0 0 14px rgba(255, 225, 53, 0.15);
}

.brand-bottom {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
    transition: 0.22s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-white);
}

.nav-cta {
    background: linear-gradient(135deg, var(--green-neon), var(--green-bright)) !important;
    color: #022313 !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: 0 0 18px rgba(29, 255, 156, 0.4);
}

.nav-cta:hover {
    box-shadow: 0 0 28px rgba(29, 255, 156, 0.65);
    transform: translateY(-1px);
}

/* HERO */

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(to right, rgba(2,14,31,0.72) 34%, rgba(2,14,31,0.16) 100%),
        url('/assets/images/hero.jpg') center/cover no-repeat;
}

.hero-panel {
    max-width: 720px;
    background: rgba(7, 30, 61, 0.5);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 26px;
    padding: 2rem 2rem 1.8rem;
    margin: 2.6rem 0;
    box-shadow: var(--card-shadow);
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-pill);
    background: rgba(0,229,255,0.15);
    border: 1px solid rgba(0,229,255,0.28);
    color: var(--cyan-strong);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 900;
    line-height: 0.98;
    margin-bottom: 1rem;
}

.hero h1 .highlight {
    color: var(--green-neon);
    text-shadow: 0 0 18px rgba(29, 255, 156, 0.18);
}

.hero-desc {
    color: var(--text-soft);
    font-size: 1.08rem;
    max-width: 590px;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1.45rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.98rem;
    transition: 0.22s ease;
    border: none;
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(135deg, var(--green-neon), var(--green-bright));
    color: #032717;
    box-shadow: 0 0 20px rgba(29, 255, 156, 0.35);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(29, 255, 156, 0.6);
}

.button-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text-white);
}

.button-secondary:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
}

.trip-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.trip-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 600;
    transition: 0.22s ease;
}

.trip-pill:hover {
    background: rgba(0,229,255,0.14);
    border-color: rgba(0,229,255,0.26);
    color: var(--cyan-strong);
}

.trip-pill.luxury {
    color: var(--yellow-soft);
    border-color: rgba(255, 225, 53, 0.24);
}

/* WHY SECTION */

.section-intro {
    background: rgba(4, 21, 48, 0.76);
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 2.4rem 0;
}

.section-intro-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.section-intro h2 {
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
}

.section-intro p {
    color: var(--text-soft);
    max-width: 650px;
    font-size: 1rem;
}

.intro-badges {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.badge-green,
.badge-outline {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 0.8rem 1.3rem;
    border-radius: 18px;
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    transition: 0.22s ease;
    text-align: center;
}

.badge-green {
    background: linear-gradient(135deg, var(--green-neon), var(--green-bright));
    color: #022313;
    border: none;
    box-shadow: 0 0 18px rgba(29,255,156,0.28);
}

.badge-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(29,255,156,0.46);
}

.badge-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255,64,129,0.65);
}

.badge-outline:hover {
    background: rgba(255,64,129,0.1);
    transform: translateY(-2px);
}

.badge-sub {
    font-size: 0.77rem;
    font-weight: 500;
    opacity: 0.88;
    margin-top: 0.12rem;
}

/* TRIPS HEADER */

.trips-section {
    padding: 3rem 0 4rem;
}

.trips-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trips-header-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.trips-header-left p {
    color: var(--text-soft);
    max-width: 580px;
    font-size: 1rem;
}

.favorites-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.85rem 1.5rem;
    border-radius: 18px;
    background: transparent;
    border: 2px solid rgba(255,64,129,0.7);
    color: var(--text-white);
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    transition: 0.22s ease;
    text-align: center;
}

.favorites-btn:hover {
    background: rgba(255,64,129,0.12);
    transform: translateY(-2px);
}

.favorites-btn-sub {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.85;
    margin-top: 0.1rem;
}

/* TRIP CARDS */

.trip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.trip-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, #05214a 0%, #071b3b 100%);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: 0.25s ease;
}

.trip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}

.trip-card-image {
    position: relative;
    height: 215px;
    overflow: hidden;
}

.trip-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.trip-card:hover .trip-card-image img {
    transform: scale(1.06);
}

.img-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.card-category-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    padding: 0.38rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}

.card-category-badge.nature     { background: rgba(0, 190, 110, 0.92); }
.card-category-badge.rainforest { background: rgba(20, 150, 70, 0.92); }
.card-category-badge.beach      { background: rgba(0, 165, 220, 0.92); }
.card-category-badge.cruise     { background: rgba(110, 70, 255, 0.92); }
.card-category-badge.dream      { background: rgba(255, 64, 129, 0.92); }

.card-flag-circle {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(7px);
    border: 2px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    z-index: 2;
}

.trip-card-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trip-card h3 {
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.55rem;
}

.trip-type-badge {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-pill);
    background: rgba(56, 217, 255, 0.12);
    border: 1px solid rgba(56, 217, 255, 0.24);
    color: var(--cyan-strong);
    font-size: 0.77rem;
    font-weight: 700;
}

.trip-summary {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
    flex: 1;
}

.trip-card-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-soft);
    font-size: 0.84rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 0.75rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-divider {
    color: rgba(255,255,255,0.25);
}

.trip-price {
    font-size: 1.24rem;
    font-weight: 900;
    color: var(--green-neon);
    margin-bottom: 0.22rem;
}

.price-note {
    display: block;
    color: var(--text-muted);
    font-size: 0.79rem;
    line-height: 1.42;
    margin-bottom: 0.9rem;
}

.trip-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #00d8ff, #008dff);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.92rem;
    transition: 0.22s ease;
    box-shadow: 0 5px 16px rgba(0, 120, 255, 0.35);
}

.trip-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 120, 255, 0.55);
}

.trip-card.dream .trip-button {
    background: linear-gradient(90deg, #ff2d95, #ff9f43);
    box-shadow: 0 5px 16px rgba(255, 64, 129, 0.35);
}

.trip-card.dream .trip-button:hover {
    box-shadow: 0 8px 24px rgba(255, 64, 129, 0.55);
}

/* FOOTER */

.site-footer {
    background: rgba(2, 10, 22, 0.96);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-item-icon {
    font-size: 1.15rem;
}

.footer-item-text strong {
    display: block;
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 800;
}

.footer-item-text span {
    display: block;
    color: var(--text-muted);
    font-size: 0.73rem;
}

/* TRIP DETAIL PAGE */

.trip-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(to right, rgba(2,14,31,0.82) 30%, rgba(2,14,31,0.18) 100%),
        var(--trip-hero-image) center / cover no-repeat;
    padding: 3rem 0;
}

.trip-hero-panel {
    max-width: 760px;
    background: rgba(7, 30, 61, 0.34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.trip-country {
    display: block;
    color: var(--cyan-strong);
    font-weight: 800;
    font-size: 0.86rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.trip-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 0.7rem;
}

.trip-hero .trip-type {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    background: rgba(56,217,255,0.12);
    border: 1px solid rgba(56,217,255,0.24);
    color: var(--cyan-strong);
    font-size: 0.84rem;
    font-weight: 700;
}

.trip-hero .trip-summary {
    color: var(--text-soft);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.trip-hero .trip-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--green-neon);
}

.trip-details {
    padding: 2rem 0 4rem;
}

.trip-details .container {
    display: grid;
    gap: 1.2rem;
}

.detail-card {
    background: rgba(7, 30, 61, 0.88);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.45rem;
    box-shadow: var(--card-shadow);
}

.detail-card h2 {
    font-size: 1.28rem;
    font-weight: 900;
    margin-bottom: 0.85rem;
}

.detail-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--cyan-strong);
    margin-bottom: 0.45rem;
    margin-top: 0.8rem;
}

.detail-card p {
    color: var(--text-soft);
}

.detail-card ul,
.detail-card ol {
    padding-left: 1.3rem;
    color: var(--text-soft);
    margin-top: 0.55rem;
}

.detail-card li + li {
    margin-top: 0.42rem;
}

.package-box,
.cruise-box,
.destination-box {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(4, 16, 40, 0.62);
    border: 1px solid rgba(255,255,255,0.08);
}

.stop-box {
    margin-top: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border-left: 3px solid var(--green-neon);
}

.note-callout {
    border-left: 4px solid var(--yellow);
}

.link-list,
.photo-source-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.8rem;
}

.link-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-soft);
    transition: 0.22s ease;
}

.link-chip:hover {
    background: rgba(56,217,255,0.1);
    color: var(--cyan-strong);
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-panel {
        margin: 1rem 0;
    }

    .section-intro-inner,
    .trips-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .intro-badges {
        width: 100%;
    }

    .badge-green,
    .badge-outline,
    .favorites-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .trip-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .trip-card-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .footer-inner {
        justify-content: flex-start;
    }
}


.card-country-line {
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}


.trip-gallery-section {
    padding: 2rem 0 1rem;
}

.trip-gallery-section h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.trip-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
}

.trip-gallery img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trip-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
