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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Fira Mono", monospace;
  color: #000;
  background: #fff;
  padding-top: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  padding: 1.2rem 4rem;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.3s ease;
}

.navbar.solid {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

/* ===== NAVBAR INNER ===== */
.nav-bar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.5rem;
  overflow: visible;
}

.nav-bar .nav-links {
  margin: 0;
  padding: 0;
}

.nav-bar .nav-links.left {
  justify-self: end;
  justify-content: flex-end;
}

.nav-bar .nav-links.right {
  justify-self: start;
  justify-content: flex-start;
}

.nav-logo {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  z-index: 20;
  overflow: visible;
}

/* ===== NAV LINKS ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-weight: 500;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.navbar.solid .nav-links a {
  color: black;
}

/* ===== LOGO ===== */
.logo {
  height: 120px;
  transition: filter 0.3s ease, height 0.3s ease;
  filter: brightness(0) invert(1);
  display: block;
}

.navbar.solid .logo {
  filter: brightness(0) invert(0);
  height: 80px;
}

/* ===== MOBILE BURGER ===== */
.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0;
}

/* ===== MOBILE NAVBAR ===== */
@media (max-width: 950px) {
  .navbar {
    height: 92px;
    min-height: 92px;
    padding: env(safe-area-inset-top) 1rem 0;
    overflow: visible;
  }

  .navbar.solid {
    height: 72px;
    min-height: 72px;
  }

  .nav-links.left,
  .nav-links.right {
    display: none;
  }

  .nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 92px;
    overflow: visible;
  }

  .navbar.solid .nav-bar {
    min-height: 72px;
  }

  .logo {
    position: absolute;
    top: calc(env(safe-area-inset-top) + 6px);
    left: 50%;
    transform: translateX(-50%);
    height: 86px;
  }

  .navbar.solid .logo {
    height: 58px;
    top: calc(env(safe-area-inset-top) + 7px);
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 42px;
    transform: translateY(-50%);
    width: 28px;
    height: 24px;
    cursor: pointer;
    z-index: 4001;
  }

  .navbar.solid .menu-toggle {
    top: 36px;
  }

  .menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
    transform-origin: center;
  }

  .menu-toggle span:nth-child(1) {
    top: 0;
  }

  .menu-toggle span:nth-child(2) {
    top: 8px;
  }

  .menu-toggle span:nth-child(3) {
    top: 16px;
  }

  .navbar.solid .menu-toggle span {
    background: black;
  }

  .menu-toggle.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
}

@media (max-width: 950px) {
  .mobile-menu {
    position: fixed;
    top: 92px;
    right: 10px;
    width: min(220px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
    padding: 1.1rem 1rem 1rem;
    background: rgba(0, 0, 0, 0.96);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    z-index: 4000;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
  }

  .mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.6;
  }

  .mobile-menu a:hover {
    color: #aaa;
  }

  .mobile-menu-logo {
    width: 90px;
    margin-bottom: 0.35rem;
    filter: brightness(0) invert(1);
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  width: 100%;
  max-width: 100vw;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg.show {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 0 0 32px 32px;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 1rem;
}

.hero-content h1,
.hero-content p {
  font-family: "Permanent Marker", cursive;
  color: #fff;
}

.hero-content h1 {
  font-size: 3.2rem;
  letter-spacing: 1px;
}

.hero-content p {
  margin-top: 1rem;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 0 0 24px 24px;
  }

  .hero::after {
    border-radius: 0 0 24px 24px;
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.05;
  }

  .hero-content p {
    margin-top: 0.35rem;
    font-size: 1.1rem;
  }

  .hero-bg {
    background-position: center 35%;
  }
}

/* ===== TOURS SECTION ===== */
.tours {
  padding: 6.5rem 1.5rem;
  background: #fff;
  color: #000;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.tours h2 {
  font-family: "Permanent Marker", cursive;
  font-size: 3.2rem;
  line-height: 1.1;
  text-align: center;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.tours > p {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.6;
}

.tour-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 5rem;
  justify-items: center;
  align-items: stretch;
  width: 100%;
}

.tour-item {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tour-link {
  width: 100%;
  max-width: 440px;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  border-radius: 16px;
}

.tour-link:hover .tour-card {
  transform: translateY(-4px);
  cursor: pointer;
}

.tour-link:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.25);
  outline-offset: 6px;
  border-radius: 18px;
}

