/* ===== Casa Bucurr - Design tokens ===== */
:root {
  --brown-900: #2b1f17;
  --brown-800: #3c2c20;
  --brown-700: #5a4130;
  --brown-600: #7a5741;
  --brown-400: #a9805f;
  --cream-50: #faf7f1;
  --cream-100: #f1ebe0;
  --cream-200: #e2d6c4;
  --accent-500: #b1462c;
  --accent-600: #8f3620;
  --ink: #261c14;
  --muted: #786c60;
  --white: #ffffff;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(38, 28, 20, 0.08);
  --shadow-md: 0 8px 20px rgba(38, 28, 20, 0.12);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; color: var(--brown-900); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 6px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--accent-600);
  margin-bottom: 8px;
}
.center { text-align: center; }

.section-mark {
  width: 26px; height: 11px; display: block; margin-bottom: 12px;
  fill: none; stroke: var(--accent-500); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.section-mark.center { margin-left: auto; margin-right: auto; }
.section-intro { max-width: 560px; margin: 0 0 40px; color: var(--muted); }
.text-muted { color: var(--muted); font-size: .88rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 3px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-500); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-600); }
.btn-outline { border-color: var(--brown-700); color: var(--brown-700); }
.btn-outline:hover { background: var(--brown-700); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--brown-900); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-200);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: none;
  transition: transform 0.3s ease;
}
.logo:hover .logo-mark {
  transform: scale(1.05);
}
.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--brown-900);
  text-transform: uppercase;
}
.logo-word strong {
  color: var(--accent-600);
  font-weight: 700;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-600);
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-logo .logo-word {
  color: #FAF6F0;
}
.footer-logo .logo-sub {
  color: #D97706;
}


.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 700; font-size: .92rem; color: var(--brown-800);
  position: relative; padding: 4px 0;
}
.main-nav a:hover { color: var(--accent-600); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.phone-link { font-weight: 700; font-size: .9rem; color: var(--brown-800); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--brown-900); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(78vh, 620px);
  display: flex; align-items: center;
  /* layers: left-side darkening (text sits here) + top-bottom gradient for contrast,
     then your real photo, then a brown pattern that shows through if the photo is missing */
  color: var(--white);
  overflow: hidden;
  background: var(--brown-900);
}
/* photo layer, graded with a faint warm tone so it sits in the same palette as the terracotta accent */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    url('images/hero.jpg'),
    repeating-linear-gradient(135deg, var(--brown-800) 0px, var(--brown-800) 2px, var(--brown-700) 2px, var(--brown-700) 4px);
  background-size: cover, auto;
  background-position: center, center;
  background-repeat: no-repeat, repeat;
  filter: sepia(.1) saturate(1.15) contrast(1.03) brightness(.97) hue-rotate(-3deg);
}
/* contrast + brand-tinted overlay, sits above the photo so hero text stays readable */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(177,70,44,.28), transparent 60%),
    linear-gradient(100deg, rgba(18,12,8,.8) 0%, rgba(18,12,8,.45) 42%, rgba(18,12,8,.15) 65%),
    linear-gradient(180deg, rgba(30,20,14,.55), rgba(28,18,13,.82));
}
.hero-content { position: relative; z-index: 2; padding: 60px 24px; }
.hero-stars { color: var(--accent-500); letter-spacing: 4px; font-size: 1.1rem; margin-bottom: 10px; }
.hero h1 { color: var(--white); font-weight: 700; font-size: clamp(2.6rem, 7vw, 4.5rem); margin-bottom: 10px; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--cream-200); max-width: 560px; margin-bottom: 18px; }
.hero-meta { margin-bottom: 26px; }
.meta-item { font-size: .95rem; color: var(--cream-100); opacity: .9; }

.hero-badges { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; flex-wrap: wrap; }
.score-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px; padding: 10px 16px;
}
.score-number {
  background: var(--accent-500); color: var(--white); font-weight: 800;
  border-radius: 8px; padding: 6px 10px; font-size: 1.1rem;
}
.score-text { font-size: .85rem; line-height: 1.3; }
.hero-badge-text { display: flex; flex-direction: column; font-size: .88rem; color: var(--cream-100); }
.hero-badge-text strong { color: var(--white); font-size: .95rem; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* facts folded into the hero itself, instead of a separate "trust bar" block */
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: var(--cream-100); font-size: .88rem; font-weight: 600;
}
.fact { display: flex; align-items: center; gap: 10px; }
.fact-icon { width: 15px; height: 15px; }

/* ===== Icon badges - small tinted/solid circles behind the line icons ===== */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 50%;
  width: 44px; height: 44px;
  background: rgba(177, 70, 44, .12);
}
.icon-badge .amenity-icon { color: var(--accent-600); }
.icon-badge-sm { width: 32px; height: 32px; }
.icon-badge-dark { width: 34px; height: 34px; background: var(--accent-500); }
.icon-badge-dark .fact-icon { color: var(--cream-50); }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--cream-100); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.distance-list { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.distance-list li { font-size: .92rem; color: var(--brown-800); display: flex; align-items: center; gap: 10px; }
.distance-list strong { margin-left: auto; color: var(--accent-600); white-space: nowrap; }
.distance-icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent-600); }

.about-image, .gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-200), var(--brown-400));
  box-shadow: var(--shadow-md);
}
.about-image { aspect-ratio: 4/5; }
.about-image img, .gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.06) saturate(1.08) contrast(1.02) brightness(1.01);
}
.img-placeholder-label {
  position: absolute; inset: auto 0 0 0;
  background: rgba(44,30,23,.75); color: var(--cream-100);
  font-size: .72rem; text-align: center; padding: 6px 4px;
  opacity: 0;
}

