:root {
  color-scheme: light;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  --background: linear-gradient(180deg, #fbf7f0 0%, #f2e3c9 100%);
  --surface: #ffffff;
  --surface-soft: #f6f1ea;
  --foreground: #2e2a23;
  --muted: #6b6459;
  --border: #ded4c7;
  --primary: #8d5f29;
  --secondary-dark: #a87a3b;
  --primary-soft: #f5ebe0;
  --accent: #c28f3d;
  --accent-alt: #b99452;
  --accent-dark: #8d5c28;
  --surface-alt: #fff4ea;
  --shadow: 0 30px 80px rgba(112, 90, 62, 0.12);
  --shadow-soft: 0 22px 60px rgba(112, 90, 62, 0.1);
  --radius: 28px;
  --footer-bg: var(--surface-soft);
  --header-bg: rgba(251, 247, 240, 0.95);
  --on-dark: #ffffff;
  --footer-foreground: var(--foreground);
  --badge-bg: rgba(255, 255, 255, 0.95);
  --badge-text: var(--foreground);
  --badge-icon-bg: rgba(194, 143, 61, 0.16);
  --badge-icon-color: var(--primary);
}

:root.dark-mode {
  --background: linear-gradient(180deg, #141312 0%, #0d0c0b 100%);
  --surface: #2d2925;
  --surface-soft: #3a3632;
  --foreground: #f0ebe3;
  --muted: #a8a39b;
  --border: #4a4540;
  --primary: #d4a574;
  --secondary-dark: #c9964f;
  --primary-soft: #3a3632;
  --accent: #e8b85a;
  --accent-alt: #dda647;
  --accent-dark: #c9964f;
  --surface-alt: #3a3632;
  --footer-bg: var(--surface);
  --header-bg: rgba(8, 8, 8, 0.9);
  --footer-foreground: #f5f5f5;
  --badge-bg: rgba(45, 41, 37, 0.95);
  --badge-text: var(--foreground);
  --badge-icon-bg: rgba(212, 165, 116, 0.2);
  --badge-icon-color: var(--accent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  overflow-x: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(222, 212, 199, 0.7);
}

/* Force high-contrast header for readability */
.header {
  /* use theme variable for header background and color */
  background: var(--header-bg);
  color: var(--foreground);
  border-bottom: 1px solid rgba(222, 212, 199, 0.7);
}

.dark-mode .header {
  background: var(--header-bg);
  color: var(--foreground);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo,
.brand-logo-small {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-logo-small {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand-name,
.brand-subtitle {
  color: inherit;
}

.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--foreground);
  transition: color 0.18s ease, background 0.18s ease;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.18rem 0.5rem;
  border-radius: 8px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}

.nav-links a:focus,
.nav-links a:focus-visible {
  outline: 2px solid rgba(194,143,61,0.18);
  outline-offset: 2px;
  background: rgba(255,255,255,0.03);
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.theme-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: inherit;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  border-width: 2px;
  background: rgba(255,255,255,0.02);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  color: var(--accent);
}

/* Ensure brand and subtitle are visible on dark header */
.header .brand-name,
.header .brand-subtitle {
  color: inherit !important;
}

.header .brand-subtitle {
  color: var(--muted) !important;
  font-weight: 600;
  font-size: 0.75rem;
}

.header .nav-links a:hover {
  color: var(--accent);
}
/* end outline adjustments (removed) */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 600;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.button-secondary {
  border: 1px solid rgba(194, 143, 61, 0.3);
  background: var(--surface-alt);
}

.section-outer {
  padding: 4.5rem 1.5rem;
}

.section-content {
  max-width: 1180px;
  margin: 0 auto;
}

.section-grid,
.hero-grid,
.breakfast-grid,
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.section-grid.single-column {
  grid-template-columns: 1fr;
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
}

.hero-copy {
  max-width: 640px;
}

.badge,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(194, 143, 61, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.section-label-light {
  color: #f5ece2;
  background: rgba(255, 255, 255, 0.12);
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 1.25rem;
}

h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 3vw, 3.7rem);
  line-height: 1.05;
}

h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

p {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-review {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.stars,
.review-stars {
  color: var(--accent);
  letter-spacing: 0.1em;
}

.hero-image-card {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}

.hero-image-card img {
  width: 100%;
  max-height: 520px;
  min-height: 360px;
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: var(--badge-bg);
  border: 1px solid rgba(222, 212, 199, 0.85);
  color: var(--badge-text);
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--badge-icon-bg);
  color: var(--badge-icon-color);
  font-size: 1.1rem;
}

.hero-badge-time {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--badge-text);
  opacity: 0.85;
}

.hero-badge-status-closed {
  color: #c0392b;
}

.hero-badge-status-open {
  color: var(--primary);
}

.section-secondary {
  background: linear-gradient(180deg, rgba(220, 200, 170, 0.95), rgba(210, 185, 150, 0.95));
}

.dark-mode .section-secondary {
  background: linear-gradient(180deg, rgba(50, 45, 40, 0.95), rgba(45, 40, 35, 0.95));
}

.section-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-alt));
  color: #fff;
}

