* { box-sizing: border-box; }

:root {
  --teal: #00565B;
  --teal-dark: #00474B;
  --accent: #B88719;
  --sand: #EBC09E;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #1A2E2F;
  background: #F7F2EE;
  line-height: 1.6;
}

/* Focus styles (WCAG critical) */
a:focus,
button:focus {
  outline: 3px solid #EBC09E;
  outline-offset: 3px;
}

/* ── Header ── */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: var(--teal);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo { font-weight: 700; color: var(--sand); }

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #F4D6BE;
  font-weight: 500;
}

.nav-links a:hover { color: #ffffff; }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 43, 0.75);
}

.video-container {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.video-container iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--sand);
}

.hero p {
  color: #e6f4f5;
}

.hero button {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

/* ── Sections ── */
.section {
  padding: 6rem 2rem;
}

.section h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

/* ── Carousel ── */
.card-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 1rem 2rem;
  scrollbar-width: none;
}

.card-row::-webkit-scrollbar { display: none; }

.card {
  min-width: 320px;
  flex: 0 0 auto;
  border-radius: 16px;
  padding: 1rem;
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
  transition: transform 0.3s;
}

.card:hover,
.card:focus-within {
  transform: scale(1.03);
}

/* Video */
.video-wrapper {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}

.video-thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.card:hover .hover-video,
.card:focus-within .hover-video {
  pointer-events: auto;
}

/* Carousel dots (accessible size) */
.carousel-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.5;
  cursor: pointer;
}

.carousel-dot.active { opacity: 1; }

/* ── Reduced motion support ── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .video-container iframe {
    display: none;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--teal);
    flex-direction: column;
    width: 200px;
    display: none;
  }

  .nav-links.show { display: flex; }

  .hero h1 { font-size: 2rem; }

  .card {
    min-width: 85%;
  }
}