/* Classic Tour & Travel theme
   Rounded "bubble" headings + clean sans body, sky-blue/amber palette.
   Colors/fonts are overridden per-site via CSS variables set in layout.html.twig (getThemeConfig). */

* { box-sizing: border-box; }

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

a { text-decoration: none; }

.section-padding { padding: 90px 0; }
@media (max-width: 767.98px) {
    .section-padding { padding: 55px 0; }
}

.bg-soft { background: var(--bg-soft); }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: .75rem;
    color: var(--primary-color);
    background: var(--bg-soft);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-title { font-size: 2.4rem; margin-bottom: 0; }
@media (max-width: 767.98px) { .section-title { font-size: 1.7rem; } }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 50px; transition: all .25s ease; }

.btn-primary, .btn-explore {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover, .btn-explore:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary, .btn-accent {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.btn-secondary:hover, .btn-accent:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}
.btn-outline-primary:hover { background: var(--primary-color); color: #fff; }

.btn-outline-white {
    color: #fff;
    border: 2px solid rgba(255,255,255,.8);
    background: transparent;
}
.btn-outline-white:hover { background: #fff; color: var(--primary-color); }

.btn-pill { padding: .7rem 1.8rem; }
.btn-sm-pill { padding: .5rem 1.3rem; font-size: .85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,.98);
    box-shadow: 0 2px 16px rgba(20,50,80,.08);
    transition: padding .25s ease;
}
.site-header .navbar { padding: .5rem 0; }
.site-header.scrolled .navbar { padding: .25rem 0; }

.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-mark img { height: 72px; width: auto; max-width: 220px; object-fit: contain; }
.brand-mark .brand-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; color: var(--primary-color); }
.brand-mark .brand-text span { color: var(--secondary-color); }

@media (max-width: 767.98px) {
    .brand-mark img { height: 52px; max-width: 160px; }
}

.main-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: .5rem 1rem !important;
    position: relative;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--primary-color) !important; }

/* ---------- Mega menu (Destinations: Country > Activity > Region) ---------- */
.nav-item.has-mega { position: relative; }
.mega-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(20,50,80,.18);
    padding: 30px;
    min-width: 640px;
    max-width: 960px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1001;
}
.nav-item.has-mega:hover .mega-panel { display: block; }
.mega-columns { display: flex; flex-wrap: wrap; gap: 30px; }
.mega-column { min-width: 190px; flex: 1 1 190px; }
.mega-country-title {
    display: block; font-weight: 800; color: var(--primary-color);
    text-transform: uppercase; font-size: .85rem; letter-spacing: .5px;
    margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--bg-soft);
}
.mega-activity-group { margin-bottom: 16px; }
.mega-activity-title {
    display: block; font-weight: 700; color: var(--text-dark); font-size: .9rem; margin-bottom: 6px;
}
.mega-region-list { list-style: none; margin: 0; padding: 0; }
.mega-region-list li a {
    display: block; color: var(--text-light); font-size: .85rem; padding: 3px 0;
}
.mega-region-list li a:hover { color: var(--secondary-color); }

.header-contact { text-align: right; }
.header-contact .label { font-size: .72rem; text-transform: uppercase; color: var(--text-light); font-weight: 700; letter-spacing: .5px; }
.header-contact .phone { font-weight: 800; color: var(--primary-color); font-size: 1.05rem; }
.header-social a {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-soft); color: var(--primary-color);
    margin-left: 6px; transition: all .2s ease;
}
.header-social a:hover { background: var(--primary-color); color: #fff; }

.search-toggle-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-soft); color: var(--primary-color); border: none;
}

