/* ============================================================
   siteV2.css — Epic Tours redesign styles (Phase 1: Home)
   Loaded only by _LayoutV2.cshtml — does not affect other pages
   ============================================================ */

:root {
    --et-primary: rgb(34, 137, 31);
    --et-primary-dark: #0f5e0d;
    --et-nav-bg: #0f2010;
}

/* ── Reset for v2 pages ── */
.v2-page { font-family: 'Inter', sans-serif; background: #f8f9fa; }
.v2-page *, .v2-page *::before, .v2-page *::after { box-sizing: border-box; }

/* ════════════════════════════════════════
   TOP BAR
════════════════════════════════════════ */
.top-bar-v2 {
    background: var(--et-primary);
    padding: .3rem 0;
    font-size: .75rem;
}
.top-bar-v2 a,
.top-bar-v2 span { color: rgba(255,255,255,.9); text-decoration: none; }
.top-bar-v2 a:hover { color: #fff; }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.site-nav-v2 {
    background: var(--et-nav-bg);
    position: sticky;
    top: 0;
    z-index: 1040;
}
.site-nav-v2 .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: -.02em;
    text-decoration: none;
}
.site-nav-v2 .navbar-brand span { color: var(--et-primary); }
.site-nav-v2 .nav-link {
    color: rgba(255,255,255,.82);
    font-size: .88rem;
    font-weight: 500;
    padding: .5rem .9rem;
}
.site-nav-v2 .nav-link:hover { color: #fff; }
.site-nav-v2 .btn-book {
    background: var(--et-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 600;
    padding: .4rem 1rem;
    text-decoration: none;
}
.site-nav-v2 .btn-book:hover { background: var(--et-primary-dark); color: #fff; }

.nav-icon-btn-v2 {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    border: none;
    color: rgba(255,255,255,.85);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; cursor: pointer;
    text-decoration: none;
    transition: background .15s;
}
.nav-icon-btn-v2:hover { background: rgba(255,255,255,.18); color: #fff; }

.nav-avatar-v2 {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--et-primary), var(--et-primary-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
    cursor: pointer; text-decoration: none;
}

.notif-dot-v2 {
    display: inline-block; width: 7px; height: 7px;
    background: #fff; border-radius: 50%;
    margin-left: .3rem;
    animation: blinkV2 1.4s infinite;
    vertical-align: middle;
}
@keyframes blinkV2 { 0%,100%{opacity:1} 50%{opacity:.2} }

.site-nav-v2 .navbar-toggler:focus { box-shadow: none; outline: none; }

/* Compact navbar height */
.site-nav-v2.navbar { padding-top: .7rem; padding-bottom: .7rem; }
.site-nav-v2 .navbar-brand { --bs-navbar-brand-padding-y: 0; }

/* Bootstrap dropdowns inside dark nav (language + profile) */
.site-nav-v2 .v2-lang-menu,
.site-nav-v2 .v2-profile-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    padding: .5rem 0;
    min-width: 160px;
}
.site-nav-v2 .v2-lang-menu .dropdown-item,
.site-nav-v2 .v2-profile-menu .dropdown-item {
    font-size: .85rem;
    color: #343a40;
    padding: .5rem 1.1rem;
    display: flex;
    align-items: center;
}
.site-nav-v2 .v2-lang-menu .dropdown-item:hover,
.site-nav-v2 .v2-profile-menu .dropdown-item:hover { background: #f0faf0; color: var(--et-primary); }
.site-nav-v2 .v2-profile-menu .dropdown-item.text-danger:hover { background: #fff5f5; color: #dc3545; }

/* Custom dropdown */
.site-nav-v2 .nav-item { position: relative; }
.site-nav-v2 .nav-dropdown {
    position: absolute; top: 100%; left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    min-width: 200px;
    padding: .65rem 0 .5rem;
    display: none; z-index: 1000;
}
.site-nav-v2 .nav-dropdown::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: .65rem;
}
.site-nav-v2 .nav-item:hover .nav-dropdown { display: block; }
.site-nav-v2 .nav-dropdown a {
    display: flex; align-items: center; gap: .5rem;
    padding: .5rem 1.1rem;
    font-size: .85rem; color: #343a40; text-decoration: none;
}
.site-nav-v2 .nav-dropdown a:hover { background: #f0faf0; color: var(--et-primary); }
.site-nav-v2 .nav-dropdown .v2-divider { height: 1px; background: #e9ecef; margin: .35rem 0; }

.site-nav-v2 .has-sub { position: relative; }
.site-nav-v2 .has-sub:hover .sub-dropdown { display: block; }
.site-nav-v2 .sub-dropdown {
    position: absolute; left: 100%; top: 0;
    background: #fff; border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    min-width: 180px; padding: .5rem 0;
    display: none; z-index: 1001;
}
.site-nav-v2 .sub-dropdown a {
    display: flex; align-items: center; gap: .5rem;
    padding: .5rem 1.1rem; font-size: .85rem; color: #343a40; text-decoration: none;
}
.site-nav-v2 .sub-dropdown a:hover { background: #f0faf0; color: var(--et-primary); }
.site-nav-v2 .submenu-arrow::after { content: '›'; margin-left: auto; color: #adb5bd; }

/* ════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════ */
.v2-hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.v2-hero-slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 1s ease;
}
.v2-hero-slide.active { opacity: 1; }
.v2-hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%);
}
.v2-hero-slide:first-child::after {
    background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.72) 100%);
}
@keyframes kenBurnsV2 { from{transform:scale(1)} to{transform:scale(1.08)} }
.v2-hero-slide.active .v2-hero-bg { animation: kenBurnsV2 8s ease-out forwards; }
.v2-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    will-change: transform;
}
.v2-hero-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff; padding: 0 1rem;
}
.v2-hero-title {
    font-family: 'Montserrat', sans-serif; font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 0 2px 12px rgba(0,0,0,.4); margin-bottom: .75rem;
}
.v2-hero-sub { font-size: 1.05rem; opacity: .9; max-width: 520px; margin: 0 auto 1.75rem; }
.v2-hero-season-label {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .75rem;
    border-radius: 2rem;
    margin-bottom: .85rem;
}
.v2-btn-hero-primary {
    background: var(--et-primary); color: #fff; border: none;
    border-radius: 8px; padding: .7rem 1.6rem;
    font-weight: 700; font-size: .95rem; text-decoration: none;
    display: inline-flex; align-items: center; gap: .4rem; margin: .25rem;
    transition: background .15s;
}
.v2-btn-hero-primary:hover { background: var(--et-primary-dark); color: #fff; }
.v2-btn-hero-outline {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,.8); border-radius: 8px;
    padding: .7rem 1.6rem; font-weight: 700; font-size: .95rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; margin: .25rem;
    transition: all .15s;
}
.v2-btn-hero-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.v2-hero-dots {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: .5rem; z-index: 3;
}
.v2-hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.4); cursor: pointer; border: none;
    transition: all .2s;
}
.v2-hero-dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* ════════════════════════════════════════
   USP STRIP
