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

:root {
  --bg: #ffffff;
  --bg-alt: #f7f6f4;
  --text: #1a1a1a;
  --muted: #888888;
  --accent: #b5001f;
  --accent-dark: #8a0018;
  --border: #e4e0da;
  --nav-bg: #ffffff;
  --footer-bg: #111111;
  --footer-text: #aaaaaa;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.65;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ─── HEADER ─────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}

.header-top {
  padding: 0.9rem 0;
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.site-logo {
  height: 52px;
  width: auto;
}

/* logo placeholder SVG rendered inline if no image */
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.logo-text span { color: var(--accent); }

.main-nav {
  border-top: 1px solid var(--border);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.main-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  transition: color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav a.active {
  border-bottom: 2px solid var(--accent);
}

/* ─── HERO ───────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 72vh;
  min-height: 460px;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Fallback gradient when no photo */
.hero-bg.no-photo {
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 50%, #3a3030 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.15;
  max-width: 700px;
}

.hero p {
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.88);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
}

/* ─── SECTIONS ────────────────────────────────────────────── */

.section {
  padding: 4rem 0;
}

.section + .section {
  padding-top: 0;
}

.bg-alt {
  background: var(--bg-alt);
}

/* ─── INTRO ───────────────────────────────────────────────── */

.intro {
  text-align: center;
  padding: 4.5rem 0;
}

.intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  margin: 0 0 1rem;
}

.intro p {
  max-width: 660px;
  margin: 0 auto;
  color: #555;
  font-size: 1.05rem;
}

/* ─── CATEGORY CARDS ──────────────────────────────────────── */

.featured-categories {
  padding-top: 0;
  padding-bottom: 4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.card {
  display: block;
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  background: #fff;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  color: inherit;
}

.card-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* ─── CTA BAND ────────────────────────────────────────────── */

.cta-band {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.cta-band p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ─── PAGE INTERIOR ───────────────────────────────────────── */

.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.section p { margin-top: 0; }

/* ─── SERVICES LIST ───────────────────────────────────────── */

.service-block {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.service-block:first-child { border-top: none; }

/* ─── CONTACT ─────────────────────────────────────────────── */

.contact-info p {
  margin: 0.3rem 0;
  font-size: 1rem;
}

.contact-info strong { font-weight: 600; }

.phone-link {
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin: 0.2rem 0 1.2rem;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  gap: 0.35rem;
  color: #555;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  background: #fff;
  font: 300 1rem 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

/* ─── GALLERY ─────────────────────────────────────────────── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-grid img:hover { opacity: 0.88; }

.gallery-empty {
  grid-column: 1 / -1;
  padding: 3rem;
  text-align: center;
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-empty code {
  font-size: 0.85rem;
  background: var(--bg-alt);
  padding: 0.1rem 0.4rem;
}

/* ─── LIGHTBOX ────────────────────────────────────────────── */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-close { top: 1.2rem; right: 1.5rem; font-size: 2.2rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ─── FOOTER ──────────────────────────────────────────────── */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem 0;
  margin-top: 4rem;
}

.footer-inner {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 3rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-inner p { margin: 0; }

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
}
.footer-logo span { color: var(--accent); }

/* ─── MUTED ───────────────────────────────────────────────── */

.muted { color: var(--muted); font-size: 0.88rem; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { height: 65vh; }
  .main-nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0; }
  .main-nav a { padding: 0.6rem 0.75rem; white-space: nowrap; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
