/* =====================================================================
   OnRide Holidays — Premium Theme
   Built on top of Bootstrap 5.3 (CDN). This file contains ONLY the
   original visual identity: palette, type, components, sections.
   ===================================================================== */

:root {
  --or-primary: #0e4b4b;       /* deep teal */
  --or-primary-dark: #093535;
  --or-primary-light: #e6f0ef;
  --or-accent: #e8a33d;        /* warm amber */
  --or-accent-dark: #cf8a26;
  --or-coral: #ff6b4a;
  --or-ink: #1c2523;
  --or-muted: #66756f;
  --or-bg: #fbf9f4;
  --or-surface: #ffffff;
  --or-border: #e7e2d6;
  --or-radius-sm: 10px;
  --or-radius: 16px;
  --or-radius-lg: 24px;
  --or-shadow-sm: 0 2px 10px rgba(20, 30, 28, 0.06);
  --or-shadow: 0 10px 30px rgba(20, 30, 28, 0.08);
  --or-shadow-lg: 0 20px 50px rgba(20, 30, 28, 0.14);
  --or-font-head: 'Playfair Display', Georgia, serif;
  --or-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--or-font-body);
  color: var(--or-ink);
  background: var(--or-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-head {
  font-family: var(--or-font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--or-ink);
}

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

img { max-width: 100%; height: auto; display: block; }

.text-accent { color: var(--or-accent) !important; }
.text-primary-or { color: var(--or-primary) !important; }
.bg-primary-or { background: var(--or-primary) !important; }
.bg-soft { background: var(--or-primary-light) !important; }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
@media (max-width: 768px) {
  .section { padding: 3rem 0; }
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--or-accent-dark);
  background: rgba(232, 163, 61, .12);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}

.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.section-sub { color: var(--or-muted); font-size: 1.02rem; max-width: 640px; }

/* ===== Buttons ===== */
.btn { border-radius: 999px; font-weight: 600; padding: .65rem 1.5rem; transition: all .25s ease; }
.btn-lg { padding: .85rem 2rem; }
.btn-sm { padding: .4rem 1.1rem; font-size: .85rem; }

.btn-or-primary {
  background: var(--or-primary);
  color: #fff;
  border: 1px solid var(--or-primary);
}
.btn-or-primary:hover { background: var(--or-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--or-shadow); }

.btn-or-accent {
  background: var(--or-accent);
  color: #24170a;
  border: 1px solid var(--or-accent);
}
.btn-or-accent:hover { background: var(--or-accent-dark); color: #24170a; transform: translateY(-2px); box-shadow: var(--or-shadow); }

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

.btn-or-white {
  background: #fff;
  color: var(--or-primary);
  border: 1px solid #fff;
}
.btn-or-white:hover { background: var(--or-accent); border-color: var(--or-accent); color: #24170a; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--or-border);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--or-shadow-sm); }

.topbar {
  background: var(--or-primary-dark);
  color: #eef5f4;
  font-size: .82rem;
}
.topbar a { color: #eef5f4; opacity: .9; }
.topbar a:hover { opacity: 1; color: var(--or-accent); }

.brand {
  font-family: var(--or-font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--or-primary);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.brand span { color: var(--or-accent); }

.main-nav .nav-link {
  font-weight: 600;
  font-size: .95rem;
  color: var(--or-ink);
  padding: .5rem 1rem !important;
  border-radius: 999px;
  transition: all .2s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--or-primary); background: var(--or-primary-light); }

.header-icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--or-primary-light);
  color: var(--or-primary);
  position: relative;
  transition: all .2s ease;
}
.header-icon-btn:hover { background: var(--or-primary); color: #fff; }
.header-icon-btn .badge-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--or-coral); color: #fff;
  font-size: .65rem; min-width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(9,53,53,.78), rgba(9,53,53,.55)), var(--hero-img, linear-gradient(135deg, #0e4b4b, #1a6e6a));
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 20%, rgba(232,163,61,.25), transparent 60%);
  pointer-events: none;
}
.hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  padding: .4rem 1rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero p.lead { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 560px; }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stats .stat-num { font-family: var(--or-font-head); font-size: 1.8rem; font-weight: 800; color: var(--or-accent); }
.hero-stats .stat-label { font-size: .8rem; color: rgba(255,255,255,.8); }

/* Search widget */
.search-widget {
  background: #fff;
  border-radius: var(--or-radius-lg);
  box-shadow: var(--or-shadow-lg);
  padding: 1.5rem;
  position: relative;
  z-index: 5;
}
.search-widget .nav-pills .nav-link {
  border-radius: 999px 999px 0 0;
  font-weight: 700;
  color: var(--or-muted);
  padding: .6rem 1.4rem;
}
.search-widget .nav-pills .nav-link.active {
  background: var(--or-primary-light);
  color: var(--or-primary);
}
.search-widget .form-control,
.search-widget .form-select {
  border-radius: var(--or-radius-sm);
  border: 1px solid var(--or-border);
  padding: .7rem .9rem;
}
.search-widget .form-control:focus,
.search-widget .form-select:focus {
  border-color: var(--or-primary);
  box-shadow: 0 0 0 .2rem rgba(14,75,75,.12);
}
.search-suggest {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius-sm);
  box-shadow: var(--or-shadow);
  margin-top: 6px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 20;
  display: none;
}
.search-suggest.show { display: block; }
.search-suggest a {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .9rem;
  border-bottom: 1px solid var(--or-border);
  color: var(--or-ink);
}
.search-suggest a:last-child { border-bottom: none; }
.search-suggest a:hover { background: var(--or-primary-light); }
.search-suggest img { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; }