.section-primary h2,
.section-primary p,
.section-primary .section-label-light {
  color: #f8efe6;
}

.section-primary .feature-list li {
  color: #f8efe6;
}

.section-image {
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  max-height: 360px;
  height: auto;
}

.section-image img,
.breakfast-image img,
.food-card img,
.gallery-item img {
  width: 100%;
  height: auto;
  max-height: 360px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-text {
  display: grid;
  gap: 1.3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.cards-grid,
.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2rem;
}

.food-card {
  background: var(--surface);
  border-radius: 2rem;
  overflow: visible;
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.food-card:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 143, 61, 0.55);
  box-shadow: 0 24px 50px rgba(140, 85, 30, 0.18);
}

.food-card img {
  min-height: 160px;
  display: block;
  width: 100%;
  border-top-left-radius: 1.75rem;
  border-top-right-radius: 1.75rem;
}

.food-tag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.8rem;
  background: rgba(251, 247, 240, 0.95);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  box-shadow: 0 10px 35px rgba(46, 42, 35, 0.07);
}

.food-card h3 {
  margin-top: 1rem;
}

.food-card p {
  margin-top: 0.75rem;
  color: var(--foreground);
}

.food-card > img {
  width: 100%;
}

.food-card .food-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.food-card {
  position: relative;
}

.breakfast-grid {
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5d1a0;
}

.breakfast-image {
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 240px;
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 1;
  min-height: 320px;
}

.section-intro {
  max-width: 100%;
  overflow: visible;
  word-wrap: break-word;
}

.section-intro h2 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-intro p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.center-text {
  text-align: center;
}

.reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2.5rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card p {
  margin: 0;
  color: var(--foreground);
}

.review-author {
  display: grid;
  gap: 0.25rem;
}

.review-author span {
  font-weight: 700;
}

.review-author small {
  color: var(--muted);
}

.contact-grid {
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 2.5rem;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 1.35rem;
}

.contact-card strong {
  display: block;
  margin-bottom: 0.65rem;
}

.contact-card address {
  font-style: normal;
  white-space: pre-line;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.map-frame {
  min-height: 420px;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.footer {
  /* Strong dark footer for high contrast in light mode; stays dark in dark mode */
  background: var(--footer-bg);
  color: var(--footer-foreground);
  padding: 3rem 1.5rem;
}

.dark-mode .footer {
  background: var(--footer-bg);
  color: var(--footer-foreground);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-text {
  max-width: 320px;
  color: var(--footer-foreground);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
  color: var(--footer-foreground);
}

.footer-list a {
  color: var(--footer-foreground);
  transition: color 0.18s ease, background 0.18s ease;
  padding: 0.18rem 0.35rem;
  border-radius: 6px;
  font-weight: 600;
}

.footer-list a:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.02);
}

.footer-link {
  color: var(--footer-foreground);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--footer-foreground);
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.social-links a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(194, 143, 61, 0.18);
  color: var(--footer-foreground);
}

.footer-bottom {
  max-width: 1180px;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--footer-foreground);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.28);
  font-size: 1.4rem;
  z-index: 30;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .breakfast-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-image-card {
    width: 100%;
    max-width: none;
  }

  .hero-badge {
    display: flex;
  }

  .cards-grid,
  .reviews-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-large {
    grid-column: span 1;
    grid-row: auto;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

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