/* Structural stylesheet shared by all themes.
   Themes override the CSS custom properties + fonts in theme.css. */

:root {
  --bg: #ffffff;
  --surface: #f6f6f6;
  --text: #1c1c1c;
  --muted: #666;
  --accent: #b05a2a;
  --accent-contrast: #ffffff;
  --heading-font: Georgia, serif;
  --body-font: system-ui, sans-serif;
  --gallery-cols: 3;
  --radius: 8px;
  --hero-overlay: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body-font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2 { font-family: var(--heading-font); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 1.2rem; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding: 4rem 0; }

/* Top bar */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  padding: 1rem 0;
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logotype {
  font-family: var(--heading-font); font-size: 1.3rem; font-weight: 700;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.logo-img {
  height: 48px; width: auto;
  background: rgba(255,255,255,.88); padding: 5px 12px; border-radius: 8px;
  box-sizing: content-box;
}
.topnav { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.topnav a {
  color: #fff; text-decoration: none; font-size: .92rem; font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.topnav a:hover { text-decoration: underline; }

/* Hero */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  text-align: center;
}
.hero-overlay { position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-content { position: relative; color: #fff; padding: 6rem 1.25rem 3rem; max-width: 820px; }
.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  margin: 1rem 0 0; text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.rating-badge { margin-top: .9rem; font-size: .95rem; opacity: .95; }
.btn {
  display: inline-block; padding: .85rem 2.1rem;
  background: var(--accent); color: var(--accent-contrast);
  text-decoration: none; font-weight: 600; border-radius: var(--radius);
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); opacity: .93; }
.btn-outline {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.85);
}
.hero-ctas {
  margin-top: 1.8rem;
  display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap;
}
.nav-cta { padding: .5rem 1.2rem; font-size: .9rem; }

/* About */
.about { background: var(--bg); text-align: center; }
.about-text { font-size: 1.12rem; color: var(--text); }

/* Gallery */
.gallery-section { background: var(--surface); }
.gallery {
  display: grid;
  grid-template-columns: repeat(var(--gallery-cols), 1fr);
  gap: 14px;
}
.gallery-item { overflow: hidden; border-radius: var(--radius); }
.gallery-item img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform .3s ease;
}
.gallery-item img:hover { transform: scale(1.04); }

/* Testimonials */
.testimonial-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.testimonial {
  background: var(--surface); border-left: 4px solid var(--accent);
  padding: 1.4rem 1.5rem; border-radius: var(--radius);
  font-size: 1.02rem;
}
.testimonial-note { margin-top: 1rem; font-size: .8rem; color: var(--muted); }

/* Location */
.location { background: var(--surface); }
.location-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: minmax(260px, 380px) 1fr;
  align-items: start;
}
.info-card { background: var(--bg); padding: 1.6rem; border-radius: var(--radius); }
.info-line { margin-bottom: 1.1rem; }
.info-line a { color: var(--accent); text-decoration: none; }
.hours-list { list-style: none; margin-top: .4rem; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .18rem 0; font-size: .95rem; border-bottom: 1px dashed rgba(0,0,0,.08);
}
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* CTA band + footer */
.cta-band {
  background: var(--accent); color: var(--accent-contrast);
  text-align: center; padding: 3.4rem 0;
}
/* Higher specificity than the themes' h2 accent color: on the accent-colored
   band the heading must use the contrast color or it disappears. */
.cta-band h2 { margin-bottom: 1.4rem; color: var(--accent-contrast); }
.btn-invert { background: var(--accent-contrast); color: var(--accent); margin-top: 0; }
.footer { background: var(--text); color: #fff; text-align: center; padding: 2rem 0; font-size: .9rem; }
.footer-note { opacity: .6; font-size: .8rem; margin-top: .3rem; }

/* Responsive */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 2.8rem 0; }
  .hero { min-height: 72vh; }
  .topbar-inner { flex-direction: column; gap: .5rem; }
  .topnav { gap: 1rem; justify-content: center; }
  .nav-cta { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item img { height: 210px; }
}
