/* ========================================
   Camp 64 — Hotel & Lodging Website
   Color Palette: Burgundy + Blush
   Typography: Playfair Display + Inter
======================================== */

:root {
  --burgundy: #722F37;
  --burgundy-dark: #5A252C;
  --burgundy-light: #8B3A42;
  --blush: #F5E6E0;
  --blush-light: #FAF3F0;
  --blush-dark: #E8D0C8;
  --cream: #FDF8F5;
  --charcoal: #2C2C2C;
  --charcoal-light: #4A4A4A;
  --gray: #6B6B6B;
  --gray-light: #9A9A9A;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(114, 47, 55, 0.08);
  --shadow-md: 0 4px 20px rgba(114, 47, 55, 0.1);
  --shadow-lg: 0 10px 40px rgba(114, 47, 55, 0.12);
  --radius: 4px;
  --radius-lg: 8px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Navigation
======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(114, 47, 55, 0.08);
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-light);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--burgundy);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--burgundy);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--cta {
  background: var(--burgundy);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 44, 44, 0.4) 0%,
    rgba(44, 44, 44, 0.55) 50%,
    rgba(44, 44, 44, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blush);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-headline--accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blush);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: fadeUp 0.8s ease forwards 1.1s;
  opacity: 0;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn--primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

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

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

/* ========================================
   Sections
======================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}

/* ========================================
   About
======================================== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--blush-dark);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content {
  padding: 16px 0;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--blush-dark);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========================================
   Rooms
======================================== */
.rooms {
  background: var(--cream);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.room-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.room-card-content {
  padding: 28px;
}

.room-card-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.room-card-desc {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.room-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.room-card-amenities li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--burgundy);
  background: var(--blush-light);
  padding: 6px 12px;
  border-radius: 20px;
}

.rooms-cta {
  text-align: center;
}

/* ========================================
   Location
======================================== */
.location {
  background: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.location-text {
  font-size: 1.0625rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.location-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 500;
}

.location-highlights svg {
  color: var(--burgundy);
  flex-shrink: 0;
}

.location-map img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ========================================
   Testimonials
======================================== */
.testimonials {
  background: var(--burgundy);
  color: var(--white);
}

.testimonials .section-eyebrow {
  color: var(--blush);
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: background 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.testimonial-quote {
  color: var(--blush);
  margin-bottom: 20px;
  opacity: 0.6;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blush);
  letter-spacing: 0.05em;
}

/* ========================================
   Contact
======================================== */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-text {
  font-size: 1.0625rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail svg {
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 500;
}

.contact-detail-value a {
  color: var(--burgundy);
  transition: color 0.2s ease;
}

.contact-detail-value a:hover {
  color: var(--burgundy-dark);
  text-decoration: underline;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal-light);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--blush-light);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: var(--gray-light);
}

.form-input:focus {
  border-color: var(--burgundy);
  background: var(--white);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #E8F5E9;
  border-radius: var(--radius);
  color: #2E7D32;
  font-weight: 500;
  font-size: 0.9375rem;
  margin-top: 16px;
}

.form-success svg {
  flex-shrink: 0;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.footer-contact a {
  color: var(--blush);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  text-align: center;
}

/* ========================================
   Scroll Animations
======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
  .about-grid,
  .location-grid,
  .contact-grid {
    gap: 40px;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    box-shadow: var(--shadow-sm);
  }

  .nav-menu.open {
    max-height: 300px;
    padding: 16px 0;
  }

  .nav-link {
    padding: 14px 24px;
    width: 100%;
  }

  .nav-link--cta {
    margin: 8px 24px;
    text-align: center;
  }

  .hero-content {
    padding: 100px 24px 60px;
  }

  .section {
    padding: 72px 0;
  }

  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap img {
    height: 350px;
  }

  .about-image-wrap::before {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
  }

  .rooms-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    gap: 24px;
  }

  .hero-scroll {
    display: none;
  }
}

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

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }
}