/* ===== Cards ===== */
.card-or {
  position: relative;
  background: var(--or-surface);
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.card-or:hover { transform: translateY(-6px); box-shadow: var(--or-shadow-lg); }

.card-or .card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.card-or .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-or:hover .card-img-wrap img { transform: scale(1.08); }

.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--or-accent); color: #24170a;
  font-size: .72rem; font-weight: 700;
  padding: .3rem .7rem; border-radius: 999px;
}
.card-wishlist-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--or-coral); border: none;
  transition: all .2s ease;
}
.card-wishlist-btn:hover { background: var(--or-coral); color: #fff; }
.card-wishlist-btn.active { background: var(--or-coral); color: #fff; }

.card-or .card-body-or { padding: 1.15rem 1.25rem 1.4rem; }
.card-or .card-title-or { font-family: var(--or-font-head); font-size: 1.08rem; font-weight: 700; margin-bottom: .35rem; }
.card-or .card-meta { font-size: .82rem; color: var(--or-muted); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.card-or .card-price { font-family: var(--or-font-head); font-size: 1.25rem; font-weight: 800; color: var(--or-primary); }
.card-or .card-price small { font-size: .75rem; font-weight: 500; color: var(--or-muted); text-decoration: line-through; margin-right: .35rem; }
.card-or .rating-pill {
  display: inline-flex; align-items: center; gap: .25rem;
  background: var(--or-primary-light); color: var(--or-primary);
  font-size: .78rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px;
}

.destination-card { position: relative; border-radius: var(--or-radius); overflow: hidden; aspect-ratio: 3/4; }
.destination-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.destination-card:hover img { transform: scale(1.08); }
.destination-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9,53,53,.9) 100%);
}
.destination-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem; color: #fff; }
.destination-card .info h3 { color: #fff; font-size: 1.15rem; margin-bottom: .15rem; }
.destination-card .info small { color: rgba(255,255,255,.85); }

/* Theme / category tiles */
.theme-tile {
  background: var(--or-surface);
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  padding: 1.75rem 1rem;
  text-align: center;
  transition: all .25s ease;
}
.theme-tile:hover { background: var(--or-primary); transform: translateY(-4px); box-shadow: var(--or-shadow); }
.theme-tile:hover .theme-icon { background: var(--or-accent); color: #24170a; }
.theme-tile:hover h4, .theme-tile:hover p { color: #fff; }
.theme-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--or-primary-light); color: var(--or-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1rem;
  transition: all .25s ease;
}
.theme-tile h4 { font-size: 1rem; margin-bottom: .25rem; }
.theme-tile p { font-size: .8rem; color: var(--or-muted); margin: 0; }

/* Why choose us */
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px;
  background: var(--or-primary-light); color: var(--or-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.feature-item h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature-item p { color: var(--or-muted); font-size: .92rem; margin: 0; }

/* How it works */
.step-card { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--or-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--or-font-head); font-size: 1.4rem; font-weight: 800;
  margin: 0 auto 1.1rem; box-shadow: var(--or-shadow);
}
.step-card h4 { font-size: 1.05rem; }
.step-card p { color: var(--or-muted); font-size: .9rem; }

/* Stats counter band */
.stats-band { background: var(--or-primary); color: #fff; }
.stat-block { text-align: center; }
.stat-block .num { font-family: var(--or-font-head); font-size: 2.4rem; font-weight: 800; color: var(--or-accent); }
.stat-block .label { font-size: .85rem; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .06em; }

/* Testimonials */
.testimonial-card {
  background: var(--or-surface);
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  padding: 1.75rem;
  height: 100%;
}
.testimonial-card .quote-icon { color: var(--or-accent); font-size: 1.6rem; margin-bottom: .8rem; }
.testimonial-card p.review { color: var(--or-ink); font-size: .96rem; }
.testimonial-card .reviewer { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.testimonial-card .reviewer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-card .reviewer h5 { font-size: .95rem; margin: 0; }
.testimonial-card .reviewer small { color: var(--or-muted); }
.testimonial-card .stars { color: var(--or-accent); font-size: .85rem; }

/* Offers */
.offer-card {
  position: relative; border-radius: var(--or-radius); overflow: hidden;
  aspect-ratio: 16/10; color: #fff;
}
.offer-card img { width: 100%; height: 100%; object-fit: cover; }
.offer-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,53,53,.15), rgba(9,53,53,.92)); }
.offer-card .content { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; }
.offer-card .discount-badge {
  background: var(--or-coral); color: #fff; font-weight: 700; font-size: .8rem;
  padding: .3rem .75rem; border-radius: 999px; display: inline-block; margin-bottom: .6rem;
}

/* Blog card */
.blog-card { background: var(--or-surface); border: 1px solid var(--or-border); border-radius: var(--or-radius); overflow: hidden; height: 100%; }
.blog-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.blog-card .body { padding: 1.25rem; }
.blog-card .meta { font-size: .78rem; color: var(--or-muted); margin-bottom: .5rem; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.blog-card p { color: var(--or-muted); font-size: .9rem; }

/* Newsletter band */
.newsletter-band {
  background: linear-gradient(120deg, var(--or-primary), var(--or-primary-dark));
  border-radius: var(--or-radius-lg);
  color: #fff;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.newsletter-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 90% 10%, rgba(232,163,61,.28), transparent 60%);
}
.newsletter-band .form-control { border-radius: 999px; padding: .8rem 1.2rem; border: none; }
.newsletter-band .btn { white-space: nowrap; }

/* FAQ accordion */
.accordion-or .accordion-item { border: 1px solid var(--or-border); border-radius: var(--or-radius-sm) !important; margin-bottom: .9rem; overflow: hidden; }
.accordion-or .accordion-button { font-weight: 700; font-family: var(--or-font-head); font-size: 1rem; }
.accordion-or .accordion-button:not(.collapsed) { background: var(--or-primary-light); color: var(--or-primary); box-shadow: none; }
.accordion-or .accordion-button:focus { box-shadow: none; }

/* Footer */
.site-footer { background: var(--or-primary-dark); color: rgba(255,255,255,.82); }
.site-footer h5 { color: #fff; font-family: var(--or-font-head); font-size: 1.1rem; margin-bottom: 1.1rem; }
.site-footer a.footer-link { color: rgba(255,255,255,.75); display: block; margin-bottom: .55rem; font-size: .92rem; }
.site-footer a.footer-link:hover { color: var(--or-accent); }
.site-footer .footer-brand { font-family: var(--or-font-head); font-size: 1.4rem; font-weight: 800; color: #fff; }
.site-footer .social-icons a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: .5rem; transition: all .2s ease;
}
.site-footer .social-icons a:hover { background: var(--or-accent); color: #24170a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; padding: 1.1rem 0; }

/* Breadcrumb */
.breadcrumb-bar { background: var(--or-primary-light); padding: 1.6rem 0; }
.breadcrumb-bar .breadcrumb { margin: 0; font-size: .88rem; }
.breadcrumb-bar h1 { font-size: 1.6rem; margin: 0; }

/* Forms (booking/contact) */
.form-card { background: var(--or-surface); border: 1px solid var(--or-border); border-radius: var(--or-radius); padding: 2rem; box-shadow: var(--or-shadow-sm); }
.form-label { font-weight: 600; font-size: .88rem; }
.form-control, .form-select { border-radius: var(--or-radius-sm); border: 1px solid var(--or-border); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--or-primary); box-shadow: 0 0 0 .2rem rgba(14,75,75,.12); }

/* Filters sidebar */
.filter-card { background: var(--or-surface); border: 1px solid var(--or-border); border-radius: var(--or-radius); padding: 1.4rem; }
.filter-card h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }

/* Pagination */
.pagination .page-link { border-radius: 999px !important; margin: 0 .2rem; border: 1px solid var(--or-border); color: var(--or-ink); }
.pagination .page-item.active .page-link { background: var(--or-primary); border-color: var(--or-primary); }

/* Floating buttons */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: var(--or-shadow-lg);
  animation: or-pulse 2.4s infinite;
}
.back-to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 1040;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--or-primary); color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--or-shadow);
  border: none;
}
.back-to-top.show { display: flex; }

@keyframes or-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Loading spinner (page transitions) */
.or-page-loader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--or-bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .3s ease, visibility .3s ease;
}
.or-page-loader.hide { opacity: 0; visibility: hidden; }
.or-spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 4px solid var(--or-primary-light);
  border-top-color: var(--or-primary);
  animation: or-spin 0.8s linear infinite;
}
@keyframes or-spin { to { transform: rotate(360deg); } }

/* Skeleton / lazy image fade */
img[loading="lazy"] { opacity: 0; transition: opacity .4s ease; }
img[loading="lazy"].loaded, img[loading="lazy"][src]:not([src=""]) { opacity: 1; }

/* Utilities */
.rounded-or { border-radius: var(--or-radius) !important; }
.shadow-or { box-shadow: var(--or-shadow) !important; }
.divider-accent { width: 56px; height: 4px; background: var(--or-accent); border-radius: 999px; margin-bottom: 1.2rem; }

::selection { background: var(--or-accent); color: #24170a; }

/* Scrollbar (webkit) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--or-bg); }
::-webkit-scrollbar-thumb { background: var(--or-border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--or-primary); }
