/* ============================================================
   AZURE PALMS RESORT — Design System
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --azure:       #0077b6;
  --azure-dark:  #005f92;
  --azure-light: #90e0ef;
  --sand:        #f4e4c1;
  --sand-dark:   #e8c97a;
  --gold:        #c9a84c;
  --gold-light:  #f0d080;
  --white:       #ffffff;
  --off-white:   #fafaf8;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-300:    #d1d5db;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-800:    #1f2937;
  --gray-900:    #111827;
  --green:       #10b981;
  --red:         #ef4444;
  --orange:      #f59e0b;
  --navy:        #0a1628;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-md:   0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.15);
  --shadow-xl:   0 32px 80px rgba(0,0,0,.20);

  --transition:  all .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .5s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-serif); line-height: 1.2; color: var(--gray-900); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
p  { color: var(--gray-600); line-height: 1.75; }
.serif { font-family: var(--font-serif); }
.text-gold { color: var(--gold); }
.text-azure { color: var(--azure); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 8px 0;
  letter-spacing: .02em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar a { color: rgba(255,255,255,.75); transition: var(--transition); }
.topbar a:hover { color: var(--gold-light); }
.topbar .sep { opacity: .3; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.brand-logo {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--azure), var(--azure-dark));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem; font-weight: 900;
  font-family: var(--font-serif);
  flex-shrink: 0;
}
.brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--azure); background: rgba(0,119,182,.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-currency select {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: .8rem;
  background: white;
  color: var(--gray-700);
  cursor: pointer;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: var(--transition); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--azure); color: white; border-color: var(--azure);
}
.btn-primary:hover { background: var(--azure-dark); border-color: var(--azure-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,119,182,.3); }
.btn-gold {
  background: var(--gold); color: white; border-color: var(--gold);
}
.btn-gold:hover { background: #b8973e; border-color: #b8973e; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,.4); }
.btn-outline {
  background: transparent; color: var(--azure); border-color: var(--azure);
}
.btn-outline:hover { background: var(--azure); color: white; }
.btn-outline-white {
  background: transparent; color: white; border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: white; color: var(--navy); }
.btn-white {
  background: white; color: var(--navy); border-color: white;
}
.btn-white:hover { background: var(--gray-100); }
.btn-dark {
  background: var(--navy); color: white; border-color: var(--navy);
}
.btn-dark:hover { background: var(--gray-800); }
.btn-sm { padding: 8px 16px; font-size: .8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius); }
.btn-xl { padding: 20px 48px; font-size: 1.1rem; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?w=1920');
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.75) 0%, rgba(0,119,182,.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.2);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 { color: white; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat { color: white; }
.hero-stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--gold-light); }
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; }

/* ── Booking Widget ──────────────────────────────────────────── */
.booking-widget-wrap {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  margin-top: 40px;
  max-width: 900px;
}
.booking-widget {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 0;
}
.bw-field {
  padding: 14px 20px;
  border-right: 1px solid var(--gray-100);
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}
.bw-field:last-of-type { border-right: none; }
.bw-field:hover { background: var(--gray-50); }
.bw-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); margin-bottom: 4px; }
.bw-value { font-size: .95rem; font-weight: 600; color: var(--gray-800); }
.bw-value input, .bw-value select {
  border: none; outline: none; background: transparent;
  font-size: .95rem; font-weight: 600; color: var(--gray-800);
  width: 100%; cursor: pointer; font-family: inherit;
}
.bw-btn { padding: 14px 28px; }

/* ── Section Headers ─────────────────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--azure));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── Room Cards ──────────────────────────────────────────────── */
.room-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-card-img img { transform: scale(1.06); }
.room-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: white;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.room-card-wishlist {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
  border: none; font-size: 1rem;
}
.room-card-wishlist:hover { background: white; transform: scale(1.1); }
.room-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.room-card-meta { display: flex; gap: 16px; margin-bottom: 12px; }
.room-meta-item { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--gray-500); }
.room-card-title { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 8px; color: var(--gray-900); }
.room-card-desc { font-size: .875rem; color: var(--gray-500); margin-bottom: 16px; flex: 1; }
.room-card-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.amenity-tag {
  background: var(--gray-100); color: var(--gray-600);
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 500;
}
.room-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.room-price { }
.room-price-from { font-size: .75rem; color: var(--gray-400); }
.room-price-amount { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--azure); }
.room-price-night { font-size: .8rem; color: var(--gray-500); }

