/* =========================================================
   Beltai Adventures — Trips & Events Booking Platform
   Design system: deep forest green + warm orange accent,
   white rounded cards, generous spacing, travel-SaaS feel.
   ========================================================= */

:root {
    --forest: #123524;
    --forest-dark: #0c261a;
    --green: #3faa5a;
    --green-light: #eaf6ee;
    --orange: #ee7b39;
    --orange-dark: #d9631f;
    --ink: #16211c;
    --muted: #64756c;
    --border: #e6ebe7;
    --bg: #fbfcfb;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(18, 53, 36, 0.08);
    --shadow-sm: 0 4px 14px rgba(18, 53, 36, 0.06);
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, .display-heading {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

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

.text-green { color: var(--green) !important; }
.text-orange { color: var(--orange) !important; }
.bg-forest { background: var(--forest); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn-brand {
    background: var(--orange);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    transition: all .2s ease;
}
.btn-brand:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }

.btn-brand-outline {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.55);
    color: #fff;
    font-weight: 600;
    padding: 0.72rem 1.6rem;
    border-radius: 50px;
    transition: all .2s ease;
}
.btn-brand-outline:hover { background: rgba(255,255,255,0.18); color: #fff; }

.btn-forest {
    background: var(--forest);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    padding: 0.7rem 1.5rem;
}
.btn-forest:hover { background: var(--forest-dark); color: #fff; }

.btn-outline-forest {
    border: 1.5px solid var(--forest);
    color: var(--forest);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.65rem 1.4rem;
    background: transparent;
}
.btn-outline-forest:hover { background: var(--forest); color: #fff; }

/* ---------- Navbar ---------- */
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
}
.navbar-brand-custom img { height: 50px; width: auto; }
.site-navbar { background: #fff; border-bottom: 1px solid var(--border); padding: 0.8rem 0; }
.site-navbar .nav-link { color: var(--ink); font-weight: 500; margin: 0 0.6rem; }
.site-navbar .nav-link.active, .site-navbar .nav-link:hover { color: var(--green); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12,38,26,0.55) 0%, rgba(12,38,26,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 4rem 0 7rem; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 1.3rem;
}
.hero h1 { font-size: 3.2rem; line-height: 1.08; margin-bottom: 1rem; }
.hero p.lead { font-size: 1.15rem; max-width: 560px; color: rgba(255,255,255,0.9); }

/* ---------- Search bar (overlaps hero) ---------- */
.search-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.1rem;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}
.search-card .form-control, .search-card .form-select {
    border: none;
    padding: 0.65rem 0.5rem;
}
.search-card .form-control:focus, .search-card .form-select:focus { box-shadow: none; }

/* ---------- Section headings ---------- */
.section { padding: 4.5rem 0; }
.eyebrow {
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}
.section-title { font-size: 2.1rem; margin-bottom: 0.5rem; }

/* ---------- Cards (trips/events) ---------- */
.trip-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.trip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trip-card .card-img-wrap { position: relative; height: 210px; overflow: hidden; }
.trip-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.trip-card .badge-category {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255,255,255,0.92);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.72rem;
    padding: 0.32rem 0.8rem;
    border-radius: 50px;
}
.trip-card .card-body { padding: 1.2rem; }
.trip-card .trip-meta { font-size: 0.86rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.trip-card .trip-price { font-weight: 700; font-size: 1.15rem; color: var(--forest); }
.trip-card .slots-left { font-size: 0.8rem; color: var(--green); font-weight: 600; }

/* ---------- How it works ---------- */
.how-it-works { background: #f2f4f2; }
.step-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.6rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.step-num {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

/* ---------- Flexible payment promo ---------- */
.payment-promo {
    background: var(--forest);
    border-radius: var(--radius-lg);
    color: #fff;
    padding: 3rem;
}
.payment-promo h2 { color: #fff; font-size: 2rem; }
.payment-promo .feature-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); margin-bottom: 0.6rem; }
.promo-summary-card {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius-md);
    padding: 1.6rem;
}
.promo-summary-card .row-line { display: flex; justify-content: space-between; padding: 0.35rem 0; font-size: 0.95rem; }
.progress-brand { height: 10px; border-radius: 50px; background: #eef1ee; overflow: hidden; }
.progress-brand > div { height: 100%; background: var(--orange); }

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.6rem;
    border: 1px solid var(--border);
    height: 100%;
}
.testimonial-card .stars { color: var(--orange); margin-bottom: 0.6rem; }

/* ---------- CTA ---------- */
.cta-section { text-align: center; padding: 5rem 0; }
.cta-section h2 { font-size: 2.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-dark); color: rgba(255,255,255,0.75); padding: 3.5rem 0 1.5rem; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--orange); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1.2rem; font-size: 0.85rem; }

/* ---------- Detail page ---------- */
.detail-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 420px; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { border-radius: var(--radius-sm); overflow: hidden; height: 90px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.booking-box { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 1.6rem; position: sticky; top: 90px; }
.info-pill { background: var(--green-light); color: var(--green); border-radius: 50px; padding: 0.3rem 0.9rem; font-size: 0.8rem; font-weight: 600; }

/* ---------- Dashboard ---------- */
.dash-sidebar { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1.2rem; }
.dash-sidebar .nav-link { color: var(--ink); padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); font-weight: 500; margin-bottom: 4px; }
.dash-sidebar .nav-link.active { background: var(--green-light); color: var(--green); }
.dash-sidebar .nav-link:hover { background: #f4f6f4; }
.stat-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1.3rem; }
.stat-card .stat-value { font-size: 1.7rem; font-weight: 700; color: var(--forest); }
.booking-item { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1.3rem; margin-bottom: 1rem; border: 1px solid var(--border); }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2.4rem; max-width: 460px; width: 100%; }

