/* ============================================================
   Motolaya Tours — Main Stylesheet
   Mobile-first | Himalayan Adventure Theme
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
  --clr-base:       #f5efe6;
  --clr-base-dark:  #ede3d5;
  --clr-primary:    #3e2f23;
  --clr-primary-lt: #5a4535;
  --clr-accent:     #c76b29;
  --clr-accent-lt:  #e07d38;
  --clr-sky:        #4a7fa5;
  --clr-white:      #ffffff;
  --clr-text:       #2c2218;
  --clr-text-muted: #7a6a5a;
  --clr-border:     #d4c4b0;
  --clr-success:    #2e7d32;
  --clr-error:      #c62828;

  --font-heading: 'Oswald', 'Arial Black', sans-serif;
  --font-body:    'Open Sans', Arial, sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 20px rgba(62,47,35,.12);
  --shadow-lg: 0 8px 40px rgba(62,47,35,.18);
  --transition: .25s ease;

  --container: 1200px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--clr-base);
  color: var(--clr-text);
  line-height: 1.65;
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent-lt); }
ul   { list-style: none; }
button, input, select, textarea { font-family: var(--font-body); }

/* ----- Container ----- */
.container { width: 92%; max-width: var(--container); margin: 0 auto; }

/* ----- Typography ----- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-heading);
  color: var(--clr-primary);
  line-height: 1.15;
  letter-spacing: .5px;
}
h1 { font-size: clamp(2rem,  5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); }
h3 { font-size: clamp(1.2rem,2.5vw,1.7rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
}
.btn-primary:hover {
  background: var(--clr-accent-lt);
  border-color: var(--clr-accent-lt);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199,107,41,.35);
}
.btn-outline {
  background: transparent;
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}
.btn-outline:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}
.btn-white:hover {
  background: var(--clr-base);
  transform: translateY(-2px);
  color: var(--clr-primary);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ----- Topbar ----- */
.topbar {
  background: var(--clr-primary);
  color: #c9b99a;
  font-size: .82rem;
  padding: .4rem 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}
.topbar a { color: #f0d9b5; }
.topbar a:hover { color: var(--clr-accent-lt); }
.topbar-right { display: flex; gap: 1.2rem; }

/* ----- Header / Nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--clr-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  transition: background var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--clr-white) !important;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.logo-icon { font-size: 1.6rem; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.nav-link {
  color: #d4c4b0;
  font-size: .95rem;
  font-weight: 500;
  padding: .45rem .85rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--clr-white);
  background: rgba(255,255,255,.1);
}
.btn-nav-cta {
  background: var(--clr-accent) !important;
  color: var(--clr-white) !important;
  padding: .5rem 1.2rem !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
}
.btn-nav-cta:hover {
  background: var(--clr-accent-lt) !important;
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--clr-white);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ----- Section layout ----- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark {
  background: var(--clr-primary);
  color: var(--clr-white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--clr-white); }
.section-cream { background: var(--clr-base-dark); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .6rem; }
.section-header p  { color: var(--clr-text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-header .accent-line {
  width: 60px;
  height: 4px;
  background: var(--clr-accent);
  margin: .8rem auto 0;
  border-radius: 2px;
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1108 0%, #3e2f23 50%, #2a4a6b 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60 L30 0 L60 60Z' fill='rgba(255,255,255,0.015)'/%3E%3C/svg%3E") repeat,
    linear-gradient(to right, rgba(15,8,2,.80) 0%, rgba(15,8,2,.50) 60%, rgba(15,8,2,.25) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  background: rgba(199,107,41,.2);
  color: #f0a96a;
  border: 1px solid rgba(199,107,41,.4);
  border-radius: 20px;
  padding: .3rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero h1 {
  color: var(--clr-white);
  font-size: clamp(2.4rem,6vw,4.2rem);
  line-height: 1.05;
  margin-bottom: .8rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero h1 span { color: var(--clr-accent-lt); }
.hero-sub {
  color: #c9b99a;
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--clr-accent-lt);
}
.hero-stat span {
  font-size: .85rem;
  color: #a8998a;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ----- Prayer Flags Divider ----- */
.flags-divider {
  text-align: center;
  padding: .8rem 0;
  background: var(--clr-accent);
  overflow: hidden;
  white-space: nowrap;
}
.flags-divider span {
  display: inline-block;
  color: var(--clr-white);
  font-size: .85rem;
  letter-spacing: 3px;
  opacity: .9;
}

/* ----- Cards (Bikes & Tours) ----- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}
.card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--clr-base-dark);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title { font-size: 1.15rem; margin-bottom: .4rem; }
.card-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--clr-text-muted);
  margin-bottom: .8rem;
}
.card-meta span { display: flex; align-items: center; gap: .3rem; }
.card-desc {
  font-size: .9rem;
  color: var(--clr-text-muted);
  flex: 1;
  margin-bottom: 1.2rem;
}
.card-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--clr-accent);
  margin-bottom: 1rem;
}
.card-price small {
  font-size: .75rem;
  color: var(--clr-text-muted);
  font-family: var(--font-body);
}
.card-footer {
  padding: 1rem 1.4rem 1.4rem;
  border-top: 1px solid var(--clr-border);
}

/* ----- Tour Card ----- */
.tour-card .card-img { height: 220px; }
.tour-info {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .83rem;
  color: var(--clr-text-muted);
  margin-bottom: .8rem;
}
.tour-info span { background: var(--clr-base-dark); border-radius: 4px; padding: .2rem .6rem; }

/* ----- Destination Cards ----- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}
.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 280px;
  cursor: pointer;
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,18,8,.85) 0%, rgba(30,18,8,.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background var(--transition);
}
.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(30,18,8,.92) 0%, rgba(30,18,8,.3) 60%);
}
.dest-overlay h3 { color: var(--clr-white); margin-bottom: .4rem; }
.dest-overlay p  { color: #c9b99a; font-size: .88rem; display: none; }
.dest-card:hover .dest-overlay p { display: block; }

/* ----- Why Choose Us ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.why-item:hover { transform: translateY(-4px); }
.why-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}
.why-item h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.why-item p  { font-size: .9rem; color: var(--clr-text-muted); margin: 0; }

/* ----- Testimonials ----- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 1.8rem;
}
.testi-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testi-stars { color: #f5c518; font-size: 1.1rem; margin-bottom: .8rem; }
.testi-text  { color: #d4c4b0; font-size: .95rem; font-style: italic; margin-bottom: 1.2rem; }
.testi-author strong { color: var(--clr-white); display: block; }
.testi-author span   { color: var(--clr-text-muted); font-size: .85rem; }

/* ----- Forms ----- */
.form-section { background: var(--clr-base-dark); }
.booking-form-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--clr-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius);
  font-size: .95rem;
  background: var(--clr-base);
  color: var(--clr-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(199,107,41,.15);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: .8rem; }