.navbar-toggler { border: none; }
.navbar-toggler .menu-icon { width: 26px; height: 18px; position: relative; }
.navbar-toggler .menu-icon span { display: block; height: 2px; width: 100%; background: var(--primary-color); position: absolute; transition: .3s ease; }
.navbar-toggler .menu-icon span:nth-child(1) { top: 0; }
.navbar-toggler .menu-icon span:nth-child(2) { top: 8px; }
.navbar-toggler .menu-icon span:nth-child(3) { top: 16px; }
.navbar-toggler:not(.collapsed) .menu-icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar-toggler:not(.collapsed) .menu-icon span:nth-child(2) { opacity: 0; }
.navbar-toggler:not(.collapsed) .menu-icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff; margin-top: 12px; padding: 1rem 1.25rem 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,.08); border-radius: 16px;
    }
    .header-contact { text-align: left; margin-top: 1rem; }

    /* Hover flyouts don't work on touch/collapsed nav — render the mega menu as a
       plain, always-visible nested list flowing under "Destinations" instead. */
    .mega-panel {
        display: block; position: static; transform: none; box-shadow: none;
        min-width: 0; max-width: none; max-height: none; overflow: visible;
        padding: 10px 0 10px 20px; margin-bottom: 10px; border-left: 2px solid var(--bg-soft);
    }
    .mega-columns { flex-direction: column; gap: 16px; }
}

/* ---------- Hero ---------- */
.home-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 90px;
    overflow: hidden;
}
.home-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.home-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.home-hero .hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(10,35,60,.55) 0%, rgba(10,35,60,.75) 100%);
}
.home-hero .hero-content { position: relative; z-index: 2; }
.home-hero h1 {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,.35);
}
@media (max-width: 767.98px) { .home-hero h1 { font-size: 2.4rem; } }

.trip-search {
    background: #fff;
    border-radius: 60px;
    padding: 8px 8px 8px 26px;
    box-shadow: 0 15px 40px rgba(10,35,60,.25);
    display: flex;
    align-items: center;
    max-width: 640px;
}
.trip-search input {
    border: none; outline: none; flex: 1; font-size: 1rem; background: transparent;
}
.trip-search button {
    width: 46px; height: 46px; border-radius: 50%; border: none;
    background: var(--secondary-color); color: #fff; display: flex; align-items: center; justify-content: center; flex: none;
}