/* ── Package Cards ───────────────────────────────────────────── */
.package-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.package-card-img { height: 220px; overflow: hidden; }
.package-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.package-card:hover .package-card-img img { transform: scale(1.06); }
.package-discount {
  position: absolute; top: 16px; right: 16px;
  background: var(--red); color: white;
  padding: 6px 12px; border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 700;
}
.package-card-body { padding: 24px; }
.package-card-title { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 8px; }
.package-includes { list-style: none; margin: 12px 0; }
.package-includes li { font-size: .85rem; color: var(--gray-600); padding: 3px 0; display: flex; align-items: center; gap: 8px; }
.package-includes li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.package-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.package-price-orig { font-size: .9rem; color: var(--gray-400); text-decoration: line-through; }
.package-price-sale { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--azure); }

/* ── Addon Cards ─────────────────────────────────────────────── */
.addon-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.addon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.addon-card-img { height: 180px; overflow: hidden; }
.addon-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.addon-card:hover .addon-card-img img { transform: scale(1.05); }
.addon-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.addon-type-badge {
  display: inline-block;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 10px;
}
.badge-spa { background: #fce7f3; color: #be185d; }
.badge-tour { background: #d1fae5; color: #065f46; }
.badge-transfer { background: #dbeafe; color: #1e40af; }
.badge-meal { background: #fef3c7; color: #92400e; }
.badge-upgrade { background: #ede9fe; color: #5b21b6; }
.badge-other { background: var(--gray-100); color: var(--gray-600); }
.addon-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; color: var(--gray-900); }
.addon-card-desc { font-size: .82rem; color: var(--gray-500); flex: 1; margin-bottom: 16px; }
.addon-card-footer { display: flex; align-items: center; justify-content: space-between; }
.addon-price { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--azure); }
.addon-price-type { font-size: .72rem; color: var(--gray-400); }

/* ── Review Cards ────────────────────────────────────────────── */
.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute; top: 20px; left: 28px;
  font-family: var(--font-serif); font-size: 5rem; line-height: 1;
  color: var(--azure-light); opacity: .5;
}
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.review-score {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: white;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: .85rem; font-weight: 700;
  margin-bottom: 16px;
}
.review-title { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 10px; }
.review-body { font-size: .9rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--azure), var(--azure-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .9rem; }
.review-meta { font-size: .78rem; color: var(--gray-400); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-label .required { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--gray-800);
  background: white;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--azure); box-shadow: 0 0 0 3px rgba(0,119,182,.1); }
.form-control.error { border-color: var(--red); }
.form-control::placeholder { color: var(--gray-400); }
.form-hint { font-size: .78rem; color: var(--gray-400); margin-top: 4px; }
.form-error { font-size: .78rem; color: var(--red); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.input-group { position: relative; }
.input-group .form-control { padding-left: 44px; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 1rem; pointer-events: none; }
.input-group-append { position: absolute; right: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 14px; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--azure); flex-shrink: 0; }
.radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-option {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  font-size: .9rem;
}
.radio-option:has(input:checked) { border-color: var(--azure); background: rgba(0,119,182,.04); }
.radio-option input { accent-color: var(--azure); }

/* ── Cards & Panels ──────────────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
}
.card-header h3, .card-header h4 { margin: 0; font-size: 1.1rem; }
.card-body { padding: 28px; }
.card-footer { padding: 20px 28px; border-top: 1px solid var(--gray-100); background: var(--gray-50); }
.panel {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}
.panel-gold {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: var(--sand-dark);
}

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--green); }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--red); }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--orange); }
.alert-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--azure); }

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-gray    { background: var(--gray-100); color: var(--gray-600); }
.badge-gold    { background: #fef3c7; color: #92400e; }
.badge-navy    { background: var(--navy); color: white; }

/* ── Tables ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; background: white; }
thead th {
  background: var(--gray-50);
  padding: 12px 16px;
  text-align: left;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
  color: var(--gray-700);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--gray-50); }

/* ── Tabs ────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--gray-200); margin-bottom: 28px; }
.tab-btn {
  padding: 12px 20px;
  font-size: .9rem; font-weight: 600;
  color: var(--gray-500);
  background: none; border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer; transition: var(--transition);
}
.tab-btn.active { color: var(--azure); border-bottom-color: var(--azure); }
.tab-btn:hover { color: var(--azure); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--gray-400); margin-bottom: 24px; }
.breadcrumb a { color: var(--azure); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--gray-300); }

/* ── Page Hero ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--azure-dark) 100%);
  padding: 80px 0 60px;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?w=1920') center/cover;
  opacity: .15;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; }

/* ── Checkout / Booking Summary ──────────────────────────────── */
.booking-summary {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.booking-summary-header {
  background: linear-gradient(135deg, var(--navy), var(--azure-dark));
  padding: 24px;
  color: white;
}
.booking-summary-header h3 { color: white; font-size: 1.1rem; margin-bottom: 4px; }
.booking-summary-body { padding: 24px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: .9rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row.total { font-weight: 700; font-size: 1.1rem; color: var(--gray-900); padding-top: 16px; }
.summary-row.discount { color: var(--green); }
.summary-label { color: var(--gray-600); }
.summary-value { font-weight: 600; color: var(--gray-800); }

/* ── Progress Steps ──────────────────────────────────────────── */
.steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 48px; }
.step { display: flex; align-items: center; gap: 0; }
.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
  background: var(--gray-200); color: var(--gray-500);
  transition: var(--transition);
  flex-shrink: 0;
}
.step.active .step-circle { background: var(--azure); color: white; }
.step.done .step-circle { background: var(--green); color: white; }
.step-label { font-size: .8rem; font-weight: 600; color: var(--gray-400); margin: 0 12px; white-space: nowrap; }
.step.active .step-label { color: var(--azure); }
.step.done .step-label { color: var(--green); }
.step-line { width: 60px; height: 2px; background: var(--gray-200); }
.step.done + .step .step-line, .step.done .step-line { background: var(--green); }

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ── Amenities Grid ──────────────────────────────────────────── */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.amenity-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  font-size: .875rem; font-weight: 500;
  color: var(--gray-700);
}
.amenity-icon { font-size: 1.4rem; flex-shrink: 0; }

