/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@300;400;500&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: #2C2416;
  background: #FDF8F0;
  line-height: 1.7;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout ── */
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
section + section { border-top: 1px solid #E8DDD0; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 248, 240, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E8DDD0;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; }
.nav-title span { color: #7A5C3A; }
.btn {
  display: inline-block;
  background: #7A5C3A;
  color: #FDF8F0;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: #5E4428; }
.btn-outline {
  background: transparent;
  border: 2px solid #7A5C3A;
  color: #7A5C3A;
}
.btn-outline:hover { background: #7A5C3A; color: #FDF8F0; }

/* ── Hero ── */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #C4A882;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.88;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
  display: flex; align-items: flex-end;
  padding: 48px;
}
.hero-text { color: #fff; }
.hero-text h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.hero-text p { font-size: 1.1rem; opacity: 0.9; }
.hero-stats {
  display: flex; gap: 24px; margin-top: 16px;
  font-size: 0.95rem; opacity: 0.95;
}
.hero-stats span { display: flex; align-items: center; gap: 6px; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.gallery-grid img {
  width: 100%; height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.gallery-grid img:hover { opacity: 0.9; }
#gallery { display: none; } /* shown by JS once photos load */

/* ── Highlights ── */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.highlight-card {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E8DDD0;
}
.highlight-card .icon { font-size: 2rem; margin-bottom: 10px; }
.highlight-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.highlight-card p { font-size: 0.875rem; color: #6B5A45; }

/* ── Description ── */
.section-label {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #7A5C3A; font-weight: 500; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }
.prose p { margin-bottom: 16px; color: #3D2F1E; }
.prose p:last-child { margin-bottom: 0; }

/* ── Amenities ── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.amenity-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E8DDD0;
  font-size: 0.9rem;
}
.amenity-item .icon { font-size: 1.25rem; }

/* ── Info Cards ── */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.info-card {
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E8DDD0;
}
.info-card h3 { font-size: 1rem; margin-bottom: 10px; color: #7A5C3A; }
.info-card p, .info-card li { font-size: 0.9rem; color: #3D2F1E; }
.info-card ul { padding-left: 18px; }
.info-card li { margin-bottom: 6px; }

/* ── Calendar ── */
#booking { background: #fff; }
.calendar-wrapper {
  margin-top: 32px;
  display: flex; gap: 32px; flex-wrap: wrap;
}
.calendar-months {
  flex: 1; min-width: 300px;
  display: flex; gap: 24px; flex-wrap: wrap;
}
.calendar-month { flex: 1; min-width: 260px; }
.calendar-month h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.cal-nav {
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; color: #7A5C3A; padding: 4px 8px;
  border-radius: 4px; transition: background 0.15s;
}
.cal-nav:hover { background: #F0E8DA; }
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day-header {
  text-align: center; font-size: 0.75rem;
  color: #8B7355; font-weight: 500; padding: 4px 0 8px;
}
.cal-day {
  text-align: center; padding: 6px 2px;
  border-radius: 6px; font-size: 0.85rem;
  cursor: pointer; transition: all 0.15s;
  min-height: 48px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.cal-day .day-num { font-weight: 500; line-height: 1; }
.cal-day .day-price { font-size: 0.65rem; color: #7A5C3A; margin-top: 3px; }
.cal-day.available:hover { background: #F0E8DA; }
.cal-day.selected { background: #7A5C3A; color: #fff; }
.cal-day.selected .day-price { color: #D4BC9A; }
.cal-day.in-range { background: #EDE0CE; }
.cal-day.blocked {
  color: #C4B89A; cursor: not-allowed;
  text-decoration: line-through;
}
.cal-day.past { color: #D4C4A8; cursor: not-allowed; }
.cal-day.today { font-weight: 700; }
.cal-day.empty { cursor: default; }

.booking-summary {
  width: 280px; min-width: 240px;
  padding: 24px;
  background: #FDF8F0;
  border: 1px solid #E8DDD0;
  border-radius: 12px;
  align-self: flex-start;
  position: sticky; top: 80px;
}
.booking-summary h3 { font-size: 1.1rem; margin-bottom: 16px; }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.9rem; margin-bottom: 10px;
}
.summary-row.total { font-weight: 600; border-top: 1px solid #E8DDD0; padding-top: 10px; margin-top: 4px; }
.summary-placeholder { color: #8B7355; font-size: 0.9rem; font-style: italic; }
#inquire-btn { width: 100%; margin-top: 16px; padding: 14px; font-size: 1rem; }

/* ── Inquiry Form ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: #5A4430; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 1px solid #D4C4A8;
  border-radius: 6px;
  font-family: inherit; font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: #7A5C3A;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit { margin-top: 8px; }
.hidden { display: none; }
.success-msg {
  padding: 16px 20px;
  background: #EAF4EA;
  border: 1px solid #A8D5A8;
  border-radius: 8px;
  color: #2D5A2D;
  margin-top: 16px;
  display: none;
}

/* ── Payment ── */
.payment-options {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 28px;
}
.payment-card {
  flex: 1; min-width: 200px;
  padding: 24px;
  background: #fff;
  border: 1px solid #E8DDD0;
  border-radius: 12px;
  text-align: center;
}
.payment-card .icon { font-size: 2rem; margin-bottom: 10px; }
.payment-card h3 { font-size: 1rem; margin-bottom: 6px; }
.payment-card p { font-size: 0.875rem; color: #6B5A45; }
.payment-card a { color: #7A5C3A; font-weight: 500; }

/* ── Location ── */
.location-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
.location-info p { margin-bottom: 12px; font-size: 0.95rem; }
.location-info strong { color: #5A4430; }
.map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E8DDD0;
}

/* ── Footer ── */
footer {
  background: #2C2416;
  color: #C4A882;
  padding: 40px 24px;
  text-align: center;
  font-size: 0.875rem;
}
footer a { color: #C4A882; }
footer p + p { margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-overlay { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .location-details { grid-template-columns: 1fr; }
  .calendar-wrapper { flex-direction: column; }
  .booking-summary { width: 100%; position: static; }
  .hero-stats { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 480px) {
  section { padding: 48px 0; }
  .highlights { grid-template-columns: 1fr 1fr; }
}