/* ---------- Admin ---------- */
.admin-body { background: #f4f6f4; }
.admin-sidebar { background: var(--forest-dark); min-height: 100vh; color: #fff; }
.admin-sidebar .nav-link { color: rgba(255,255,255,0.75); padding: 0.65rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 2px; }
.admin-sidebar .nav-link.active, .admin-sidebar .nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--border); padding: 0.9rem 1.5rem; }
.admin-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1.4rem; }
.table thead th { border-bottom: 2px solid var(--border); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- Experience gallery ---------- */
.experience-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; display: block; height: 220px; }
.experience-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.experience-tile:hover .experience-img { transform: scale(1.06); }
.experience-overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    color: #fff;
    padding: 0.9rem 0.8rem 0.7rem;
}
.experience-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.experience-strip .experience-tile { height: 170px; }
.experience-strip .experience-tile:first-child { grid-row: span 2; height: 100%; min-height: 352px; }

/* ---------- Misc ---------- */
.badge-status { font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 50px; font-size: 0.78rem; }

/* =========================================================
   Mobile responsiveness
   ========================================================= */
@media (max-width: 991px) {
    .experience-strip { grid-template-columns: repeat(2, 1fr); }
    .experience-strip .experience-tile:first-child { grid-row: span 1; min-height: 170px; }
    .section { padding: 3rem 0; }
}

@media (max-width: 767px) {
    .hero h1 { font-size: 2.1rem; }
    .hero { min-height: 480px; }
    .hero-content { padding: 3rem 0 5rem; }
    .search-card { margin-top: -40px; padding: 0.9rem; }
    .search-card .row > div { margin-bottom: 0.5rem; }
    .booking-box { position: static; }
    .payment-promo { padding: 1.8rem; }
    .payment-promo h2 { font-size: 1.5rem; }
    .section-title { font-size: 1.6rem; }
    .cta-section h2 { font-size: 1.7rem; }
    .step-card, .testimonial-card { padding: 1.2rem; }
    .navbar-brand-custom img { height: 40px; }
    .admin-topbar h5 { font-size: 1rem; }
    .table-responsive { font-size: 0.85rem; }
    .detail-hero { height: 260px; }
    .experience-tile { height: 160px; }
}

@media (max-width: 575px) {
    .hero h1 { font-size: 1.75rem; }
    .btn-brand, .btn-brand-outline { width: 100%; text-align: center; }
    .hero .d-flex.flex-wrap.gap-3 { flex-direction: column; }
    .stat-card .stat-value { font-size: 1.3rem; }
    .dash-sidebar { margin-bottom: 1rem; }
}
