/* ============================================
   R&K RV Park — Styles
   Teal + Slate Grey | Editorial / Bold
   ============================================ */

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

:root {
  --teal-900: #0a5c5f;
  --teal-800: #0d7377;
  --teal-700: #118a8e;
  --teal-600: #14a0a5;
  --teal-500: #1ab8bd;
  --teal-100: #d0f0f1;
  --teal-50:  #eaf8f8;

  --slate-950: #0b1115;
  --slate-900: #0f1923;
  --slate-800: #172534;
  --slate-700: #1e3347;
  --slate-600: #2d4a5e;
  --slate-500: #3d5f73;
  --slate-400: #6b8a9e;
  --slate-300: #9db8c8;
  --slate-200: #c5d8e2;
  --slate-100: #e2ecf1;
  --slate-50:  #f0f6f9;

  --white: #ffffff;
  --off-white: #f7fafb;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(11, 17, 21, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-md) 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__logo-mark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav__logo-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  list-style: none;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-300);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal-500);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--white);
}

.nav__link::after:hover {
  width: 100%;
}

.nav__link--cta {
  background: var(--teal-700);
  color: var(--white) !important;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--teal-600);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.nav__toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 17, 21, 0.55) 0%,
    rgba(11, 17, 21, 0.45) 50%,
    rgba(11, 17, 21, 0.80) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: 0 var(--space-xl);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: var(--space-xl);
}

.hero__tag-line {
  width: 40px;
  height: 1px;
  background: var(--teal-500);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.hero__headline em {
  font-style: italic;
  color: var(--teal-300);
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--slate-200);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--slate-400);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--teal-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal-700);
  color: var(--white);
  border: 2px solid var(--teal-700);
}

.btn--primary:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 115, 119, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ============================================
   Section shared
   ============================================ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.section-title em {
  font-style: italic;
  color: var(--teal-700);
}

/* ============================================
   About
   ============================================ */
.about {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about__text {
  max-width: 520px;
}

.about__text p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--slate-100);
}

.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--teal-700);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.about__image {
  position: relative;
}

.about__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--teal-100);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ============================================
   Amenities
   ============================================ */
.amenities {
  padding: var(--space-4xl) 0;
  background: var(--slate-50);
}

.amenities__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.amenity {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  transition: var(--transition);
}

.amenity:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(11, 17, 21, 0.08);
  border-color: var(--teal-100);
}

.amenity__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--teal-700);
  transition: var(--transition);
}

.amenity:hover .amenity__icon {
  background: var(--teal-700);
  color: var(--white);
}

.amenity__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--space-sm);
}

.amenity__desc {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.gallery__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: var(--space-md);
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--large {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}

.gallery__item:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
}

.gallery__item:nth-child(3) {
  grid-column: 8 / 13;
  grid-row: 2 / 3;
}

.gallery__item:nth-child(4) {
  grid-column: 1 / 5;
  grid-row: 3 / 4;
}

.gallery__item:nth-child(5) {
  grid-column: 5 / 13;
  grid-row: 3 / 4;
}

/* ============================================
   Location
   ============================================ */
.location {
  padding: var(--space-4xl) 0;
  background: var(--slate-900);
  color: var(--white);
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: stretch;
}

.location__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location .section-label {
  color: var(--teal-400);
}

.location .section-title {
  color: var(--white);
}

.location .section-title em {
  color: var(--teal-400);
}

.location__address {
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--slate-200);
  margin: var(--space-xl) 0;
}

.location__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.location__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 1rem;
  color: var(--slate-300);
  transition: var(--transition);
}

.location__contact:hover {
  color: var(--teal-400);
}

.location__note {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.7;
}

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}

/* ============================================
   Contact
   ============================================ */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.contact__text p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.8;
}

.contact__form-wrap {
  background: var(--slate-50);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-700);
}

.form__input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--slate-900);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form__input::placeholder {
  color: var(--slate-400);
}

.form__input:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b8a9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-2xl);
  text-align: center;
  color: var(--teal-700);
}

.form__success svg {
  color: var(--teal-600);
}

.form__success p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--slate-950);
  color: var(--slate-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer__logo-mark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
}

.footer__logo-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate-400);
  max-width: 300px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--slate-400);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--teal-400);
}

.footer__contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer__contact a {
  color: var(--slate-400);
  transition: var(--transition);
}

.footer__contact a:hover {
  color: var(--teal-400);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--slate-500);
}

.footer__bottom a {
  color: var(--slate-500);
  transition: var(--transition);
}

.footer__bottom a:hover {
  color: var(--teal-400);
}

/* ============================================
   Scroll animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .amenities__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery__item--large {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 300px;
  }

  .gallery__item:nth-child(2),
  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--slate-900);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    transition: var(--transition);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav__link--cta {
    display: inline-block;
  }

  .about__grid,
  .location__grid,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about__image {
    order: -1;
  }

  .about__image img {
    height: 300px;
  }

  .about__image-accent {
    display: none;
  }

  .amenities__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--large {
    height: 260px;
  }

  .gallery__item {
    height: 220px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .about__stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
}