/* Shown only when the referenced photo file is actually missing */
.img-missing::before {
  content: "🏡";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; opacity: .5;
}
.img-missing .img-placeholder-label { opacity: 1; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item { border: none; cursor: pointer; padding: 0; }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }

/* ===== Amenities ===== */
.amenities-list {
  margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px;
}
.amenity-row { display: flex; align-items: center; gap: 18px; padding: 24px 0; }
.amenity-row:nth-child(n+3) { border-top: 1px solid var(--cream-200); }
.amenity-icon { width: 22px; height: 22px; flex-shrink: 0; }
.amenity-row h3 { margin-bottom: 3px; }
.amenity-row p { font-size: .86rem; color: var(--muted); }

/* ===== Location ===== */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.location-rating { margin: 14px 0 22px; font-weight: 700; color: var(--brown-800); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); line-height: 0; }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.review-platform-card {
  background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.platform-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.platform-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.platform-name.booking { color: #003580; }
.platform-name.google { background: linear-gradient(90deg,#4285F4,#EA4335 25%,#FBBC05 50%,#34A853 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.platform-score { text-align: right; font-size: .82rem; color: var(--muted); }
.platform-score-number { display: block; font-size: 1.4rem; font-weight: 800; color: var(--brown-900); }

.subscore-row { display: flex; align-items: center; gap: 10px; font-size: .85rem; margin-bottom: 18px; color: var(--brown-800); }
.subscore-bar { flex: 1; height: 6px; background: var(--cream-200); border-radius: 4px; overflow: hidden; }
.subscore-bar div { height: 100%; background: var(--accent-500); }

.review-platform-card blockquote {
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
  color: var(--brown-800); border-left: 3px solid var(--accent-500);
  padding-left: 16px; margin-bottom: 10px;
}
.review-author { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.review-platform-card p { margin-bottom: 20px; color: var(--muted); font-size: .92rem; }
.review-platform-card .btn { margin-top: auto; align-self: flex-start; }

.google-reviews { margin-bottom: 20px; }
.google-review-item { padding: 14px 0; border-top: 1px solid var(--cream-200); }
.google-review-item:first-child { border-top: none; padding-top: 0; }
.google-review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .9rem; }
.google-review-head strong { color: var(--brown-900); }
.google-review-rating { color: var(--accent-500); font-size: .8rem; white-space: nowrap; }
.google-review-text { font-size: .87rem; color: var(--brown-800); margin: 4px 0 !important; line-height: 1.5; }
.google-review-meta { font-size: .76rem; color: var(--muted); }

.booking-review-rating {
  background: #003580; color: var(--white); font-weight: 800; font-size: .8rem;
  border-radius: 5px; padding: 2px 8px; white-space: nowrap;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--brown-800), var(--brown-900));
  color: var(--white); padding: 80px 0; text-align: center;
}
.cta-content h2 { color: var(--white); }
.cta-content p { color: var(--cream-100); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-content .hero-cta { justify-content: center; }

/* ===== Footer ===== */
.site-footer { background: var(--brown-900); color: var(--cream-100); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-logo { color: var(--white); margin-bottom: 12px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer p { font-size: .88rem; margin-bottom: 8px; color: var(--cream-200); }
.site-footer a:hover { color: var(--accent-500); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0 30px;
  color: var(--cream-200);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}


/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(20,13,9,.92);
  display: none; align-items: center; justify-content: center; z-index: 1000; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; filter: sepia(.06) saturate(1.08) contrast(1.02) brightness(1.01); }
.lightbox-close {
  position: absolute; top: 20px; right: 30px; background: none; border: none;
  color: var(--white); font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; aspect-ratio: 16/9; }
  .amenities-list { grid-template-columns: 1fr; }
  .amenity-row:nth-child(n+2) { border-top: 1px solid var(--cream-200); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 10px; }
  .phone-link { display: none; }
  /* the fixed mobile-book-bar already covers booking - avoid a duplicate, overflow-causing button here */
  .header-actions > .btn-primary { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .distance-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* on a narrow single-column layout, asymmetric headers just look unintentional -
     center the short header elements, keep paragraphs/lists left-aligned for readability */
  .section > .container > .eyebrow,
  .section > .container > h2,
  .section > .container > .section-intro,
  .about-text .eyebrow, .about-text h2,
  .location-grid .eyebrow, .location-grid h2 {
    text-align: center;
  }
  .section-mark { margin-left: auto; margin-right: auto; }

  body { padding-bottom: 70px; }
  .mobile-book-bar {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--cream-50); border-top: 1px solid var(--cream-200);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px rgba(44,30,23,.12);
  }
  .mobile-book-bar .btn { flex: 1; justify-content: center; }
  .mobile-book-call {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
    background: var(--cream-100); border: 1px solid var(--cream-200); font-size: 1.15rem;
  }
}

.mobile-book-bar { display: none; }

/* Mobile nav open state */
.main-nav.open {
  display: flex; flex-direction: column;
  position: absolute; top: 76px; left: 0; right: 0;
  background: var(--cream-50); padding: 20px 24px; gap: 16px;
  border-bottom: 1px solid var(--cream-200); box-shadow: var(--shadow-sm);
}


.logo-custom-img {
  height: 56px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
  filter: none;
  transition: transform 0.25s ease;
  display: block;
}
.logo:hover .logo-custom-img {
  transform: translateY(-1px) scale(1.03);
  filter: none;
}
.footer-logo-custom {
  height: 70px;
  max-width: 180px;
  filter: none;
}


