/* Typography */
@font-face {
  font-family: "Futura Local";
  src: local("Futura"), local("Futura PT"), local("Futura-Medium");
  font-weight: 400 700;
  font-style: normal;
}

/* Spartan variable font - self-hosted */
@font-face {
  font-family: "Spartan";
  src: url("Fonts/futura-similar-fonts/futura-similar-fonts/Spartan/spartan/Spartan[wght].ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Jaymont Personal - font files in Fonts/jaymont-personal/ directory */
@font-face {
  font-family: "Jaymont Personal";
  src: url("Fonts/jaymont-personal/JaymontMe_PERSONAL_USE.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Utility to apply Jaymont where needed */
.jaymont {
  font-family: "Jaymont Personal", "Spartan", system-ui, sans-serif;
}

:root {
  --bg-dark: #0f0f0f;
  --text: #f0f0e6;
  --muted: #d3d1c8;
  --accent: #5a673e; /* reservation button */
  --overlay: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: #000;
  color: var(--text);
  font-family: "Spartan", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  padding: 22px 28px;
  transition: background-color 300ms ease, backdrop-filter 300ms ease;
}

/* Navbar with background when scrolled */
.navbar.scrolled {
  background: rgba(35, 45, 20, 0.85);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 140px;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.8;
}

.hamburger {
  appearance: none;
  background: transparent;
  border: 0;
  display: none; /* visible on small screens */
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 400ms ease;
}

.hamburger:hover,
.hamburger:focus-visible,
.hamburger[aria-expanded="true"] {
  opacity: 1;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 200ms ease, opacity 200ms ease;
}

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

/* Hamburger active state -> X */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 300ms ease;
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 300ms ease;
}

.nav a:hover {
  color: #fffbef;
  transform: translateY(-2px);
}

.nav a:hover::after {
  width: 100%;
}

.nav .btn {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 300ms ease;
  position: relative;
  overflow: hidden;
}

.nav .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 500ms ease;
}

.nav .btn:hover {
  background: #6b7a4a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(90, 103, 62, 0.3);
}

.nav .btn:hover::before {
  left: 100%;
}

/* Hero slider */
.hero-slider {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Maintain letterboxing (no crop) on very tall/short screens */
@media (max-aspect-ratio: 16/10) {
  .slide {
    background-size: auto 100%;
  }
}

.slides {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover; /* cover full viewport, crop sides if needed */
  background-position: center;
  background-image: var(--bg);
  opacity: 0;
  transition: opacity 800ms ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 60px; /* leave room for navbar */
}

.hero-logo {
  height: 117.34px;
  width: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

@media (max-width: 600px) {
  .hero-logo {
    height: 80px;
  }
}

/* Slider dots */
.dots {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  z-index: 5; /* keep above slides/overlays */
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

/* Responsive dot sizing */
@media (max-width: 1200px) {
  .dot {
    width: 16px;
    height: 16px;
  }
  .dots {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .dot {
    width: 14px;
    height: 14px;
  }
  .dots {
    gap: 20px;
    bottom: 72px;
  }
}

@media (max-width: 600px) {
  .dot {
    width: 12px;
    height: 12px;
  }
  .dots {
    gap: 16px;
    bottom: 64px;
  }
}

@media (max-width: 400px) {
  .dot {
    width: 10px;
    height: 10px;
  }
  .dots {
    gap: 14px;
    bottom: 56px;
  }
}

/* Backdrop default hidden behavior */
.backdrop[hidden] {
  display: none !important;
}

@media (max-width: 850px) {
  .brand img {
    width: 140px;
    height: auto;
  }
  .hamburger {
    display: inline-flex;
    z-index: 26;
  }

  /* Off-canvas menu */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(78vw, 360px);
    height: 100vh;
    padding: 90px 24px 24px;
    background: rgba(14, 14, 14, 0.96);
    backdrop-filter: saturate(120%) blur(6px);
    flex-direction: column;
    gap: 20px;
    transition: right 280ms ease;
    z-index: 25;
  }

  .nav.open {
    right: 0;
  }

  .backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 24;
  }
}

@media (max-width: 550px) {
  .brand img {
    width: 100px;
    height: auto;
  }
}

/* Shared footer (matches about.css) */
.about-footer {
  background: #465430;
  height: 117px;
  display: flex;
  align-items: center;
}

.about-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  background: #ffffff;
  border-radius: 13.5px;
  color: #465430;
  text-decoration: none;
  transition: all 300ms ease;
  border: 1px solid #000;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.copyright p {
  color: #ffffff;
  font-family: "Spartan", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: auto;
  margin: 0;
  text-align: center;
}

@media (max-width: 480px) {
  .about-footer {
    height: 100px;
  }

  .footer-content {
    gap: 8px;
  }

  .social-icons {
    gap: 16px;
  }

  .social-icon {
    width: 24px;
    height: 24px;
    border-radius: 12px;
  }

  .social-icon svg {
    width: 14px;
    height: 14px;
  }

  .copyright p {
    font-size: 12px;
  }
}