════════════════════════════════════════ */
.v2-usp-strip { background: var(--et-primary); padding: 1.25rem 0; }
.v2-usp-item { display: flex; align-items: center; gap: .6rem; color: #fff; padding: .4rem 1rem; }
.v2-usp-icon { font-size: 1.5rem; opacity: .9; flex-shrink: 0; }
.v2-usp-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem; }
.v2-usp-sub { font-size: .73rem; opacity: .75; margin-top: .1rem; }
.v2-usp-divider { width: 1px; background: rgba(255,255,255,.25); align-self: stretch; }

/* ════════════════════════════════════════
   SECTION HEADINGS
════════════════════════════════════════ */
.v2-section-title {
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem; margin-bottom: .4rem;
}
.v2-section-sub { color: #6c757d; margin-bottom: 1.75rem; }

/* ════════════════════════════════════════
   EVENTS SLIDER
════════════════════════════════════════ */
.v2-events-wrap { position: relative; }
.v2-events-slider {
    display: flex; gap: 1rem; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem;
}
.v2-events-slider::-webkit-scrollbar { display: none; }
.v2-event-card {
    min-width: 280px; scroll-snap-align: start;
    border-radius: 12px; overflow: hidden;
    background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08);
    text-decoration: none; color: inherit; transition: transform .2s;
    display: flex; flex-direction: column;
}
.v2-event-card:hover { transform: translateY(-4px); color: inherit; }
.v2-event-card__img { height: 180px; object-fit: cover; width: 100%; transition: transform .4s; display: block; }
.v2-event-card:hover .v2-event-card__img { transform: scale(1.04); }
.v2-event-card__body { padding: .9rem 1rem; flex: 1; display: flex; flex-direction: column; }
.v2-event-card__tag {
    font-size: .72rem; font-weight: 700; color: var(--et-primary);
    text-transform: uppercase; letter-spacing: .05em;
    display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
    margin-bottom: .3rem;
}
.v2-event-card__badge {
    font-size: .65rem; font-weight: 700; padding: .18em .55em;
    border-radius: 4px; text-transform: uppercase; letter-spacing: .03em;
}
.v2-badge-new { background: #f59e0b; color: #fff; }
.v2-badge-full { background: #dc3545; color: #fff; }
.v2-badge-confirmed { background: #0dcaf0; color: #fff; }
.v2-badge-weekday { background: #6366f1; color: #fff; }
.v2-event-card__title {
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: .95rem; color: #1a2a1a; margin-bottom: .4rem;
    line-height: 1.3; flex: 1;
}
.v2-event-card__meta {
    font-size: .78rem; color: #6c757d;
    display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: .5rem;
}
.v2-event-card__bottom { margin-top: auto; }
.v2-event-card__price {
    font-weight: 800; color: var(--et-primary); font-size: 1rem;
}
.v2-event-card__price-was {
    font-size: .78rem; color: #adb5bd; text-decoration: line-through;
    font-weight: 400; margin-left: .3rem;
}
.v2-price-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
}
.v2-price-chip {
    display: inline-flex;
    align-items: center;
    padding: .25rem .6rem;
    border-radius: .5rem;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.3;
}
.v2-price-chip--transport {
    background: var(--et-primary);
    color: #fff;
}
.v2-price-chip--own {
    background: transparent;
    color: #495057;
    border: 1.5px solid #dee2e6;
}
.v2-price-chip__was {
    font-size: .72rem;
    font-weight: 400;
    text-decoration: line-through;
    opacity: .7;
    margin-left: .3rem;
}
.v2-spots {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .4rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.v2-spots__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.v2-spots--own-only { color: #6c757d; gap: .35rem; }
.v2-spots--own-only i { font-size: .8rem; flex-shrink: 0; }
.v2-spots--ok     { color: #6c757d; }
.v2-spots--ok     .v2-spots__dot { background: #adb5bd; }
.v2-spots--low    { color: #e67e00; }
.v2-spots--low    .v2-spots__dot { background: #f59e0b; }
.v2-spots--urgent { color: #c0392b; }
.v2-spots--urgent .v2-spots__dot {
    background: #e74c3c;
    animation: spots-pulse 1.2s ease-in-out infinite;
}
@keyframes spots-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.5); opacity: .6; }
}
.v2-event-card__difficulty {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .35rem;
}
.v2-difficulty-track {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.v2-diff-seg {
    width: 14px;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    transition: background .2s;
}
.v2-difficulty-label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6c757d;
}

.v2-slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: #fff; border: 1.5px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 2; font-size: 1.1rem; color: #495057;
}
.v2-slider-btn:hover { border-color: var(--et-primary); color: var(--et-primary); }
.v2-slider-btn-prev { left: -18px; }
.v2-slider-btn-next { right: -18px; }

/* ════════════════════════════════════════
   BY SEASON
════════════════════════════════════════ */
.v2-season-card {
    position: relative; border-radius: 12px; overflow: hidden;
    height: 200px; cursor: pointer; text-decoration: none; display: block;
}
.v2-season-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.v2-season-card:hover img { transform: scale(1.07); }
.v2-season-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%);
}
.v2-season-card__label {
    position: absolute; bottom: .9rem; left: 1rem;
    color: #fff; z-index: 1;
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.05rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ════════════════════════════════════════
   FEATURED PROGRAM
════════════════════════════════════════ */
.v2-featured-section {
    position: relative; min-height: 420px;
    display: flex; align-items: center; overflow: hidden;
}
.v2-featured-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v2-featured-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 100%);
}
.v2-featured-content { position: relative; z-index: 1; color: #fff; max-width: 520px; }
.v2-featured-badge {
    display: inline-block; background: var(--et-primary); color: #fff;
    font-size: .72rem; font-weight: 800; padding: .25rem .75rem;
    border-radius: 20px; letter-spacing: .07em; margin-bottom: .75rem;
}
.v2-featured-title {
    font-family: 'Montserrat', sans-serif; font-weight: 900;
    font-size: 2rem; margin-bottom: .75rem;
}
.v2-featured-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .83rem; opacity: .9; margin-bottom: 1rem; }

/* ════════════════════════════════════════
   BLOG
════════════════════════════════════════ */
.v2-blog-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06); height: 100%;
    text-decoration: none; color: inherit; transition: transform .2s; display: block;
}
.v2-blog-card:hover { transform: translateY(-3px); color: inherit; }
.v2-blog-card__img { height: 180px; object-fit: cover; width: 100%; }
.v2-blog-card__body { padding: 1rem; }
.v2-blog-card__tag {
    font-size: .72rem; font-weight: 700; color: var(--et-primary);
    text-transform: uppercase; letter-spacing: .05em;
}
.v2-blog-card__title {
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: .95rem; margin: .4rem 0 .5rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v2-blog-card__meta { font-size: .75rem; color: #adb5bd; }

/* ════════════════════════════════════════
   REVIEWS
════════════════════════════════════════ */
.v2-reviews-section { background: var(--et-nav-bg); padding: 4rem 0; color: #fff; }
.v2-review-slide { display: none; text-align: center; max-width: 680px; margin: 0 auto; }
.v2-review-slide.active { display: block; }
.v2-review-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; }
.v2-review-text {
    font-size: 1rem; line-height: 1.7; opacity: .9;
    font-style: italic; margin-bottom: 1.25rem;
    display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.v2-review-date { font-size: .78rem; opacity: .55; margin-top: .2rem; }
.v2-review-dots { display: flex; gap: .4rem; justify-content: center; margin-top: 1.5rem; }
.v2-review-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,.3); border: none; cursor: pointer; transition: all .2s;
}
.v2-review-dot.active { background: #fff; }

/* ════════════════════════════════════════
   BY COUNTRY
════════════════════════════════════════ */
.v2-country-card {
    background: #fff; border-radius: 10px; border: 1.5px solid #e9ecef;
    padding: .85rem 1rem; display: flex; align-items: center; gap: .65rem;
    text-decoration: none; color: #212529; transition: all .15s;
}
.v2-country-card:hover { border-color: var(--et-primary); color: var(--et-primary); }
.v2-country-flag { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.v2-country-name { font-weight: 600; font-size: .88rem; flex: 1; }
.v2-country-count { font-size: .75rem; color: #6c757d; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 575px) {
    .v2-usp-strip .d-flex {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start !important;
    }
    .v2-usp-item { width: 100%; padding: .55rem 1.25rem; }
    .v2-usp-divider { display: none !important; }
}

/* ════════════════════════════════════════
   FOOTER V2
════════════════════════════════════════ */
.v2-footer {
    background: var(--et-nav-bg);
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    padding: 2.5rem 0 1.5rem;
}
.v2-footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
}
.v2-footer-brand span { color: var(--et-primary); }
.v2-footer a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    display: block;
    padding: .18rem 0;
    transition: color .15s;
}
.v2-footer a:hover { color: #fff; }
.v2-footer-head {
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: .65rem;
}
.v2-footer-social a {
    display: inline-block;
    padding: 0;
    margin-right: .5rem;
    font-size: 1.15rem;
    color: rgba(255,255,255,.6);
}
.v2-footer-social a:hover { color: #fff; }
.v2-footer-copy {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    font-size: .75rem;
    color: rgba(255,255,255,.4);
}

/* ── Back to top ───────────────────────────────────────────────── */
.back-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    padding: .45rem 1.1rem;
    background: rgba(18, 18, 18, .78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .04em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s, transform .2s, box-shadow .2s;
    z-index: 1050;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.back-top i {
    font-size: 1rem;
    line-height: 1;
}
.back-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    background: rgba(30, 30, 30, .9);
}