/* ---------- Activity / category tiles ---------- */
.activity-tile {
    position: relative; border-radius: 20px; overflow: hidden;
    height: 260px; display: block;
}
.activity-tile.tall { height: 100%; min-height: 540px; }
.activity-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.activity-tile:hover img { transform: scale(1.08); }
.activity-tile .tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,35,60,0) 40%, rgba(10,35,60,.85) 100%);
}
.activity-tile .tile-text {
    position: absolute; left: 24px; right: 24px; bottom: 20px; color: #fff;
}
.activity-tile .tile-text h5 { color: #fff; margin-bottom: 2px; }
.activity-tile .tile-text span { font-size: .85rem; opacity: .85; }

/* ---------- Feature / why-choose-us cards ---------- */
.feature-panel { background: var(--bg-soft); border-radius: 24px; padding: 50px; }
.feature-icon {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 2px solid var(--secondary-color);
    color: var(--secondary-color); font-size: 1.6rem; margin-bottom: 18px;
}

/* ---------- Destination cards ---------- */
.destination-card { position: relative; border-radius: 20px; overflow: hidden; display: block; height: 320px; }
.destination-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.destination-card:hover img { transform: scale(1.08); }
.destination-card .card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,35,60,0) 45%, rgba(10,35,60,.88) 100%);
}
.destination-card .card-text { position: absolute; left: 22px; right: 22px; bottom: 18px; color: #fff; }
.destination-card .card-text h4 { color: #fff; margin-bottom: 2px; }
.destination-card .card-text .count { font-size: .82rem; opacity: .85; font-weight: 600; }

/* ---------- Difficulty ring badge ---------- */
.difficulty-ring {
    width: 46px; height: 46px; border-radius: 50%;
    border: 3px solid var(--diff-color, #ccc);
    display: inline-flex; align-items: center; justify-content: center;
    flex: none;
}
.difficulty-ring i { color: var(--diff-color, #999); font-size: .7rem; }
.diff-easy { --diff-color: #3CB878; }
.diff-moderate { --diff-color: #F5A623; }
.diff-difficult { --diff-color: #E85454; }
.diff-advance { --diff-color: #8B8FA3; }

.fact-pill {
    background: var(--bg-soft); border-radius: 14px; padding: 10px 16px;
    display: flex; align-items: center; gap: 10px;
}
.fact-pill i { color: var(--secondary-color); }
.fact-pill .fact-label { font-size: .7rem; text-transform: uppercase; color: var(--text-light); font-weight: 700; display: block; }
.fact-pill .fact-value { font-weight: 800; color: var(--text-dark); }

/* ---------- Trip / package cards ---------- */
.trip-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(20,50,80,.08);
    height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.trip-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(20,50,80,.15); }
.trip-card .trip-media { position: relative; height: 210px; }
.trip-card .trip-media img { width: 100%; height: 100%; object-fit: cover; }
.trip-card .trip-tag {
    position: absolute; top: 14px; left: 14px;
    background: var(--secondary-color); color: #fff; font-size: .72rem; font-weight: 800;
    text-transform: uppercase; padding: 5px 14px; border-radius: 50px; letter-spacing: .5px;
}
.trip-card .trip-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.trip-card h5 { font-size: 1.15rem; margin-bottom: 14px; }
.trip-card .trip-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.trip-card .trip-meta .duration { font-size: .8rem; color: var(--text-light); font-weight: 700; text-transform: uppercase; }
.trip-card .trip-footer {
    margin-top: auto; padding-top: 16px; border-top: 1px dashed #e2e8f0;
    display: flex; align-items: center; justify-content: space-between;
}
.trip-card .price-old { text-decoration: line-through; color: var(--text-light); font-size: .82rem; }
.trip-card .price-new { font-weight: 800; color: var(--primary-color); font-size: 1.2rem; }
.trip-card .price-from { font-size: .68rem; text-transform: uppercase; color: var(--text-light); font-weight: 700; display: block; }

/* ---------- Trip of the day (featured slider) ---------- */
.trip-of-day { background: var(--secondary-color); border-radius: 28px; overflow: hidden; color: #fff; }
.trip-of-day .tod-media { height: 100%; min-height: 340px; }
.trip-of-day .tod-media img { width: 100%; height: 100%; object-fit: cover; }
.trip-of-day .tod-body { padding: 46px; }
.trip-of-day h3 { color: #fff; }
.trip-of-day p { opacity: .9; }
.trip-of-day .fact-pill { background: rgba(255,255,255,.15); }
.trip-of-day .fact-pill .fact-label, .trip-of-day .fact-pill .fact-value { color: #fff; }
.trip-of-day .fact-pill i { color: #fff; }
.tod-nav-btn {
    width: 46px; height: 46px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.25); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.tod-nav-btn:hover { background: #fff; color: var(--secondary-color); }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--primary-color), var(--primary-dark));
    border-radius: 28px; color: #fff; padding: 60px;
}
.cta-banner h3 { color: #fff; }

/* ---------- Blog cards ---------- */
.blog-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(20,50,80,.08); height: 100%; }
.blog-card .blog-media { height: 220px; position: relative; overflow: hidden; }
.blog-card .blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-media img { transform: scale(1.08); }
.blog-card .blog-date {
    position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 12px;
    padding: 6px 12px; text-align: center; line-height: 1.1; box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.blog-card .blog-date .month { display: block; font-size: .65rem; text-transform: uppercase; font-weight: 800; color: var(--secondary-color); }
.blog-card .blog-date .day { display: block; font-size: 1.1rem; font-weight: 800; color: var(--text-dark); }
.blog-card .blog-body { padding: 22px; }

/* ---------- Newsletter bar ---------- */
.newsletter-bar { background: var(--bg-soft); border-radius: 24px; padding: 40px 50px; }
.newsletter-bar form { display: flex; gap: 10px; max-width: 420px; }
.newsletter-bar input { border-radius: 50px; border: 1px solid #dfe7ee; padding: .7rem 1.4rem; flex: 1; outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-color); color: rgba(255,255,255,.7); padding-top: 70px; }
.site-footer h6 { color: #fff; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a { color: rgba(255,255,255,.7); font-size: .92rem; }
.site-footer ul a:hover { color: var(--secondary-color); }
.site-footer .footer-brand { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 24px 0; font-size: .85rem; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
    display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-right: 8px;
}
.footer-social a:hover { background: var(--secondary-color); }

/* ---------- Inner page hero (breadcrumb banner) ---------- */
.page-hero {
    position: relative; min-height: 340px; display: flex; align-items: flex-end;
    padding: 160px 0 60px; overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero .hero-gradient {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(120deg, rgba(20,80,150,.75), rgba(90,60,150,.55));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 3rem; margin-bottom: 10px; }
.page-hero .breadcrumb { margin: 0; }
.page-hero .breadcrumb a, .page-hero .breadcrumb span { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }
@media (max-width: 767.98px) { .page-hero h1 { font-size: 2.1rem; } }

/* ---------- Trip detail ---------- */
.trip-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; padding: 180px 0 50px; }
.trip-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.trip-hero .hero-gradient { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,30,55,.92) 10%, rgba(10,30,55,.25) 90%); }
.trip-hero .container { position: relative; z-index: 2; color: #fff; }
.trip-hero h1 { color: #fff; font-size: 2.6rem; }

.trip-tabs .nav-link {
    border-radius: 50px; font-weight: 700; color: var(--text-dark);
    padding: .6rem 1.6rem; border: none; margin-right: 8px;
}
.trip-tabs .nav-link.active { background: var(--primary-color); color: #fff; }

.itinerary-accordion .accordion-item { border: none; border-radius: 16px; overflow: hidden; margin-bottom: 14px; background: var(--bg-soft); }
.itinerary-accordion .accordion-button {
    font-weight: 700; background: transparent; box-shadow: none;
}
.itinerary-accordion .accordion-button:not(.collapsed) { color: var(--primary-color); background: #fff; }
.itinerary-accordion .accordion-button::after { flex: none; }
.itinerary-accordion .day-badge {
    background: var(--secondary-color); color: #fff; font-size: .72rem; font-weight: 800;
    border-radius: 50px; padding: 4px 12px; margin-right: 14px; text-transform: uppercase;
}

.include-list, .exclude-list { list-style: none; padding: 0; margin: 0; }
.include-list li, .exclude-list li { padding: 8px 0 8px 30px; position: relative; }
.include-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #3CB878; position: absolute; left: 0; top: 8px; }
.exclude-list li::before { content: '\f00d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #E85454; position: absolute; left: 0; top: 8px; }

.booking-card { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(20,50,80,.15); }
.booking-card .booking-price { background: var(--primary-color); color: #fff; padding: 34px; }
.booking-card .booking-price .old { text-decoration: line-through; opacity: .7; }
.booking-card .booking-price .new { font-size: 2.2rem; font-weight: 800; }
.booking-card .booking-body { background: #fff; padding: 30px; }
.booking-card .form-control { border-radius: 12px; border: 1px solid #e2e8f0; padding: .65rem 1rem; }

.enquiry-box { background: var(--bg-soft); border-radius: 20px; padding: 30px; }
.enquiry-box .form-control { border-radius: 12px; border: 1px solid #e2e8f0; }

.glass-cta { background: var(--secondary-color); border-radius: 20px; padding: 28px; color: #fff; }
.glass-cta h5 { color: #fff; }

/* ---------- Misc content pages ---------- */
.content-body img { max-width: 100%; height: auto; border-radius: 16px; }
.sticky-sidebar { position: sticky; top: 110px; }
