/* ================================================================ */
/* uvaSafari PREMIUM THEME                                         */
/* This file contains the custom design only. Bootstrap remains    */
/* available for the responsive grid and utility classes.          */
/* ================================================================ */

/* --------------------------------------------------------------- */
/* 1. BRAND COLOURS                                                */
/* --------------------------------------------------------------- */
:root {
    --forest: #103b2d;       /* Deep Sri Lankan forest green. */
    --forest2: #06251c;      /* Darkest green used in footer. */
    --leaf: #2d6a45;         /* Natural leaf green. */
    --gold: #d6a83e;         /* Warm safari gold. */
    --gold-light: #f2d17a;   /* Highlight gold. */
    --cream: #f7f1e3;        /* Warm ivory background. */
    --sand: #e7dcc5;         /* Sand / parchment accent. */
    --ink: #17241e;          /* Main text. */
    --muted: #68766f;        /* Secondary text. */
    --white: #ffffff;        /* White. */
}

/* --------------------------------------------------------------- */
/* 2. GLOBAL                                                       */
/* --------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif; /* Main readable font. */
    color: var(--ink);
    background: #fff;
}

a { transition: all .25s ease; }

/* --------------------------------------------------------------- */
/* 3. NAVIGATION                                                   */
/* --------------------------------------------------------------- */
.ftco_navbar {
    background: rgba(6, 37, 28, .97) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.uva-logo, .navbar-brand {
    font-family: 'Playfair Display', serif !important;
    font-size: 31px !important;
    letter-spacing: .3px;
}

.uva-logo span, .navbar-brand span, .footer-logo span { color: var(--gold); }

.navbar-nav .nav-link {
    font-weight: 700;
    letter-spacing: .2px;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.navbar-nav .nav-link:hover { color: var(--gold-light) !important; }

/* --------------------------------------------------------------- */
/* 4. HERO                                                        */
/* --------------------------------------------------------------- */
.hero-wrap {
    min-height: 720px;
    background-position: center !important;
    background-size: cover;
    position: relative;
}

.hero-wrap .overlay {
    background: linear-gradient(90deg, rgba(4,29,21,.88), rgba(4,29,21,.35) 60%, rgba(4,29,21,.08));
}

.hero-wrap .slider-text { min-height: 720px; }

.hero-copy { max-width: 760px; }

.eyebrow {
    display: inline-block;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 18px;
}

.hero-copy h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.04;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,.18);
}

.hero-copy p {
    font-size: 19px;
    line-height: 1.7;
    color: #f1f6f1;
    max-width: 650px;
}

/* Small location label used on page banners. */
.page-hero {
    min-height: 390px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
}

.page-hero .page-hero-content { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(42px, 6vw, 64px); }
.page-hero p { max-width: 650px; color: #eaf1eb; font-size: 18px; }

/* --------------------------------------------------------------- */
/* 5. BUTTONS                                                      */
/* --------------------------------------------------------------- */
.btn-safari {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #15251d !important;
    font-weight: 800;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(214,168,62,.18);
}

.btn-safari:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(214,168,62,.28); }

.btn-outline-safari {
    border: 1px solid rgba(255,255,255,.65);
    color: #fff !important;
    font-weight: 800;
    border-radius: 6px;
}

.btn-outline-safari:hover { background: #fff; color: var(--forest) !important; }

/* --------------------------------------------------------------- */
/* 6. BOOKING CARD                                                 */
/* --------------------------------------------------------------- */
.booking-strip { margin-top: -78px; position: relative; z-index: 5; }

.booking-card {
    background: rgba(255,255,255,.98);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(16,59,45,.18);
    padding: 28px;
    border: 1px solid rgba(16,59,45,.07);
}

.booking-card h3, .tour-card h3, .event-card h3, .gallery-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--forest);
}

.booking-card h3 { font-size: 27px; }
.booking-card label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; color: var(--muted); }
.booking-card .form-control { height: 49px; border: 1px solid #dfe6df; border-radius: 7px; }

/* --------------------------------------------------------------- */
/* 7. SECTIONS                                                     */
/* --------------------------------------------------------------- */
.section-kicker {
    color: var(--leaf);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--forest);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.12;
}

.sri-section { background: var(--cream); }

/* --------------------------------------------------------------- */
/* 8. CARDS                                                        */
/* --------------------------------------------------------------- */
.feature-card, .tour-card, .event-card, .gallery-card {
    border: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(22,49,36,.09);
    background: #fff;
    height: 100%;
}

.feature-card { transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(22,49,36,.13); }

.feature-card .icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--cream); color: var(--forest); font-size: 28px;
    margin: 0 auto 18px;
}

.tour-card img, .gallery-card img, .event-card img {
    width: 100%; height: 245px; object-fit: cover;
}