.form-submit .btn { width: 100%; justify-content: center; }
.field-error { color: var(--clr-error); font-size: .82rem; margin-top: .3rem; }

/* ----- Contact Section ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  font-size: 1.5rem;
  min-width: 2.5rem;
  text-align: center;
}
.contact-info-item strong { display: block; color: var(--clr-primary); }
.map-wrap {
  background: var(--clr-base-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  border: 2px dashed var(--clr-border);
  font-size: .9rem;
}

/* ----- Flash Messages ----- */
.flash {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.flash-success { background: #e8f5e9; color: var(--clr-success); border-left: 4px solid var(--clr-success); }
.flash-error   { background: #ffebee; color: var(--clr-error);   border-left: 4px solid var(--clr-error);   }

/* ----- Contact Strip ----- */
.contact-strip {
  background: var(--clr-accent);
  padding: 2.5rem 0;
  text-align: center;
}
.contact-strip h2 { color: var(--clr-white); margin-bottom: .5rem; }
.contact-strip p  { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
.contact-strip-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ----- Bikes Listing Page ----- */
.filter-bar {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.2rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-bar .form-group { margin-bottom: 0; flex: 1; min-width: 180px; }
.filter-bar .btn { align-self: flex-end; }

/* ----- Page Hero (inner pages) ----- */
.page-hero {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #5a3a28 100%);
  padding: 5rem 0 3.5rem;
  text-align: center;
}
.page-hero h1 { color: var(--clr-white); }
.page-hero p  { color: #c9b99a; font-size: 1.05rem; margin-top: .6rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  color: #a08060;
  margin-top: 1rem;
}
.breadcrumb a { color: #f0d9b5; }

/* ----- Bike Detail info chips ----- */
.bike-specs {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin: .8rem 0;
}
.spec-chip {
  background: var(--clr-base-dark);
  border-radius: 20px;
  padding: .3rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-primary);
}

/* ----- Tariff box ----- */
.tariff-box {
  background: #fff8f0;
  border: 1px solid #f0d9b5;
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-size: .88rem;
  color: var(--clr-primary-lt);
  margin-top: auto;
  margin-bottom: 1rem;
}

/* ----- WhatsApp Sticky ----- */
.whatsapp-sticky {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 999;
  background: #25d366;
  color: var(--clr-white);
  border-radius: 50px;
  padding: .75rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  font-weight: 700;
  font-size: .9rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-sticky:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37,211,102,.55);
  color: var(--clr-white);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--clr-primary);
  color: #c9b99a;
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer-logo {
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .8rem;
}
.footer-tagline { font-style: italic; color: #a8998a; margin-bottom: .8rem; }
.footer-address { font-size: .88rem; }
.footer-social { display: flex; gap: 1rem; margin-top: .8rem; }
.footer-social a { color: #f0d9b5; font-size: .88rem; }
.site-footer h4 { color: var(--clr-white); margin-bottom: 1rem; font-size: 1rem; letter-spacing: .5px; text-transform: uppercase; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer ul a  { color: #a8998a; font-size: .9rem; transition: color var(--transition); }
.site-footer ul a:hover { color: var(--clr-accent-lt); }
.footer-contact li { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.footer-contact a  { color: #c9b99a; }
.footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 1.2rem 0;
  text-align: center;
  font-size: .82rem;
  color: #7a6a5a;
}
.footer-prayer { color: var(--clr-accent); margin-top: .4rem; letter-spacing: 1px; }

/* ----- Pagination ----- */
.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid var(--clr-border);
  color: var(--clr-primary);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }
.pagination .current { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }

  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-primary);
    flex-direction: column;
    padding: 1rem;
    gap: .3rem;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }
  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; padding: .75rem 1rem; }

  .hero { min-height: 75vh; }
  .hero-stats { gap: 1.5rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .dest-grid  { grid-template-columns: 1fr; }
  .why-grid   { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .why-grid   { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .booking-form-wrap { padding: 1.5rem; }
  .whatsapp-sticky span { display: none; }
  .whatsapp-sticky { border-radius: 50%; padding: .85rem; }
}
