:root {
  --navy: #16202A;
  --navy-2: #1F2E3C;
  --cream: #FBF6EE;
  --cream-2: #F2EADA;
  --orange: #E85D2C;
  --orange-dark: #C64A20;
  --amber: #F5A623;
  --green: #1F6F54;
  --ink: #1B2430;
  --ink-soft: #5B6472;
  --line: #E4DCC9;
  --radius: 6px;
  font-size: 16px;
}

* { 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
  max-width: 100%; 
  overflow-x: hidden; 
}

body { 
  margin: 0; 
  background: var(--cream); 
  color: var(--ink); 
  font-family: 'Work Sans', sans-serif; 
  line-height: 1.55; 
  max-width: 100%; 
  overflow-x: hidden; 
}

h1, h2, h3, .display { 
  font-family: 'Barlow Condensed', sans-serif; 
  font-weight: 700; 
  line-height: 1.05; 
  margin: 0; 
  color: var(--navy); 
}

p { 
  margin: 0 0 1em; 
  color: var(--ink-soft); 
  max-width: 62ch; 
}

a { 
  color: inherit; 
  text-decoration: none; 
  transition: color 0.2s ease;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

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

/* Fixed .wrap padding so content never hits raw phone glass */
.wrap { 
  max-width: 1180px; 
  margin: 0 auto; 
  padding: 0 20px; 
  width: 100%; 
}

section { 
  padding: 88px 0; 
}

.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  padding: 13px 26px; 
  border-radius: 4px; 
  font-weight: 600; 
  font-size: 15.5px; 
  border: 2px solid transparent; 
  cursor: pointer; 
  font-family: 'Work Sans', sans-serif; 
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; 
  text-align: center; 
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1DA851; border-color: #1DA851; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-danger { background: #B3261E; color: #fff; border-color: #B3261E; }

/* ---------- Announcement bar ---------- */
#announce { 
  background: var(--navy); 
  color: #EDE6D6; 
  text-align: center; 
  font-size: 14px; 
  padding: 9px 16px; 
}

#announce b { 
  color: var(--amber); 
  font-weight: 600; 
}

/* ---------- Header ---------- */
header { 
  position: sticky; 
  top: 0; 
  z-index: 50; 
  background: rgba(251,246,238,.94); 
  backdrop-filter: blur(6px); 
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line); 
}

.nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 16px 24px; 
  max-width: 1180px; 
  margin: 0 auto; 
}

.logo { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-family: 'Barlow Condensed', sans-serif; 
  font-weight: 700; 
  font-size: 24px; 
  color: var(--navy); 
  white-space: nowrap; 
}

.logo svg { 
  width: 36px; 
  height: 36px; 
  flex-shrink: 0; 
}

.navlinks { 
  display: flex; 
  gap: 28px; 
  font-size: 15px; 
  font-weight: 500; 
}

.navlinks a { 
  color: var(--ink); 
  border-bottom: 2px solid transparent; 
  padding-bottom: 3px; 
  transition: border-color 0.2s ease, color 0.2s ease; 
}

.navlinks a:hover { 
  border-color: var(--orange); 
  color: var(--orange); 
}

