/* ==========================================================================
   Kawkab Al-Sharq Tourism & Travel — Base Stylesheet
   Placeholder brand palette inspired by Jordan's desert/rose-city tones.
   Swap the CSS variables below once real brand assets are ready.
   ========================================================================== */

:root {
  /* Color palette */
  --color-sand-50: #faf6f0;
  --color-sand-100: #f3ead9;
  --color-sand-200: #e6d3b3;
  --color-rose-600: #a8503c;
  --color-rose-700: #8a3f2f;
  --color-gold-500: #c8973c;
  --color-navy-900: #22252b;
  --color-navy-700: #3a3f47;
  --color-text: #2b2621;
  --color-text-muted: #6b6258;
  --color-white: #ffffff;
  --color-border: #e3d8c6;

  /* Type */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(34, 37, 43, 0.08);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--color-navy-900);
}

h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-rose-600);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section {
  padding: 4.5rem 0;
}

.section--muted {
  background: var(--color-sand-50);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-rose-600);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-rose-700);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-rose-600);
  color: var(--color-rose-600);
}

.btn--outline:hover {
  background: var(--color-rose-600);
  color: var(--color-white);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav__brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy-900);
}

.nav__brand span {
  color: var(--color-rose-600);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-navy-700);
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--color-rose-600);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-navy-900);
}

@media (max-width: 860px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .nav__links.is-open {
    max-height: 400px;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 0.9rem 1.5rem;
    border-top: 1px solid var(--color-border);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-navy-900) 0%, var(--color-rose-700) 130%);
  color: var(--color-white);
  padding: 6rem 0;
}

.hero__content {
  max-width: 680px;
}

.hero h1 {
  color: var(--color-white);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */

.grid {
  display: grid;
  gap: 2rem;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card__image {
  aspect-ratio: 4 / 3;
  background: var(--color-sand-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.card__body {
  padding: 1.5rem;
}

.card__meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card__body h3 {
  margin-bottom: 0.5rem;
}

.card__body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.card__link {
  font-weight: 600;
  color: var(--color-rose-600);
  font-size: 0.9rem;
}

/* Category pills */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--color-sand-100);
  color: var(--color-rose-700);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--color-sand-200);
}

/* ==========================================================================
   Stats / Founder / About blocks
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split__media {
  aspect-ratio: 4 / 3;
  background: var(--color-sand-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-rose-600);
}

.stat span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial p {
  font-style: italic;
  color: var(--color-text);
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta {
  background: var(--color-rose-600);
  color: var(--color-white);
  text-align: center;
  padding: 4rem 0;
}

.cta h2 {
  color: var(--color-white);
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   Itinerary detail page
   ========================================================================== */

.itinerary-hero {
  background: var(--color-sand-100);
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--color-rose-600);
}

.itinerary-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.itinerary-facts li {
  font-size: 0.9rem;
}

.itinerary-facts strong {
  display: block;
  color: var(--color-navy-900);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.day-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: day;
}

.day {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.day:first-child {
  padding-top: 0;
}

.day__marker {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-rose-600);
}

.day__marker span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.include-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 620px) {
  .include-columns {
    grid-template-columns: 1fr;
  }
}

.check-list,
.cross-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.cross-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-rose-600);
  font-weight: 700;
}

.cross-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Data tables (accommodation / pricing)
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 480px;
}

.data-table caption {
  text-align: left;
  font-weight: 600;
  padding: 0.85rem 1rem 0;
  color: var(--color-navy-900);
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.data-table thead th {
  background: var(--color-sand-50);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  font-weight: 600;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table td:first-child,
.data-table th:first-child {
  font-weight: 600;
  color: var(--color-navy-900);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--color-sand-100);
  color: var(--color-rose-700);
  border: 1px solid var(--color-sand-200);
}

.differentiator-note {
  background: var(--color-sand-50);
  border-left: 3px solid var(--color-rose-600);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.differentiator-note strong {
  color: var(--color-rose-700);
}

/* ==========================================================================
   Blog
   ========================================================================== */

.post-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.post-body h2 {
  margin-top: 2em;
}

.post-body p {
  color: var(--color-text);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-grid h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--color-white);
}

.site-footer .brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   404
   ========================================================================== */

.error-page {
  text-align: center;
  padding: 7rem 0;
}