.tour-card {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 0.4rem;
  transition: transform 0.2s ease;
}

.tour-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 240px;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #eee;
  flex: 0 0 auto;
}

.mountain-card img {
  object-position: center 20%;
}

.tour-card h3 {
  font-family: "Permanent Marker", cursive;
  font-size: 1.6rem;
  font-weight: 400;
  margin: 1.1rem 1.6rem 0.4rem;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.tour-card p {
  margin: 0 1.6rem 1.2rem;
  line-height: 1.35;
  font-size: 1rem;
}

.tour-cta-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 2.4rem;
  border-radius: 999px;
  background: #000;
  border: 3px solid #000;
  color: #fff;
  font-family: "Fira Mono", monospace;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.tour-cta-btn:hover {
  transform: translateY(-4px);
  background: #111;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.tour-or {
  grid-column: 1 / -1;
  justify-self: center;
  align-self: center;
  font-family: "Permanent Marker", cursive;
  font-size: 2rem;
  line-height: 1;
  margin: -1rem 0 -0.5rem;
}

/* ===== MOBILE TOUR SECTION ===== */
@media (max-width: 768px) {
  .tours {
    padding: 4rem 1rem;
  }

  .tours h2 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  .tours > p {
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 2rem;
  }

  .tour-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    row-gap: 4rem;
    justify-items: center;
  }

  .tour-item {
    width: 100%;
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
  }

  .tour-link {
    width: 100%;
    max-width: 390px;
    height: auto;
    display: block;
    overflow: visible;
  }

  .tour-card {
    width: 100%;
    max-width: 390px;
    height: auto;
    aspect-ratio: auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: none;
    outline: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    padding-bottom: 0.4rem;
  }

  .tour-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 240px;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 0;
    background: #eee;
  }

  .mountain-card img {
    object-position: center 20%;
  }

  .tour-card h3 {
    font-size: 1.6rem;
    margin: 1.1rem 1.6rem 0.4rem;
    line-height: 1.15;
  }

  .tour-card p {
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
    max-height: none;
    overflow: visible;
    margin: 0 1.6rem 1.2rem;
    line-height: 1.35;
    font-size: 1rem;
  }

  .tour-cta-btn {
    width: 100%;
    max-width: 390px;
    min-height: 54px;
    text-align: center;
    font-size: 1rem;
    padding: 0 1.2rem;
    box-shadow: none;
  }

  .tour-or {
    font-size: 1.7rem;
    margin: -0.5rem 0 -0.8rem;
  }
}

@media (max-width: 430px) {
  .tour-grid,
  .tour-item,
  .tour-link,
  .tour-card,
  .tour-cta-btn {
    max-width: calc(100vw - 32px);
  }
}

/* ===== TOUR PAGES ===== */
.tour-page {
  background: #fff;
}

.tour-wrap {
  padding-top: 110px;
}

.tour-hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 4rem;
  border-radius: 20px;
  overflow: hidden;
}

.tour-hero img {
  width: 100%;
  height: 46vh;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.tour-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.tour-hero-text {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: white;
  z-index: 2;
}

.tour-hero-text h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.tour-hero-text p {
  font-size: 1.1rem;
  max-width: 420px;
}

.tour-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3.5rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: #111;
  opacity: 0.7;
}

.back-link:hover {
  opacity: 1;
}

.tour-content h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.tour-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
}

.tour-content h2 {
  font-size: 1.6rem;
  margin: 2rem 0 0.75rem;
}

.tour-description p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tour-details {
  margin-left: 1.1rem;
  line-height: 1.8;
}

.tour-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tour-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

