/* ============================================
   SABATTUS VIEW INN — STYLESHEET
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #2D2D2D;
  --charcoal-light: #4A4A4A;
  --coral: #E07A5F;
  --coral-dark: #C96A52;
  --coral-light: #F2A894;
  --cream: #FDF6F0;
  --cream-dark: #F5EDE6;
  --sand: #E8DDD4;
  --white: #FFFFFF;
  --sky: #D4E8F0;
  --sage: #C5D5C8;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(45,45,45,0.06);
  --shadow-md: 0 8px 30px rgba(45,45,45,0.10);
  --shadow-lg: 0 20px 60px rgba(45,45,45,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--coral); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 500;
}
.skip-link:focus { top: 16px; }

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

/* --- TYPOGRAPHY --- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

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

.section-desc {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  max-width: 560px;
  line-height: 1.7;
}

.light .section-eyebrow,
.light .section-title,
.light .section-desc { color: var(--white); }
.light .section-eyebrow { opacity: 0.85; }
.light .section-desc { opacity: 0.85; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(224,122,95,0.35);
}
.btn-coral:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,122,95,0.4);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(253,246,240,0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  transition: var(--transition);
}
.nav.scrolled .nav-logo { color: var(--charcoal); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
}
.nav-menu a:not(.btn):hover { color: var(--white); }
.nav.scrolled .nav-menu a:not(.btn):hover { color: var(--charcoal); }
.nav.scrolled .nav-menu a:not(.btn) { color: var(--charcoal-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav-toggle-bar { background: var(--charcoal); }
.nav-toggle.active .nav-toggle-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/35479245/pexels-photo-35479245.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45,45,45,0.45) 0%,
    rgba(45,45,45,0.30) 50%,
    rgba(45,45,45,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title .accent { color: var(--coral-light); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

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

/* --- FEATURES BAR --- */
.features {
  background: var(--white);
  border-bottom: 1px solid var(--sand);
}
.features-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 32px;
  border-right: 1px solid var(--sand);
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--cream); }
.feature-item svg { color: var(--coral); flex-shrink: 0; }

/* --- ROOMS --- */
.rooms {
  padding: 120px 0;
  background: var(--cream);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc { margin: 0 auto; }

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

.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.room-card-img {
  overflow: hidden;
  aspect-ratio: 3/2;
}
.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.room-card:hover .room-card-img img { transform: scale(1.06); }

.room-card-body {
  padding: 32px;
}
.room-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.room-card-desc {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.room-amenities li {
  background: var(--cream);
  color: var(--charcoal-light);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
}
.room-card-body .btn { width: 100%; justify-content: center; }

/* --- ABOUT --- */
.about {
  padding: 120px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-content .section-title { margin-bottom: 24px; }
.about-content p {
  font-size: 1.05rem;
  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(--sand);
}
.stat { text-align: left; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  font-weight: 500;
}

/* --- AREA --- */
.area {
  padding: 120px 0;
  background: var(--cream);
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.area-card-img {
  overflow: hidden;
  aspect-ratio: 3/2;
}
.area-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.area-card:hover .area-card-img img { transform: scale(1.06); }
.area-card-body {
  padding: 28px;
}
.area-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.area-card-body p {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

/* --- CTA BANNER --- */
.cta-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/15801268/pexels-photo-15801268.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center center / cover no-repeat;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,45,45,0.80) 0%, rgba(224,122,95,0.60) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.cta-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- CONTACT --- */
.contact {
  padding: 120px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-desc {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item svg { color: var(--coral); flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.contact-item span,
.contact-item a {
  font-size: 1rem;
  color: var(--charcoal-light);
  line-height: 1.6;
}
.contact-item a:hover { color: var(--coral); }

/* --- FORM --- */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(224,122,95,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--charcoal-light);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success svg { color: var(--coral); margin: 0 auto 20px; }
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.form-success p {
  color: var(--charcoal-light);
  margin-bottom: 24px;
  line-height: 1.7;
}
.form-success .btn { margin: 0 auto; }

/* --- FOOTER --- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--coral-light); }
.footer-contact p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 4px;
}
.footer-contact a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-contact a:hover { color: var(--coral-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-bottom p {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .features-inner { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-right: none; border-bottom: 1px solid var(--sand); }
  .feature-item:nth-child(odd) { border-right: 1px solid var(--sand); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .area-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { color: var(--charcoal); font-size: 1.1rem; }
  .nav-menu .btn-coral { margin-left: auto; }

  .features-inner { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; }

  .rooms-grid,
  .area-grid { grid-template-columns: 1fr; }
  .area-card:last-child { grid-column: span 1; max-width: 100%; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-secondary { right: 16px; bottom: -24px; }

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

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }

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

@media (max-width: 480px) {
  .rooms-grid { gap: 24px; }
  .room-card-body { padding: 24px; }
  .about-stats { flex-direction: column; gap: 24px; }
}