.navcta { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.navcta .phone { font-weight: 600; font-size: 15px; }
.navcta .phone small { display: block; color: var(--ink-soft); font-weight: 400; font-size: 12px; }

/* Professional Mobile Menu Toggle Base Styling */
.menu-toggle { 
  display: none; 
  background: transparent; 
  border: 1px solid var(--line); 
  border-radius: var(--radius);
  cursor: pointer; 
  color: var(--navy); 
  padding: 6px; 
  line-height: 1; 
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
  background: var(--cream-2);
  border-color: var(--navy);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ---------- Hero (video background) ---------- */
.hero { 
  position: relative; 
  overflow: hidden; 
  min-height: 640px; 
  display: flex; 
  align-items: center; 
  color: #fff; 
}

.hero-media { 
  position: absolute; 
  inset: 0; 
  z-index: 0; 
  background: linear-gradient(135deg,#1B2430,#2C3E50); 
}

.hero-media video, .hero-media img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.hero-media::after { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(180deg,rgba(22,32,42,.72) 0%,rgba(22,32,42,.55) 45%,rgba(22,32,42,.88) 100%); 
}

.hero-inner { 
  position: relative; 
  z-index: 1; 
  padding: 110px 90px; 
  width: 100%; 
}

.hero h1 { 
  font-size: clamp(32px, 5.2vw, 64px); 
  color: #fff; 
  letter-spacing: .2px; 
  word-wrap: break-word; 
}

.hero h1 em { 
  font-style: normal; 
  color: var(--amber); 
}

.hero p.lead { 
  font-size: 17px; 
  margin-top: 18px; 
  max-width: 48ch; 
  color: #DCE3E8; 
  word-wrap: break-word; 
}

.hero .ctas { 
  display: flex; 
  gap: 14px; 
  margin-top: 28px; 
  flex-wrap: wrap; 
}

.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy); }

.hero-badges { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-badges div { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 700; color: #fff; }
.hero-badges span { display: block; font-family: 'Work Sans', sans-serif; font-size: 12.5px; color: #AEB8C2; font-weight: 500; }

.road-strip { background: var(--navy); padding: 14px 0; position: relative; z-index: 1; }
.road-strip .wrap { display: flex; justify-content: space-between; color: #C9D2DB; font-size: 13.5px; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .5px; flex-wrap: wrap; gap: 12px; }

/* ---------- Section headers ---------- */
.sec-head { max-width: 640px; margin: 0 0 44px; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.sec-head p { margin-top: 12px; font-size: 16.5px; }
.tag { display: inline-block; background: var(--cream-2); color: var(--orange-dark); border: 1px solid var(--line); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }

/* ---------- Fleet ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fleet-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s ease; }
.fleet-card:hover { box-shadow: 0 8px 24px rgba(22, 32, 42, 0.08); }
.fleet-card .photo { height: 160px; overflow: hidden; background: var(--cream-2); }
.fleet-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.fleet-card:hover .photo img { transform: scale(1.05); }
.fleet-card .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fleet-card h3 { font-size: 21px; }
.fleet-card .seats { color: var(--ink-soft); font-size: 13.5px; }
.fleet-card .price { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; color: var(--navy); font-weight: 700; margin-top: auto; }
.fleet-card .price small { font-family: 'Work Sans', sans-serif; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.fleet-card .btn { margin-top: 8px; width: 100%; }

/* ---------- Destinations & Packages ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s ease; }
.photo-card:hover { box-shadow: 0 8px 24px rgba(22, 32, 42, 0.08); }
.photo-card .photo { height: 190px; overflow: hidden; background: var(--cream-2); }
.photo-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.photo-card:hover .photo img { transform: scale(1.05); }
.photo-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.photo-card h3 { font-size: 21px; margin-bottom: 4px; }
.photo-card .subtitle { color: var(--orange-dark); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.photo-card p { font-size: 14.5px; margin-bottom: 14px; flex: 1; }
.photo-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.photo-card .meta b { color: var(--navy); font-family: 'Barlow Condensed', sans-serif; font-size: 20px; }

/* ---------- Occasions ---------- */
.occ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.occ-card { padding: 26px 22px; border-radius: var(--radius); background: var(--navy); color: #EDE6D6; }
.occ-card h3 { color: #fff; font-size: 24px; }
.occ-card p { color: #B9C2CC; font-size: 14.5px; margin-top: 8px; }
.occ-card:nth-child(3n+2) { background: var(--orange); }
.occ-card:nth-child(3n+2) p { color: #FBE3D6; }
.occ-card:nth-child(3n+3) { background: var(--green); }
.occ-card:nth-child(3n+3) p { color: #CFE6DC; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-item { display: flex; gap: 14px; }
.why-item .num { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; color: var(--orange); font-weight: 700; line-height: 1; flex-shrink: 0; }
.why-item h4 { font-size: 19px; margin-bottom: 4px; color: var(--navy); font-family: 'Work Sans', sans-serif; font-weight: 600; }
.why-item p { font-size: 14.5px; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 16.5px; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 15px; outline: none; border-radius: 4px; }
.faq summary:focus-visible { box-shadow: 0 0 0 2px var(--orange); padding: 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: '+'; color: var(--orange); font-size: 22px; flex-shrink: 0; }
.faq details[open] summary:after { content: '\2212'; }
.faq details p { margin-top: 10px; font-size: 15px; padding-right: 30px; }

/* ---------- Booking ---------- */
.booking { background: var(--navy); color: #fff; }
.booking .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.booking h2 { color: #fff; font-size: clamp(28px, 3.2vw, 38px); }
.booking p { color: #B9C2CC; }
.book-form { background: #fff; border-radius: 8px; padding: 28px; color: var(--ink); }
.book-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--navy); }
.book-form input, .book-form select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 14px; font-family: 'Work Sans', sans-serif; font-size: 14.5px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.book-form input:focus, .book-form select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232, 93, 44, 0.15); }
.book-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-form button { width: 100%; font-size: 16px; margin-top: 10px; }
.book-form .form-msg { font-size: 13.5px; margin-bottom: 10px; display: none; }

/* ---------- Footer ---------- */
footer { background: var(--navy-2); color: #B9C2CC; padding: 60px 0 26px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
footer h5 { color: #fff; font-family: 'Work Sans', sans-serif; font-size: 15px; margin: 0 0 14px; }
footer a { color: #B9C2CC; display: block; margin-bottom: 9px; transition: color 0.2s ease; }
footer a:hover, footer a:focus-visible { color: var(--amber); }
.foot-bottom { border-top: 1px solid #2C3B4A; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; color: #7C8896; flex-wrap: wrap; gap: 10px; }
.foot-bottom a { display: inline; color: #7C8896; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 80; background: #25D366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); animation: pulse 2.4s ease-in-out infinite; transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.05); }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 20px rgba(37,211,102,.35); } 50% { box-shadow: 0 8px 28px rgba(37,211,102,.6); } }
.wa-float svg { width: 30px; height: 30px; }

/* ============ Admin panel look ============ */
.admin-body { background: var(--cream-2); font-family: 'Work Sans', sans-serif; color: var(--ink); margin: 0; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--navy); color: #DCE3E8; flex-shrink: 0; padding: 24px 0; }
.admin-sidebar .brand { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: #fff; padding: 0 22px 22px; border-bottom: 1px solid #2C3B4A; margin-bottom: 14px; display: block; }
.admin-sidebar a { display: block; padding: 11px 22px; color: #B9C2CC; font-size: 14.5px; border-left: 3px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.admin-sidebar a:hover, .admin-sidebar a:focus-visible { background: #1F2E3C; color: #fff; outline: none; }
.admin-sidebar a.active { background: #1F2E3C; color: #fff; border-left-color: var(--orange); }
.admin-main { flex: 1; padding: 32px 40px; max-width: 1200px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 15px; }
.admin-topbar h1 { font-size: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.stat-card .n { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.1; margin-bottom: 4px; }
.stat-card .l { font-size: 13px; color: var(--ink-soft); }

/* Responsive table wrapper */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 10px; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 600px; }
table.admin-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); border-bottom: 2px solid var(--line); padding: 10px 8px; white-space: nowrap; }
table.admin-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.admin-table img.thumb { width: 56px; height: 40px; object-fit: cover; border-radius: 4px; }

.form-grid label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; margin-top: 14px; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 4px; font-family: 'Work Sans', sans-serif; font-size: 14.5px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232, 93, 44, 0.15); }
.form-grid textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 12px 16px; border-radius: 5px; font-size: 14.5px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #E4F3EC; color: #1F6F54; border: 1px solid #BFE3D2; }
.alert-error { background: #FBEAE7; color: #B3261E; border: 1px solid #F2C6BE; }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); padding: 20px; }
.login-card { background: #fff; padding: 36px; border-radius: 8px; width: 100%; max-width: 380px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.login-card h1 { font-size: 26px; margin-bottom: 6px; }
.login-card p { font-size: 14px; margin-bottom: 20px; }

.icon-btn { background: none; border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; font-size: 13px; cursor: pointer; color: var(--ink); transition: background 0.2s; }
.icon-btn:hover, .icon-btn:focus-visible { background: var(--cream-2); outline: none; }
.icon-btn.danger { color: #B3261E; border-color: #F2C6BE; }
.icon-btn.danger:hover, .icon-btn.danger:focus-visible { background: #FBEAE7; outline: none; }

.badge { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 12px; background: var(--cream-2); color: var(--ink-soft); font-weight: 500; }
.badge.on { background: #E4F3EC; color: #1F6F54; }
.badge.off { background: #FBEAE7; color: #B3261E; }

/* ============ Responsive Breakpoints ============ */
@media(max-width: 980px) {
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .occ-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .booking .wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media(max-width: 820px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; display: flex; flex-wrap: wrap; padding: 10px 20px; align-items: center; }
  .admin-sidebar .brand { border-bottom: none; border-right: 1px solid #2C3B4A; padding: 0 20px 0 0; margin: 0 15px 0 0; }
  .admin-sidebar a { padding: 8px 14px; border-left: none; border-bottom: 3px solid transparent; border-radius: 4px; }
  .admin-sidebar a.active { border-bottom-color: transparent; background: #1F2E3C; color: #fff; }
  .admin-main { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-topbar h1 { font-size: 24px; }
  
  /* Fallback: Ensure tables always scroll on mobile even without the wrapper */
  table.admin-table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media(max-width: 720px) {
  .nav { padding: 12px 16px; position: relative; width: 100%; box-sizing: border-box; }
  .navcta { gap: 8px; }
  .navcta .phone { display: none; }
  .navcta .btn-wa { padding: 6px 10px; font-size: 13px; }
  
  .menu-toggle { display: block !important; margin: 0; padding: 6px; }

  .navlinks { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    width: 100%; 
    background: #fff; 
    flex-direction: column; 
    gap: 0; 
    border-bottom: 1px solid var(--line); 
    box-shadow: 0 10px 15px rgba(0,0,0,0.05); 
    padding: 10px 0; 
    z-index: 100; 
    box-sizing: border-box; 
    margin: 0;
  }
  
  .navlinks.open { display: flex; } 
  .navlinks a { padding: 12px 20px; border-bottom: 1px solid var(--cream-2); width: 100%; color: var(--navy); box-sizing: border-box; }
  .navlinks a:hover { border-color: var(--orange); }
  .navlinks a:last-child { border-bottom: none; }
  
  section { padding: 56px 0; }
  .fleet-grid { grid-template-columns: 1fr; }
  .fleet-card .photo { height: 180px; }
  .photo-grid { grid-template-columns: 1fr; }
  .book-form .row2 { grid-template-columns: 1fr; gap: 0; }
  
  .hero { min-height: 500px; }
  /* Normalized padding so content remains horizontally centered */
  .hero-inner { padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero h1 { font-size: 32px; }
  .hero .ctas { justify-content: center; }
  .hero-badges { justify-content: center; }

  .road-strip .wrap { justify-content: center; }
  .sec-head h2 { font-size: 30px; }
  
  .admin-sidebar { justify-content: center; }
  .admin-sidebar .brand { border-right: none; padding-right: 0; margin-right: 0; margin-bottom: 10px; width: 100%; text-align: center; }
}

@media(max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 15px; }
  .hero-badges div { font-size: 24px; }
  .booking .wrap { gap: 30px; }
  .book-form { padding: 20px; }
  .card { padding: 16px; overflow: hidden; }
  .admin-main { padding: 16px; }
  .why-item { flex-direction: column; gap: 8px; text-align: center; }
  .why-item .num { font-size: 28px; }
}

@media(prefers-reduced-motion: reduce) { 
  * { animation: none !important; transition: none !important; } 
  html { scroll-behavior: auto; }
}