/* =========================================================
   Corner - Small Business Landing Page Template
   Themes: latte (default), garden, midnight
   Change the theme in index.html: <html data-theme="garden">
   ========================================================= */

/* ----- Theme: latte (warm cream) ----- */
:root,
[data-theme="latte"] {
  color-scheme: light;
  --bg: #faf6f1;
  --surface: #ffffff;
  --surface-alt: #f3ebe1;
  --text: #2d241e;
  --muted: #7a6a5e;
  --line: rgba(45, 36, 30, 0.12);
  --accent: #8a5a3b;
  --accent-text: #ffffff;
}

/* ----- Theme: garden (fresh green) ----- */
[data-theme="garden"] {
  color-scheme: light;
  --bg: #f5f8f3;
  --surface: #ffffff;
  --surface-alt: #e8efe4;
  --text: #1f2a1e;
  --muted: #5f6f5c;
  --line: rgba(31, 42, 30, 0.12);
  --accent: #3f7a4d;
  --accent-text: #ffffff;
}

/* ----- Theme: midnight (dark with gold) ----- */
[data-theme="midnight"] {
  color-scheme: dark;
  --bg: #0f1117;
  --surface: #171a22;
  --surface-alt: #13161d;
  --text: #f1efe9;
  --muted: #a3a09a;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #d4b06a;
  --accent-text: #15120b;
}

/* ----- Base ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: 18px; }
p { margin: 0 0 14px; }

.container { width: min(1080px, 100% - 40px); margin: 0 auto; }
.narrow { max-width: 680px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; }

/* ----- Buttons ----- */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-text); border: 1px solid var(--accent);
  font-weight: 600; text-decoration: none; transition: filter 0.2s, background 0.2s;
}
.btn:hover, .btn:focus-visible { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--surface-alt); filter: none; }
.btn-small { padding: 9px 16px; font-size: 14px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ----- Header ----- */
.header { position: sticky; top: 0; z-index: 10; background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.logo { font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); }

/* ----- Hero ----- */
.hero { padding: 72px 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-actions.center { justify-content: center; }
.hero-image { border-radius: 24px; border: 1px solid var(--line); }

/* ----- Sections ----- */
.section { padding: 72px 0; scroll-margin-top: 70px; }
.section-alt { background: var(--surface-alt); }
.section-cta { background: var(--surface-alt); }
.section-cta p { color: var(--muted); }

/* ----- Services ----- */
.services { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 14px; }
.service { display: flex; justify-content: space-between; gap: 16px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.service h3 { margin-bottom: 4px; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }
.price { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ----- Gallery ----- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.gallery img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--line); }

/* ----- Testimonials ----- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 28px; }
.quote { margin: 0; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 12px; font-size: 17px; }
.quote figcaption { color: var(--muted); font-size: 14px; }

/* ----- Visit ----- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.hours { margin: 20px 0 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.location { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.location p { color: var(--muted); }

/* ----- Footer ----- */
.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ----- Responsive ----- */
@media (max-width: 820px) {
  .hero-inner, .visit { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .section { padding: 56px 0; }
  .nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