.tour-card .body, .event-card .body, .gallery-card .body { padding: 22px; }
.tour-card h3, .event-card h3, .gallery-card h3 { font-size: 24px; }

.tour-card, .event-card, .gallery-card { transition: transform .25s ease, box-shadow .25s ease; }
.tour-card:hover, .event-card:hover, .gallery-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(22,49,36,.14); }

.price { color: var(--leaf); font-weight: 900; }

.badge-safari {
    display: inline-block;
    background: #edf4ee;
    color: var(--leaf);
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 900;
}

/* --------------------------------------------------------------- */
/* 9. GALLERY                                                      */
/* --------------------------------------------------------------- */
.gallery-filter { margin-bottom: 32px; }

.gallery-filter button {
    border: 1px solid #d8e0d8;
    background: #fff;
    color: var(--forest);
    border-radius: 30px;
    padding: 9px 17px;
    margin: 4px;
    font-weight: 700;
    cursor: pointer;
}

.gallery-filter button.active, .gallery-filter button:hover {
    background: var(--forest); color: #fff; border-color: var(--forest);
}

.gallery-card { cursor: pointer; }
.gallery-card img { height: 270px; }
.gallery-card .image-wrap { position: relative; overflow: hidden; }
.gallery-card .image-wrap:after {
    content: 'View'; position: absolute; right: 15px; bottom: 15px;
    background: rgba(6,37,28,.82); color: #fff; padding: 7px 11px; border-radius: 20px;
    font-size: 11px; font-weight: 800; opacity: 0; transform: translateY(5px); transition: .25s;
}
.gallery-card:hover .image-wrap:after { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------- */
/* 10. EVENT CARDS                                                 */
/* --------------------------------------------------------------- */
.event-date {
    width: 72px; min-width: 72px; height: 72px; border-radius: 12px;
    background: var(--forest); color: #fff; text-align: center; padding-top: 8px;
}
.event-date strong { display:block; font-size: 27px; line-height: 1; font-family: 'Playfair Display', serif; }
.event-date span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-light); font-weight: 800; }

.event-meta { color: var(--muted); font-size: 13px; }

/* --------------------------------------------------------------- */
/* 11. STATS + CTA                                                 */
/* --------------------------------------------------------------- */
.stat { padding: 24px; border-left: 3px solid var(--gold); }
.stat strong { font-family: 'Playfair Display', serif; font-size: 38px; color: var(--forest); display: block; }
.stat span { display: block; color: var(--muted); }

.cta {
    background: linear-gradient(110deg, var(--forest), var(--leaf));
    color: #fff; border-radius: 16px; padding: 58px;
    box-shadow: 0 18px 45px rgba(16,59,45,.18);
}
.cta h2 { font-family: 'Playfair Display', serif; font-size: 40px; }
.cta-kicker { color: var(--gold-light); }

/* --------------------------------------------------------------- */
/* 12. FOOTER                                                      */
/* --------------------------------------------------------------- */
.ftco-footer { background: var(--forest2) !important; color: #dce7df; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 32px; color: #fff; }
.ftco-footer h2 { color: #fff; font-size: 18px; font-weight: 800; }
.ftco-footer a { color: #dce7df; }
.ftco-footer a:hover { color: var(--gold-light); }
.footer-rule { border-color: rgba(255,255,255,.12); }

/* --------------------------------------------------------------- */
/* 13. FLOATING WHATSAPP                                           */
/* --------------------------------------------------------------- */
.whatsapp {
    position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px;
    border-radius: 50%; background: #25d366; color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; z-index: 1000; box-shadow: 0 10px 25px rgba(0,0,0,.2);
    text-decoration: none !important;
}
.whatsapp:hover { transform: scale(1.08); }

/* --------------------------------------------------------------- */
/* 14. MOBILE                                                      */
/* --------------------------------------------------------------- */
@media (max-width: 767px) {
    .hero-wrap, .hero-wrap .slider-text { min-height: 650px; }
    .hero-copy h1 { font-size: 45px; }
    .hero-copy p { font-size: 16px; }
    .booking-strip { margin-top: -45px; }
    .booking-card { padding: 20px; }
    .cta { padding: 38px 24px; }
    .cta h2 { font-size: 31px; }
    .gallery-card img { height: 230px; }
}

/* --------------------------------------------------------------- */
/* 15. GALLERY LIGHTBOX                                            */
/* --------------------------------------------------------------- */
.uva-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.uva-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 19, 14, .90);
}

.uva-lightbox-panel {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.uva-lightbox-panel img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 25px 70px rgba(0,0,0,.45);
}

.uva-lightbox-close {
    position: absolute;
    right: -5px;
    top: -45px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.uva-lightbox-caption {
    color: #fff;
    font-size: 17px;
    margin-top: 12px;
    font-weight: 700;
}
