:root {
  color-scheme: light;
  --bg: #fdf7ee;
  --surface: #fffdfa;
  --text: #21423a;
  --muted: #5f726c;
  --accent: #e06b3f;
  --accent-dark: #b24c2b;
  --accent-soft: #ffd8a8;
  --accent-2: #2f7d5b;
  --border: #d9e7de;
  --shadow: 0 15px 35px rgba(33, 66, 58, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: url('assets/background.png') center center / cover fixed no-repeat;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.image-strip {
  width: 100%;
  overflow: hidden;
  height: 120px;
  background: rgba(33, 66, 58, 0.15);
}

.image-strip-track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.image-strip-track img {
  height: 120px;
  width: 210px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.site-header {
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 0 0;
}

.brand {
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 1rem 1rem;
  line-height: 1.1;
  color: var(--text);
  width: 100%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  border-top: 2px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0;
}

.site-nav a {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

.menu-toggle {
  display: none;
}

.welcome-section {
  padding: 3.5rem 0;
  background: rgba(253, 247, 238, 0.72);
  backdrop-filter: blur(2px);
}

.welcome-wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.welcome-img {
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  max-height: 500px;
  box-shadow: var(--shadow);
}

.welcome-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 1rem;
}

@media (min-width: 700px) {
  .welcome-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.hero {
  padding: 4rem 0 3rem;
  background: rgba(253, 247, 238, 0.72);
  backdrop-filter: blur(2px);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h1, h2, h3 {
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0 0 1rem;
}

.hero-copy,
.section-heading p,
.card p,
.about-grid p {
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  box-shadow: 0 10px 20px rgba(224, 107, 63, 0.2);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent-dark);
}

.hero-card,
.card {
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.section {
  padding: 3rem 0;
  background: rgba(253, 247, 238, 0.65);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.site-footer {
  background: rgba(33, 66, 58, 0.88);
  color: #fdf7ee;
  padding: 3rem 0 2rem;
  backdrop-filter: blur(8px);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-grid > div:first-child h3 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
  line-height: 1.1;
}

.footer-grid > div:first-child p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(253, 247, 238, 0.75);
  margin: 0;
}

.site-footer a {
  color: #fdf7ee;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-credit {
  background: rgba(15, 35, 30, 0.92);
  color: #a8c4b8;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
}

.footer-credit p {
  margin: 0;
}

.footer-credit a {
  color: #ffd8a8;
  text-decoration: underline;
}

.page-content {
  min-height: 70vh;
}

.about-grid {
  display: grid;
  gap: 1.25rem;
}

.gallery-card {
  min-height: 180px;
  background: linear-gradient(135deg, #ffe8c8 0%, #f3b96f 100%);
}

.gallery-figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  cursor: pointer;
}

.gallery-figure:hover .gallery-img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.gallery-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-figure figcaption {
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-grid.gallery-tiles {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

@media (min-width: 500px) {
  .card-grid.gallery-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.gallery-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
}

.lightbox img {
  max-width: calc(100% - 6rem);
  max-height: 80vh;
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: #fff;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-counter {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.booking-wrap {
  display: grid;
  gap: 1.5rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.85);
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent-2);
  border-color: transparent;
}

.booking-form .btn {
  align-self: flex-start;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.contact-aside .card ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-aside .card a {
  color: var(--accent-2);
  font-weight: 600;
}

@media (min-width: 700px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .booking-wrap {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

.about-quote {
  border-left: 4px solid var(--accent-2);
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic;
  color: var(--text);
  background: rgba(255,255,255,0.5);
  border-radius: 0 0.75rem 0.75rem 0;
  backdrop-filter: blur(4px);
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-card-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.about-card h3 {
  margin: 0;
}

.about-card p {
  color: var(--muted);
  margin: 0;
}

.about-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.room-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.room-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.room-card-body {
  padding: 1.25rem;
}

.photo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.photo-item {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  max-height: 420px;
  box-shadow: var(--shadow);
}

@media (min-width: 700px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 700px) {
  .site-nav a {
    font-size: 0.9rem;
  }

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

  .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .card-grid.three-up {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

/* Review page styles */
.reviews-wrap {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-form h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reviews-list h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
}

.review-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  backdrop-filter: blur(2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.review-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.review-meta {
  margin: 0.25rem 0 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.review-rating {
  font-size: 1rem;
  white-space: nowrap;
}

.review-text {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (min-width: 700px) {
  .reviews-wrap {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }

  .reviews-list {
    order: 2;
  }

  .review-form {
    order: 1;
  }
}
