/* Foundation-only styles: spacing and readable structure */
:root {
  --container-width: 1100px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --border-color: #d9d9d9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2 {
  margin-top: 0;
  margin-bottom: var(--space-2);
}

p,
ul {
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

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

header,
main,
footer {
  padding-block: var(--space-3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.site-logo img,
.site-logo-img {
  display: block;
  max-height: 72px;
  width: auto;
  max-width: min(280px, 60vw);
  height: auto;
  object-fit: contain;
}

.primary-nav {
  min-width: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  cursor: pointer;
}

.nav-toggle span {
  font-size: 1.25rem;
  line-height: 1;
}

.section {
  border: 1px dashed var(--border-color);
  padding: var(--space-3);
  margin-bottom: var(--space-2);
}

.breadcrumb {
  margin-block: var(--space-2);
}

.site-header .nav-list {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 22px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.hero-shell {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.hero-shell.hero-shell-empty {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-shell.hero-shell-image {
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.28) 0%, rgba(2, 6, 23, 0.72) 100%),
    url('/assets/images/oman-tour-packages-hero.png') center/cover no-repeat;
}

.hero-shell.hero-shell-dark {
  background: linear-gradient(135deg, #020617 0%, #111827 100%);
}

.hero-content {
  color: #ffffff;
  max-width: 760px;
  padding: 32px;
}

.hero-kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.hero-content h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.15;
}

.hero-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 62ch;
}

.hero-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-links a {
  color: #e2e8f0;
  font-size: 0.9rem;
  text-decoration: underline;
}

.grid {
  display: grid;
  gap: var(--space-2);
}

.cards,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cards > *,
.card-grid > * {
  flex: 1 1 280px;
  min-width: 0;
}

.landing-hero {
  background: #0f172a;
  color: #fff;
  border-radius: 18px;
  padding: 28px;
}

.landing-hero p {
  color: rgba(255, 255, 255, 0.92);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-secondary {
  background: #1d4ed8;
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.trust-strip {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  background: #f8fafc;
}

.trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}

.sticky-book-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1100;
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3);
}

.sticky-book-bar .btn {
  flex: 1 1 50%;
  padding: 10px 14px;
}

body.has-sticky-cta {
  padding-bottom: 90px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  z-index: 1200;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  background: #20bd5a;
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.4);
  outline-offset: 2px;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  header,
  main,
  footer {
    padding-block: var(--space-2);
  }

  .section {
    padding: var(--space-2);
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .card-grid {
    flex-direction: column;
  }

  .cards > *,
  .card-grid > * {
    flex: 1 1 auto;
    width: 100%;
  }

  .btn,
  button,
  input[type="button"],
  input[type="submit"] {
    width: 100%;
    min-height: 44px;
  }

  .site-header .container {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-logo {
    max-width: calc(100% - 52px);
  }

  .site-logo img,
  .site-logo-img {
    max-height: 56px;
    max-width: min(240px, calc(100vw - 72px));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    width: 100%;
  }

  .primary-nav.is-open {
    display: block;
  }

  .site-header .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }

  .site-header .nav-list li + li {
    border-top: 1px solid var(--border-color);
  }

  .site-header .nav-list a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: center;
  }

  .hero-content,
  .section-title {
    text-align: center;
  }

  .hero-shell {
    min-height: 300px;
    border-radius: 18px;
  }

  .hero-content {
    padding: 22px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 84px;
    width: 52px;
    height: 52px;
  }

  .sticky-book-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px;
  }
}
