:root {
    --sage-700: #1e5631;
    --sage-800: #163f24;
    --gold-500: #d4a017;
    --gold-600: #b8860b;
    --cream-50: #fcfbf6;
    --cream-100: #f8f7f2;
    --ink-700: #2f3b31;
    --ink-500: #55625a;
    --shadow-soft: 0 18px 45px rgba(20, 54, 31, 0.08);
    --shadow-strong: 0 30px 60px rgba(20, 54, 31, 0.16);
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--ink-700);
    background: linear-gradient(135deg, var(--cream-50), var(--cream-100));
    font-size: 17px;
    line-height: 1.7;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 8%;
}

.logo {
    color: var(--sage-700);
    font-size: 18px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-500);
}

.btn-book {
    padding: 10px 18px;
    border-radius: 30px;
    background: var(--gold-500);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.btn-book:hover {
    background: var(--gold-600);
    transform: translateY(-2px);
}

.destination-intro {
    position: relative;
    overflow: hidden;
    padding: 104px 8% 24px;
    border-bottom: 1px solid rgba(30, 86, 49, .1);
    background:
        radial-gradient(ellipse at 92% 0, rgba(212, 160, 23, .14), transparent 34%),
        linear-gradient(135deg, #f8f7f2, #fff);
}

.destination-intro::after {
    position: absolute;
    right: 8%;
    bottom: -34px;
    width: 140px;
    height: 70px;
    border: 1px solid rgba(212, 160, 23, .22);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.destination-intro-content {
    display: grid;
    max-width: 1320px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
    align-items: center;
    column-gap: clamp(24px, 5vw, 72px);
    margin: 0 auto;
}

.destination-intro-content span {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    grid-column: 1 / -1;
    margin-bottom: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(212, 160, 23, .32);
    border-radius: 999px;
    background: #fffaf0;
    color: #8a6611;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.destination-intro-content span::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-500);
    content: "";
}

.destination-intro-content h1 {
    margin: 0;
    color: var(--sage-800);
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    line-height: 1.12;
    text-wrap: balance;
}

.destination-intro-content p {
    max-width: 520px;
    margin: 0;
    padding-left: 22px;
    border-left: 2px solid rgba(212, 160, 23, .55);
    color: var(--ink-500);
    font-size: .95rem;
    line-height: 1.7;
}

.detail-overview {
    position: relative;
    padding: clamp(72px, 9vw, 124px) 8%;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(212, 160, 23, .08), transparent 34%),
        linear-gradient(135deg, #f8f7f2, #fffdf8);
}

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
    align-items: start;
    gap: clamp(36px, 6vw, 84px);
    max-width: 1320px;
    margin: 0 auto;
}

.overview-text {
    padding-top: 8px;
}

.overview-text::before {
    display: block;
    margin-bottom: 12px;
    color: var(--sage-700);
    content: "THE EXPERIENCE";
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
}

.overview-text h2,
.highlights h2,
.gallery h2 {
    margin-bottom: 40px;
    font-family: "Playfair Display", serif;
}

.overview-text h2 {
    margin-bottom: 24px;
    color: #172d20;
    font-size: clamp(2.2rem, 3.5vw, 3.1rem);
    line-height: 1.12;
}

.overview-text p {
    max-width: 760px;
    margin-bottom: 20px;
    color: #4b554d;
    font-size: 1.08rem;
    line-height: 1.9;
}

.overview-text p:first-of-type {
    color: #35443a;
    font-size: 1.16rem;
}

.overview-box {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 100% 0, rgba(212, 160, 23, .2), transparent 40%),
        linear-gradient(145deg, #1e5631, #123520);
    box-shadow: 0 24px 55px rgba(20, 54, 31, .2);
    color: white;
}

.overview-box::before {
    display: block;
    margin-bottom: 9px;
    color: #f0cb69;
    content: "AT A GLANCE";
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.overview-box h3 {
    margin-bottom: 22px;
    color: white;
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    line-height: 1.2;
}

.overview-box ul {
    list-style: none;
}

.overview-box li {
    position: relative;
    margin: 0;
    padding: 14px 0 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .96);
    font-size: 1rem;
    line-height: 1.55;
}

.overview-box li::before {
    position: absolute;
    top: 23px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f0cb69;
    content: "";
}

.overview-box li strong {
    color: #f0cb69;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.highlights,
.gallery {
    padding: 120px 8%;
    text-align: center;
}

.highlights h2,
.gallery h2 {
    font-size: 40px;
}

.highlight-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-card {
    padding: 40px;
    border: 1px solid rgba(30, 86, 49, .08);
    border-radius: 24px;
    background: linear-gradient(180deg, #fff, var(--cream-50));
    box-shadow: var(--shadow-soft);
    transition: transform .35s ease, box-shadow .35s ease;
}

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

.highlight-card i {
    margin-bottom: 15px;
    color: var(--gold-500);
    font-size: 35px;
}

.highlight-card h3 {
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
}

.highlight-card p {
    color: #4b514c;
    font-size: 1rem;
}

.gallery-grid {
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-grid img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.detail-cta {
    padding: 140px 8%;
    background-image:
        linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)),
        var(--destination-cta, url("../images/aberdare1.jpg"));
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
}

.detail-cta-content {
    max-width: 800px;
    margin: auto;
}

.detail-cta-content h2 {
    margin-bottom: 15px;
    font-family: "Playfair Display", serif;
    font-size: 42px;
}

.detail-cta-content p {
    margin-bottom: 25px;
    font-size: 18px;
    opacity: .9;
}

.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    box-shadow: 0 15px 35px rgba(212, 160, 23, .25);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(212, 160, 23, .32);
}

.featured-safari {
    padding: 80px 8%;
    background: #fff;
}

.featured-safari-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.featured-safari-heading {
    margin-bottom: 28px;
    text-align: center;
}

.featured-safari-heading span {
    color: var(--sage-700);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.featured-safari-heading h2 {
    margin-top: 8px;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.featured-safari-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.featured-safari-card {
    display: grid;
    grid-template-rows: 190px 1fr;
    overflow: hidden;
    border: 1px solid rgba(30, 86, 49, .12);
    border-radius: 18px;
    background: var(--cream-50);
    box-shadow: var(--shadow-soft);
}

.featured-safari-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.featured-safari-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.featured-safari-label {
    margin-bottom: 10px;
    color: var(--sage-700);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.featured-safari-content h3 {
    margin-bottom: 12px;
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    line-height: 1.25;
}

.featured-safari-content p {
    margin-bottom: 22px;
    color: #555;
    font-size: 1rem;
}

.featured-safari-link {
    margin-top: auto;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--sage-700);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.featured-safari-link:hover {
    transform: translateY(-2px);
    background: var(--sage-800);
}

.footer {
    padding: 40px 20px;
    background: #1e5631;
    color: white;
    text-align: center;
}

body[data-destination="aberdare"] {
    --destination-cta: url("../images/aberdare1.jpg");
}

body[data-destination="amboseli"] {
    --destination-cta: url("../images/amboseli4.jpg");
}

body[data-destination="kilimanjaro"] {
    --destination-cta: url("../images/kilimanjaro4.jpg");
}

body[data-destination="manyara"] {
    --destination-cta: url("../images/manyara4.jpg");
}

body[data-destination="masai-mara"] {
    --destination-cta: url("../images/tour1.jpg");
}

body[data-destination="meru"] {
    --destination-cta: url("../images/meru1.jpg");
}

body[data-destination="mount-kenya"] {
    --destination-cta: url("../images/mtkenya4.jpg");
}

body[data-destination="lake-nakuru"] {
    --destination-cta: url("../images/nakuru2.jpg");
}

body[data-destination="ngorongoro"] {
    --destination-cta: url("../images/ngorongoro4.jpg");
}

body[data-destination="north-coast"] {
    --destination-cta: url("../images/north4.jpg");
}

body[data-destination="samburu"] {
    --destination-cta: url("../images/tour2.jpg");
}

body[data-destination="serengeti"] {
    --destination-cta: url("../images/serengeti4.jpg");
}

body[data-destination="south-coast"] {
    --destination-cta: url("../images/south4.jpg");
}

body[data-destination="tarangire"] {
    --destination-cta: url("../images/tarangire4.jpg");
}

body[data-destination="tsavo-east"] {
    --destination-cta: url("../images/tsavo-east2.jpg");
}

body[data-destination="tsavo-west"] {
    --destination-cta: url("../images/tsavo-east2.jpg");
}

body[data-destination="zanzibar"] {
    --destination-cta: url("../images/zanzibar4.jpg");
}

body[data-destination="amboseli"] .highlight-card,
body[data-destination="samburu"] .highlight-card {
    padding: 40px 25px;
}

body[data-destination="masai-mara"] .detail-overview,
body[data-destination="masai-mara"] .gallery {
    background: transparent;
}

body[data-destination="masai-mara"] .overview-text h2 {
    font-size: 36px;
}

body[data-destination="masai-mara"] .highlights h2,
body[data-destination="masai-mara"] .gallery h2 {
    margin-bottom: 50px;
}

body[data-destination="masai-mara"] .highlight-card {
    padding: 40px 25px;
}

body[data-destination="lake-nakuru"] .highlight-card {
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s ease;
}

body[data-destination="lake-nakuru"] .highlight-card i {
    color: #ffb703;
    font-size: 30px;
}

body[data-destination="serengeti"] .btn-primary {
    border-radius: 50px;
    background: var(--gold-500);
    box-shadow: none;
    transition: .3s;
}

body[data-destination="serengeti"] .btn-primary:hover {
    background: var(--gold-600);
    box-shadow: none;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .destination-intro {
        padding-right: 6%;
        padding-left: 6%;
    }

    .destination-intro-content h1 {
        font-size: clamp(1.9rem, 5vw, 2.5rem);
    }

    .featured-safari-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-safari-card img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .highlights h2,
    .gallery h2 {
        font-size: 30px;
    }

    .featured-safari,
    .detail-overview,
    .highlights,
    .gallery {
        padding: 72px 6%;
    }

    .overview-box {
        padding: 26px;
    }

    .detail-cta {
        padding: 90px 6%;
    }

    .detail-cta-content h2 {
        font-size: 34px;
    }

    .featured-safari-content {
        padding: 24px;
    }

    .featured-safari-grid {
        grid-template-columns: 1fr;
    }

    .overview-text p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .destination-intro {
        padding: 82px 6% 16px;
    }

    .destination-intro-content {
        grid-template-columns: 1fr;
        row-gap: 9px;
    }

    .destination-intro-content span {
        margin-bottom: 0;
    }

    .destination-intro-content h1 {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
    }

    .destination-intro-content p {
        padding-left: 12px;
        font-size: .84rem;
        line-height: 1.55;
    }
}

/* A tighter, shared vertical rhythm keeps destination pages easy to scan. */
.detail-overview {
    padding-block: clamp(56px, 6vw, 80px);
}

.highlights,
.gallery {
    padding-block: clamp(56px, 6vw, 80px);
}

.highlights h2,
.gallery h2 {
    margin-bottom: 28px;
}

.featured-safari {
    padding-block: clamp(56px, 6vw, 76px);
}

.featured-safari-heading {
    margin-bottom: 24px;
}

.detail-cta {
    padding-block: clamp(76px, 8vw, 104px);
}

@media (max-width: 768px) {
    .featured-safari,
    .detail-overview,
    .highlights,
    .gallery {
        padding-block: 52px;
    }

    .highlights h2,
    .gallery h2 {
        margin-bottom: 24px;
    }

    .detail-cta {
        padding-block: 68px;
    }

    .gallery-grid,
    .featured-safari-grid {
        display: flex;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .gallery-grid img,
    .featured-safari-card {
        flex: 0 0 86%;
        min-width: 0;
        scroll-snap-align: start;
    }
}
