:root {
  --ink: #0b0f12;
  --paper: #f4f1ea;
  --muted: #6d746f;
  --white: #f7f4ee;
  --line: rgba(247, 244, 238, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
.display {
  font-family: "Oswald", "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #07090b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: min(72vw, 280px);
  height: auto;
  object-fit: contain;
  animation: pulse 1.1s ease-in-out infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #fff;
  z-index: 1200;
}

.adv-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: calc(1rem + env(safe-area-inset-top)) 0 1rem;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.adv-nav.is-solid {
  background: rgba(7, 9, 11, 0.82);
  backdrop-filter: blur(16px);
  padding: calc(0.7rem + env(safe-area-inset-top)) 0 0.7rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  text-decoration: none;
  min-height: 52px;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: #d4af37;
  font-weight: 600;
}

.adv-nav .nav-link {
  color: rgba(247, 244, 238, 0.82) !important;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-inline: 0.85rem !important;
}

.adv-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.adv-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  min-width: 44px;
  min-height: 44px;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-slides,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: kenburns 18s ease-in-out infinite;
}

.hero-slide.is-active {
  opacity: 1;
  transition: opacity 1.4s ease;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 9, 11, 0.38) 0%, rgba(7, 9, 11, 0.28) 40%, rgba(7, 9, 11, 0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  padding: 7.5rem 1.15rem 5rem;
}

.eyebrow {
  letter-spacing: 0.34em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.6rem, 12vw, 7.2rem);
  line-height: 0.92;
  margin: 0.8rem 0 1.2rem;
}

.hero-lead {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: rgba(247, 244, 238, 0.82);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-pill:hover {
  color: #111;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.btn-pill-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-pill-ghost:hover {
  color: #111;
  background: #fff;
}

.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}

.section {
  padding: clamp(3.4rem, 8vw, 6.5rem) 0;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.kicker {
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a918b;
}

.section-light .kicker {
  color: #7a817b;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
}

.stat {
  border-top: 1px solid rgba(11, 15, 18, 0.12);
  padding-top: 1rem;
}

.stat b {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: 0.04em;
}

.place-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 0;
}

.place-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.1s ease;
}

.place-card:hover img {
  transform: scale(1.16);
}

.place-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(7, 9, 11, 0.82));
}

.place-card h3 {
  margin-bottom: 0.2rem;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #10151a;
  border: 1px solid rgba(247, 244, 238, 0.08);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
}

.vehicle-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.vehicle-card:hover img {
  transform: scale(1.06);
}

.vehicle-card-body {
  padding: 1.2rem 1.15rem 1.4rem;
}

.vehicle-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.vehicle-card p {
  margin: 0;
  color: rgba(247, 244, 238, 0.65);
  font-size: 0.9rem;
}

.quote-band {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.quote-bg {
  position: absolute;
  inset: -12%;
  background:
    linear-gradient(rgba(7, 9, 11, 0.55), rgba(7, 9, 11, 0.55)),
    url("../img/alleppey-houseboat.jpg")
      center / cover no-repeat;
}

.quote-band blockquote {
  position: relative;
  z-index: 1;
  max-width: 20ch;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 auto;
  text-align: center;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease, filter 0.9s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: saturate(1.15);
}

.gallery-item span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
}

#gallery .col-md-7 .gallery-item,
#gallery .col-md-5 .gallery-item {
  height: 380px;
}

.history-page {
  padding-top: calc(5.5rem + env(safe-area-inset-top));
}

.history-intro {
  color: rgba(247, 244, 238, 0.72);
  max-width: 36rem;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}

.history-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #181f26;
}

.history-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.history-tile:hover img {
  transform: scale(1.06);
}

.history-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(7, 9, 11, 0.78));
}

.adv-nav .nav-link.active {
  color: #fff !important;
}

.contact-box {
  background: #10151a;
  padding: clamp(1.6rem, 4vw, 2.8rem) clamp(1rem, 3vw, 2rem);
}

.contact-copy {
  color: rgba(247, 244, 238, 0.7);
  max-width: 36rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.35rem;
  min-height: 160px;
  height: 100%;
  padding: 1.35rem 1.2rem;
  background: #181f26;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(247, 244, 238, 0.08);
}

.contact-card i {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.contact-kind {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(247, 244, 238, 0.5);
}

.contact-card strong {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.15rem, 3.5vw, 1.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.contact-card strong.contact-address {
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.45;
}

.contact-hint {
  font-size: 0.8rem;
  color: rgba(247, 244, 238, 0.55);
  margin-top: auto;
}

.contact-card:hover,
.contact-card:focus-visible {
  color: #fff;
  border-color: rgba(247, 244, 238, 0.35);
}

.contact-card.is-empty {
  cursor: default;
  pointer-events: none;
}

.contact-map {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 238, 0.08);
  background: #181f26;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(240px, 42vw, 420px);
  border: 0;
}

.site-footer {
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  color: rgba(247, 244, 238, 0.55);
  font-size: 0.8rem;
}

.dev-credit {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(247, 244, 238, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 238, 0.42);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.dev-credit a {
  color: rgba(247, 244, 238, 0.72);
  text-decoration: none;
  transition: color 0.25s ease;
}

.dev-credit a:hover,
.dev-credit a:focus-visible {
  color: #fff;
}

.dev-credit-sep {
  opacity: 0.5;
}

.dev-credit-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1;
}

@keyframes kenburns {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.18) translate3d(-1.5%, -1%, 0);
  }
  100% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.55;
  }
  50% {
    transform: translate(-50%, 8px);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.display-4 {
  font-size: clamp(1.85rem, 7vw, 3.2rem);
}

@media (max-width: 991.98px) {
  .adv-nav .navbar-collapse {
    background: rgba(7, 9, 11, 0.96);
    margin-top: 0.7rem;
    padding: 0.4rem 0.85rem 1rem;
  }

  .adv-nav .nav-link {
    padding: 0.95rem 0.4rem !important;
    font-size: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .eyebrow {
    letter-spacing: 0.14em;
    font-size: 0.62rem;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .btn-pill {
    min-height: 48px;
    padding-inline: 1.4rem;
  }

  .place-card,
  .place-card img {
    min-height: 260px;
    height: 260px;
  }

  .quote-band {
    min-height: 42vh;
    padding: 3rem 0.75rem;
  }

  .gallery-item,
  #gallery .col-md-7 .gallery-item,
  #gallery .col-md-5 .gallery-item {
    height: 220px;
  }

  .contact-card {
    min-height: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