/* ── Stats ───────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stat-icon { font-size: 2.5rem; margin-bottom: 12px; }
.stat-num { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700; color: var(--azure); margin-bottom: 4px; }
.stat-label { font-size: .85rem; color: var(--gray-500); font-weight: 500; }

/* ── Admin Layout ────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--navy);
  color: white;
  flex-shrink: 0;
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
  transition: var(--transition);
}
.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-logo { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: white; }
.admin-sidebar-logo span { color: var(--gold-light); }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-section { margin-bottom: 24px; }
.admin-nav-label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.35); padding: 0 8px; margin-bottom: 6px; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  margin-bottom: 2px;
}
.admin-nav a:hover { background: rgba(255,255,255,.08); color: white; }
.admin-nav a.active { background: rgba(0,119,182,.3); color: white; }
.admin-nav a .nav-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.admin-main { margin-left: 260px; flex: 1; background: var(--gray-50); min-height: 100vh; }
.admin-topbar {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 0 32px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.admin-content { padding: 32px; }
.admin-page-title { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.admin-page-subtitle { font-size: .875rem; color: var(--gray-500); margin-bottom: 28px; }

/* ── KPI Cards ───────────────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.kpi-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
}
.kpi-card.blue { border-left-color: var(--azure); }
.kpi-card.green { border-left-color: var(--green); }
.kpi-card.gold { border-left-color: var(--gold); }
.kpi-card.red { border-left-color: var(--red); }
.kpi-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); margin-bottom: 8px; }
.kpi-value { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.kpi-change { font-size: .8rem; color: var(--gray-400); }
.kpi-change.up { color: var(--green); }
.kpi-change.down { color: var(--red); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600;
  color: var(--gray-600);
  background: white;
  border: 1.5px solid var(--gray-200);
  cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.page-btn:hover { border-color: var(--azure); color: var(--azure); }
.page-btn.active { background: var(--azure); color: white; border-color: var(--azure); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(.95) translateY(20px);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header { padding: 24px 28px; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { margin: 0; }
.modal-close { background: none; border: none; font-size: 1.4rem; color: var(--gray-400); cursor: pointer; padding: 4px; line-height: 1; }
.modal-close:hover { color: var(--gray-700); }
.modal-body { padding: 28px; }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end; gap: 12px; }

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 3000;
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: white; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ── Flight Search ───────────────────────────────────────────── */
.flight-search-box {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
}
.trip-type-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.trip-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: .875rem; font-weight: 600;
  border: 1.5px solid var(--gray-200);
  background: white; color: var(--gray-600);
  cursor: pointer; transition: var(--transition);
}
.trip-tab.active { background: var(--azure); color: white; border-color: var(--azure); }
.flight-fields { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.flight-result {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 24px;
  transition: var(--transition);
  cursor: pointer;
  margin-bottom: 12px;
}
.flight-result:hover { border-color: var(--azure); box-shadow: var(--shadow); }
.flight-result.selected { border-color: var(--azure); background: rgba(0,119,182,.03); }
.airline-logo { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: contain; background: var(--gray-100); padding: 4px; }
.flight-route { flex: 1; display: flex; align-items: center; gap: 16px; }
.flight-time { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; }
.flight-airport { font-size: .75rem; color: var(--gray-400); }
.flight-line { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.flight-duration { font-size: .75rem; color: var(--gray-500); }
.flight-line-bar { width: 100%; height: 1px; background: var(--gray-300); position: relative; }
.flight-line-bar::before, .flight-line-bar::after { content: ''; position: absolute; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--gray-400); }
.flight-line-bar::before { left: 0; }
.flight-line-bar::after { right: 0; }
.flight-stops { font-size: .72rem; color: var(--gray-400); }
.flight-price { text-align: right; }
.flight-price-amount { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--azure); }
.flight-price-label { font-size: .72rem; color: var(--gray-400); }

