/* ======================== TOKENS ======================== */
:root {
  --bg: #080808;
  --surface: #111111;
  --text: #ffffff;
  --muted: #999999;
  --accent: #c42b1a;
  --cream: #e8dfc8;
  --border: #1a1a1a;

  --font-head: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ======================== RESET ======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

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

/* ======================== FOCUS ======================== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ======================== REDUCED MOTION ======================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ======================== NAVBAR ======================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s ease;
}

nav.scrolled {
  background: var(--bg);
}

.nav-logo img {
  max-height: 60px;
  width: auto;
}

.nav-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  width: 22px;
  height: 22px;
  filter: invert(1);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.social-icon:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }
}

/* ======================== HERO ======================== */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  /* modern viewport unit, overrides above where supported */
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.62);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 10rem);
  color: var(--cream);
  letter-spacing: 0.05em;
  line-height: 1;
}

.hero-chevron {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.hero-chevron:hover {
  opacity: 1;
}

/* ======================== GALLERY ======================== */

.gallery-booking-title {
  column-span: all;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--text);
  text-align: center;
  letter-spacing: 0.05em;
  padding: 60px 20px;
  margin: 0;
  background: var(--bg);
}


#gallery {
  columns: 4;
  column-gap: 6px;
  /* padding: 60px 20px; */
}

#gallery img {
  width: 100%;
  display: block;
  break-inside: avoid;
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
  #gallery {
    columns: 3;
  }
}

@media (max-width: 768px) {
  #gallery {
    columns: 2;
  }
}

/* ======================== BOOKING ======================== */
.booking-card {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 6px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .booking-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(196, 43, 26, 0.2);
  }
}

.booking-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  pointer-events: none;
  z-index: 0;
}

.booking-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.booking-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.72);
  pointer-events: none;
  z-index: 1;
}

#booking .section-title,
#booking .booking-cards {
  position: relative;
  z-index: 2;
}

.card-label {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-agency {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--text);
  font-weight: normal;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.card-name {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.card-phone,
.card-email {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.card-phone {
  color: var(--text);
}

.card-email {
  color: var(--muted);
  word-break: break-all;
}

.card-phone:hover,
.card-email:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  #booking {
    padding: 60px 20px;
  }

  .booking-bg {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 140px;
  }
}

/* ======================== FOOTER ======================== */
footer {
  padding: 32px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  footer {
    padding: 24px 20px;
  }
}

/* ======================== CONTACT BUTTONS ======================== */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-contact {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--text);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-contact:hover {
  background: transparent;
  color: var(--accent);
}

.btn-contact--secondary {
  background: transparent;
  color: var(--accent);
}

.btn-contact--secondary:hover {
  background: var(--accent);
  color: var(--text);
}