/* ============================================
   WERNER GUEST HOUSE — STYLESHEET
   ============================================ */

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

:root {
  --green-dark: #1B4332;
  --green-mid: #2D5A3D;
  --green-light: #52796F;
  --green-pale: #84A98C;
  --green-faint: #CAD2C5;
  --cream: #F7F5F0;
  --cream-light: #FAFAF7;
  --white: #FFFFFF;
  --text-dark: #1A2E23;
  --text-mid: #3D5A47;
  --text-light: #6B8F7B;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.06);
  --shadow-md: 0 8px 30px rgba(27, 67, 50, 0.10);
  --shadow-lg: 0 16px 50px rgba(27, 67, 50, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

em {
  font-style: italic;
  color: var(--green-mid);
}

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

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

.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(247, 245, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.08);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(247, 245, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.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: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green-dark);
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green-mid);
  color: var(--cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
}

.nav-logo-text {
  letter-spacing: -0.01em;
}

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

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-mid);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-menu a:hover {
  color: var(--green-dark);
}

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

.nav-cta {
  background: var(--green-mid);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition) !important;
}

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

.nav-cta:hover {
  background: var(--green-dark);
  color: var(--cream) !important;
  transform: translateY(-1px);
}

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

.nav-toggle-line {
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.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: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 72px;
  background: linear-gradient(160deg, var(--cream) 0%, #EEF2EB 50%, var(--cream-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(132, 169, 140, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 90, 61, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-text {
  max-width: 540px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-pale);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero h1 em {
  color: var(--green-mid);
  font-weight: 400;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
}

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

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-dark);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

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

.hero-img-main {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.hero-img-float {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
}

.hero-img-float img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hero-float-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(27, 67, 50, 0.88);
  backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
}

.hero-wave {
  margin-top: auto;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--green-mid);
  color: var(--cream);
  border-color: var(--green-mid);
}

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

.btn-outline {
  background: transparent;
  color: var(--green-mid);
  border-color: var(--green-pale);
}

.btn-outline:hover {
  background: var(--green-pale);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

/* ============================================
   SECTION EYEBROW
   ============================================ */
.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-pale);
  margin-bottom: 14px;
}

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

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   INTRO
   ============================================ */
.intro {
  padding: 100px 0;
  background: var(--cream-light);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 24px;
}

.intro-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

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

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

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

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

.room-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.room-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--green-mid);
  color: var(--cream);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.room-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.room-card-body > p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 18px;
}

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

.room-amenities li {
  background: var(--cream);
  color: var(--text-mid);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ============================================
   EXPERIENCE / FEATURES
   ============================================ */
.experience {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(132, 169, 140, 0.12);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(132, 169, 140, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

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

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.location-desc {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.location-detail svg {
  color: var(--green-pale);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-detail strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.location-detail span,
.location-detail a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.location-detail a:hover {
  color: var(--green-mid);
  text-decoration: underline;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 380px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta .section-eyebrow {
  color: var(--green-faint);
}

.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 18px;
}

.cta p {
  color: rgba(232, 240, 228, 0.8);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--cream-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

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

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-method strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-method span {
  font-size: 0.88rem;
  color: var(--text-light);
}

.contact-method a:hover {
  color: var(--green-mid);
  text-decoration: underline;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--green-faint);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--cream-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-pale);
  box-shadow: 0 0 0 3px rgba(132, 169, 140, 0.15);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--green-faint);
}

.form-success {
  display: none;
  background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
  color: var(--green-dark);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(45, 90, 61, 0.15);
  text-align: center;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-dark);
  color: rgba(232, 240, 228, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 14px;
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-faint);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(232, 240, 228, 0.6);
  transition: color var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-contact a {
  color: rgba(232, 240, 228, 0.6);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(232, 240, 228, 0.4);
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-image {
    height: 480px;
  }

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

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(247, 245, 240, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(45, 90, 61, 0.08);
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 40px;
  }

  .hero-image {
    display: none;
  }

  .hero-stats {
    gap: 28px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .location-map {
    min-height: 260px;
  }

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

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

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

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

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

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

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

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

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