/* ── Account Sidebar ─────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.account-sidebar { position: sticky; top: 100px; }
.account-nav {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.account-nav-header {
  background: linear-gradient(135deg, var(--navy), var(--azure-dark));
  padding: 24px;
  color: white;
}
.account-avatar {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700;
  color: white; margin-bottom: 12px;
}
.account-name { font-weight: 700; font-size: 1rem; }
.account-tier { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 2px; }
.account-nav-links { padding: 12px; }
.account-nav-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  margin-bottom: 2px;
}
.account-nav-links a:hover { background: var(--gray-50); color: var(--azure); }
.account-nav-links a.active { background: rgba(0,119,182,.08); color: var(--azure); font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand { }
.footer-logo { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-logo span { color: var(--gold-light); }
.footer-desc { font-size: .875rem; line-height: 1.75; margin-bottom: 24px; color: rgba(255,255,255,.55); }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--azure); color: white; }
.footer-col h4 { color: white; font-size: .9rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .04em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.4);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-awards { display: flex; gap: 16px; align-items: center; }
.award-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: .72rem; color: rgba(255,255,255,.5);
  text-align: center;
}

/* ── Utilities ───────────────────────────────────────────────── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: var(--radius-full); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.aspect-video { aspect-ratio: 16/9; }
.aspect-square { aspect-ratio: 1; }
.bg-white { background: white; }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.border { border: 1.5px solid var(--gray-200); }
.border-top { border-top: 1px solid var(--gray-200); }
.border-bottom { border-bottom: 1px solid var(--gray-200); }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.sticky-top { position: sticky; top: 100px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1024px) {
  .booking-widget { grid-template-columns: 1fr 1fr; }
  .flight-fields { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 16px; box-shadow: var(--shadow-md); border-top: 1px solid var(--gray-100); z-index: 999; }
  .hamburger { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .booking-widget { grid-template-columns: 1fr; }
  .bw-field { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .steps { flex-wrap: wrap; gap: 8px; }
  .step-line { display: none; }
  .topbar-left { display: none; }
  .section { padding: 56px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .flight-result { flex-wrap: wrap; }
  .flight-fields { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .btn-xl { padding: 16px 32px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-fade-up { animation: fadeInUp .6s ease forwards; }
.animate-fade { animation: fadeIn .4s ease forwards; }
.loading { animation: pulse 1.5s ease infinite; }
.spinner { animation: spin 1s linear infinite; }

/* ── Skeleton Loader ─────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Print ───────────────────────────────────────────────────── */
@media print {
  .nav, .topbar, .footer, .btn, .booking-widget-wrap { display: none !important; }
  body { font-size: 12pt; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}