/* ============================================
   TAMARACK INN — CSS
   Palette: Plum (#6B3A6B) + Amber (#C8963E)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

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

:root {
  --plum: #6B3A6B;
  --plum-deep: #4E2A4E;
  --plum-light: #8B5A8B;
  --plum-muted: #F3ECF3;
  --plum-ghost: #FAF7FA;
  --amber: #C8963E;
  --amber-light: #D4A84B;
  --amber-muted: #FDF8EE;
  --cream: #FDFCFA;
  --warm-white: #FAFAF8;
  --text: #1A1A1A;
  --text-light: #4A4A4A;
  --text-muted: #7A7A7A;
  --line: #E8E4E0;
  --line-light: #F0ECE8;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -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;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--plum);
  letter-spacing: 0.01em;
}

.nav-logo-icon {
  color: var(--plum);
}

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

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--plum);
}

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

.nav-cta {
  color: var(--plum) !important;
  border: 1px solid var(--plum);
  padding: 8px 20px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease) !important;
}

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

.nav-cta:hover {
  background: var(--plum);
  color: #fff !important;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

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

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

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

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  padding: 120px 24px 0;
  background: var(--cream);
  position: relative;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-right: 24px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 32px;
}

.hero-title .line {
  display: block;
}

.hero-title em {
  font-style: italic;
  color: var(--plum);
}

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-meta .sep {
  color: var(--line);
}

.hero-image-col {
  position: relative;
  height: 720px;
}

.hero-img {
  position: absolute;
  overflow: hidden;
}

.hero-img--main {
  top: 0;
  right: 0;
  width: 85%;
  height: 82%;
}

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

.hero-img--accent {
  bottom: 0;
  left: 0;
  width: 55%;
  height: 38%;
  border: 6px solid var(--cream);
  box-shadow: 0 24px 64px rgba(107, 58, 107, 0.12);
}

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

.hero-line {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: var(--line);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
}

.btn-primary:hover {
  background: var(--plum-deep);
  border-color: var(--plum-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.btn-full {
  width: 100%;
}

/* ---- SECTION COMMON ---- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 520px;
}

/* ---- ABOUT ---- */
.about {
  padding: 120px 0;
  background: var(--warm-white);
}

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

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

.about-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 2px;
}

/* ---- ROOMS ---- */
.rooms {
  padding: 120px 0;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

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

.room-card {
  background: var(--warm-white);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(107, 58, 107, 0.1);
}

.room-img {
  overflow: hidden;
  height: 280px;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.room-card:hover .room-img img {
  transform: scale(1.04);
}

.room-info {
  padding: 32px 28px;
}

.room-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
}

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

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

.room-amenities li {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  background: var(--plum-muted);
  color: var(--plum);
  border-radius: 2px;
}

/* ---- EXPERIENCE ---- */
.experience {
  padding: 120px 0;
  background: var(--plum);
  color: #fff;
}

.experience .section-eyebrow {
  color: var(--amber-light);
}

.experience .section-title {
  color: #fff;
}

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

.exp-image-col img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 2px;
}

.exp-features {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}

.exp-feature {
  display: flex;
  gap: 20px;
}

.exp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 150, 62, 0.4);
  border-radius: 50%;
  color: var(--amber-light);
}

.exp-feature h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: #fff;
}

.exp-feature p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- LOCATION ---- */
.location {
  padding: 120px 0;
  background: var(--cream);
}

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

.location-text p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 40px;
}

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

.location-detail {
  display: flex;
  gap: 32px;
}

.ld-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 60px;
}

.ld-value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.ld-value a {
  color: var(--plum);
  transition: color 0.3s var(--ease);
}

.ld-value a:hover {
  color: var(--amber);
}

.location-map {
  height: 480px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--line-light);
}

/* ---- CONTACT ---- */
.contact {
  padding: 120px 0;
  background: var(--warm-white);
}

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

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

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.contact-method:hover {
  color: var(--plum);
}

.contact-method svg {
  color: var(--amber);
}

.contact-form {
  background: var(--cream);
  padding: 48px;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text);
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--plum);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--plum-muted);
  border-radius: 2px;
  font-size: 0.9375rem;
  color: var(--plum);
}

.form-success.show {
  display: flex;
}

/* ---- FOOTER ---- */
.footer {
  padding: 80px 0 0;
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 64px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 20px;
}

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

.footer-nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover {
  color: var(--amber-light);
}

.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s var(--ease);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-image-col {
    height: 500px;
    order: -1;
  }

  .hero-img--main {
    width: 100%;
    height: 75%;
  }

  .hero-img--accent {
    width: 50%;
    height: 35%;
  }

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

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 252, 250, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-image-col {
    height: 360px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

  .exp-image-col img {
    height: 400px;
  }

  .location-map {
    height: 300px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .about-image img,
  .exp-image-col img {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .hero-image-col {
    height: 280px;
  }

  .hero-img--accent {
    width: 60%;
    height: 40%;
  }
}