@media (max-width: 850px) {
  .tour-wrap {
    padding-top: 90px;
  }

  .tour-hero {
    margin: 0 1rem 2rem;
    border-radius: 16px;
  }

  .tour-hero img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .tour-hero-text {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

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

  .tour-hero-text p {
    font-size: 0.95rem;
  }

  .tour-content {
    padding: 1.5rem 1rem 3rem;
  }

  .tour-content h1 {
    font-size: 2rem;
  }

  .tour-gallery {
    grid-template-columns: 1fr;
  }

  .tour-gallery img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* ===== TOUR SIDEBAR CARDS ===== */
.tour-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tour-side-card {
  background: #fff;
  border: 2px solid #000;
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.tour-side-card h2 {
  margin: 0 0 0.9rem 0;
  font-size: 1.4rem;
}

.tour-kv {
  display: grid;
  gap: 0.65rem;
}

.tour-kv-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.tour-kv-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tour-kv-row span {
  opacity: 0.75;
}

.tour-total {
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.tour-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 2.4rem;
  border-radius: 999px;
  background: #000;
  border: 3px solid #000;
  color: #fff;
  font-family: "Fira Mono", monospace;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.20);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.tour-book-btn:hover {
  transform: translateY(-3px);
  background: #111;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

@media (max-width: 800px) {
  .tour-book-btn {
    width: 100%;
  }

  .tour-kv-row,
  .tour-total {
    gap: 0.75rem;
  }
}

/* ===== WHITE PAGES: BLACK BURGER ON MOBILE ===== */
@media (max-width: 950px) {
  .page-about .menu-toggle span,
  .page-faq .menu-toggle span,
  .page-prices .menu-toggle span,
  .page-media .menu-toggle span,
  .page-booking .menu-toggle span {
    background: #000;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  width: 100%;
  max-width: 100vw;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 4rem;
  overflow-x: hidden;
}

.footer-legal {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ===== FOOTER PARTNERS ===== */
.footer-partners {
  text-align: center;
  margin-bottom: 1.2rem;
}

.footer-partners-title {
  font-size: 0.85rem;
  letter-spacing: 1px;
  opacity: 0.7;
  margin: 0 0 0.75rem 0;
}

.footer-logos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  column-gap: 3rem;
}

.footer-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.footer-logos a:nth-child(1) {
  justify-self: end;
}

.footer-logos a:nth-child(2) {
  justify-self: center;
}

.footer-logos a:nth-child(3) {
  justify-self: start;
}

.footer-logos img {
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-logos img[alt="SolarGuard"] {
  height: 72px;
}

.footer-logos img[alt="ION"] {
  height: 155px;
}

.footer-logos img[alt="ROC Bike Customs"] {
  height: 38px;
}

.footer-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .footer-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0.75rem;
    max-width: 100%;
  }

  .footer-logos a:nth-child(1),
  .footer-logos a:nth-child(2),
  .footer-logos a:nth-child(3) {
    justify-self: center;
  }

  .footer-logos img,
  .footer-logos img[alt="SolarGuard"],
  .footer-logos img[alt="ION"],
  .footer-logos img[alt="ROC Bike Customs"] {
    height: auto;
    max-height: 42px;
    max-width: 95px;
  }
}

@media (max-width: 600px) {
  .footer-legal {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .footer-legal .footer-break {
    display: block;
    height: 0;
  }

  .footer-legal .footer-sep {
    display: none;
  }
}

@media (min-width: 601px) {
  .footer-legal .footer-break {
    display: none;
  }

  .footer-legal .footer-sep {
    display: inline;
  }
}

/* ===== FINAL MOBILE WIDTH LOCK ===== */
@media (max-width: 768px) {
  html,
  body,
  main,
  section,
  header,
  footer,
  .navbar,
  .nav-bar,
  .hero,
  .tours,
  .site-footer {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    touch-action: pan-y;
  }
}

/* ===== FOOTER: REMOVE DOTTED UNDERLINE / FOCUS LINE ===== */
.site-footer,
.site-footer p,
.footer-legal,
.footer-legal span,
.footer-legal a,
.footer-link {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none;
}

.footer-link:hover {
  text-decoration: underline !important;
}