/* =====================================================
   CSS Custom Properties
   ===================================================== */
:root {
  --color-bg:         #f8f5f0;
  --color-surface:    #ffffff;
  --color-border:     #e0dbd4;
  --color-text:       #2c2424;
  --color-text-muted: #6b6059;
  --color-accent:     #b5651d;
  --color-accent-dk:  #8b4513;
  --color-accent-lt:  #f4e4d4;
  --color-nav-bg:     #1e1410;
  --color-nav-text:   #f0ebe4;
  --color-footer-bg:  #1e1410;
  --color-footer-text:#c8bdb6;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius:    4px;
  --shadow:    0 2px 8px rgba(0,0,0,0.10);
  --max-width: 1100px;
  --nav-height: 64px;
}

/* =====================================================
   Reset & Base
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 1rem;
}

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

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

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* =====================================================
   Layout Utilities
   ===================================================== */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.page-content {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-dk); border-color: var(--color-accent-dk); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent-lt); }
.btn-sm { padding: 0.35rem 0.9rem; font-size: 0.85rem; }

/* =====================================================
   Navigation
   ===================================================== */
.site-header {
  background: var(--color-nav-bg);
  color: var(--color-nav-text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1rem;
}
.site-logo {
  color: var(--color-nav-text);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-logo:hover { color: #fff; text-decoration: none; }
.logo-icon { font-size: 1.4rem; }

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.15rem;
  align-items: center;
}
.site-nav ul a {
  color: var(--color-nav-text);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: block;
  transition: background 0.12s;
}
.site-nav ul a:hover, .site-nav ul a.active {
  background: rgba(255,255,255,0.12);
  text-decoration: none;
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-nav-text);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* Language switcher */
.lang-switcher {
  position: relative;
  margin-left: 0.5rem;
}
.lang-current {
  cursor: pointer;
  color: var(--color-nav-text);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.25);
  user-select: none;
  display: block;
}
.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: var(--color-nav-bg);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  min-width: 130px;
  list-style: none;
  padding: 0.3rem 0;
  box-shadow: var(--shadow);
  z-index: 200;
}
.lang-switcher:hover .lang-dropdown { display: block; }
.lang-dropdown li a {
  display: block;
  padding: 0.4rem 0.9rem;
  color: var(--color-nav-text);
  font-size: 0.88rem;
}
.lang-dropdown li a:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* =====================================================
   Hero
   ===================================================== */
.hero {
  background: linear-gradient(135deg, var(--color-nav-bg) 0%, #3d2b1a 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero h1 { color: #fff; font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.hero-sub { color: var(--color-footer-text); font-size: 1.1rem; max-width: 600px; margin-inline: auto; margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   Home sections
   ===================================================== */
.home-intro { padding-top: 3rem; padding-bottom: 2rem; max-width: 700px; font-size: 1.05rem; }

.home-news { padding: 3rem 0; background: var(--color-surface); }
.home-news .container { display: flex; flex-direction: column; gap: 1.5rem; }
.home-news h2 { margin-bottom: 0.5rem; }

.home-gallery { padding: 3rem 0; }
.home-gallery h2 { margin-bottom: 1.5rem; }

.home-cta {
  background: var(--color-accent-lt);
  padding: 3rem 0;
  text-align: center;
}
.home-cta h2 { margin-bottom: 0.75rem; }
.home-cta p { margin-bottom: 1.25rem; font-size: 1.05rem; }

/* =====================================================
   Gallery
   ===================================================== */
.gallery-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-nav-bg);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.category-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.category-card:hover img { opacity: 0.85; }
.category-card-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  flex-direction: column;
}
.category-label { color: #fff; font-weight: 700; font-size: 1rem; }
.category-count { color: rgba(255,255,255,0.7); font-size: 0.82rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.15s;
}
.gallery-item:hover { transform: translateY(-2px); text-decoration: none; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item-caption {
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.gallery-single { max-width: 800px; }
.gallery-main-image { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-description { margin-top: 1rem; }

/* =====================================================
   News
   ===================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.news-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--color-accent);
}
.news-card time { font-size: 0.82rem; color: var(--color-text-muted); display: block; margin-bottom: 0.4rem; }
.news-card h3 a, .news-card h2 a { color: var(--color-text); }
.news-card h3 a:hover, .news-card h2 a:hover { color: var(--color-accent); text-decoration: none; }
.read-more { font-size: 0.9rem; font-weight: 600; color: var(--color-accent); }
.news-list { display: flex; flex-direction: column; gap: 1.5rem; }
.news-card-full { border-left-width: 4px; }
.news-single header { margin-bottom: 1.5rem; }
.news-single time { font-size: 0.9rem; color: var(--color-text-muted); }
.news-body { margin-bottom: 2rem; }

/* =====================================================
   Services
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.service-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.services-cta { margin-top: 2rem; }
.services-body { margin: 1rem 0; }

/* =====================================================
   Prices
   ===================================================== */
.prices-intro { color: var(--color-text-muted); margin-bottom: 2rem; max-width: 650px; }
.price-category { margin-bottom: 2.5rem; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th {
  background: var(--color-nav-bg);
  color: var(--color-nav-text);
  padding: 0.6rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--color-border); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--color-accent-lt); }
.price-cell { font-weight: 600; color: var(--color-accent-dk); white-space: nowrap; }
.price-unit { font-size: 0.82rem; color: var(--color-text-muted); }
.price-note-row td { font-size: 0.82rem; color: var(--color-text-muted); padding-top: 0; border-bottom-style: dashed; }
.prices-updated { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 1rem; }
.prices-cta { margin-top: 2rem; }

/* =====================================================
   Contact
   ===================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  margin-top: 1rem;
}
.contact-info p { margin-bottom: 0.75rem; }
.map-wrap { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-form-wrap { background: var(--color-surface); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.3rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-bg);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(181,101,29,0.15);
}
.form-group input[type="file"] {
  padding: 0.4rem;
  cursor: pointer;
}

/* =====================================================
   About
   ===================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  margin-top: 1rem;
}
.info-block { margin-bottom: 1.5rem; }
.info-block h3 { border-bottom: 2px solid var(--color-accent); padding-bottom: 0.25rem; margin-bottom: 0.75rem; }
.hours-table { font-size: 0.92rem; border-collapse: collapse; }
.hours-table td { padding: 0.25rem 0.75rem 0.25rem 0; }
.hours-table td:first-child { font-weight: 600; min-width: 80px; }
address { font-style: normal; }

/* =====================================================
   Cookie banner
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-nav-bg);
  color: var(--color-footer-text);
  z-index: 999;
  padding: 0.9rem 0;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.88rem; }
.cookie-banner a { color: var(--color-accent); }
.cookie-banner.hidden { display: none; }

/* =====================================================
   Breadcrumb
   ===================================================== */
.breadcrumb { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2.5rem 0 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-col a { color: var(--color-footer-text); }
.footer-col a:hover { color: #fff; }
.footer-legal-links a { display: block; margin-bottom: 0.35rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.9rem 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* =====================================================
   Prose (generic content pages: GDPR, cookies, etc.)
   ===================================================== */
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { margin-left: 1.5rem; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--color-nav-bg);
    padding: 1rem;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; width: 100%; }
  .site-nav ul a { padding: 0.6rem 0.75rem; }
  .lang-switcher { margin-left: 0; margin-top: 0.5rem; }
  .lang-dropdown { position: static; display: block; background: none; border: none; box-shadow: none; }
  .lang-current { display: none; }

  .contact-layout, .about-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .gallery-categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-categories-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 2.5rem 0; }
}
