/* === Variables === */
:root {
  --green: #26a269;
  --green-dark: #1c7a4e;
  --orange: #e66100;
  --white: #ffffff;
  --off-white: #f8f8f6;
  --text: #1a1a1a;
  --text-mid: #444;
  --text-light: #666;
  --border: #e0e0dc;
  --max-width: 1100px;
  --radius: 3px;
}

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

body {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange); }

/* === Header === */
#site-header {
  background: var(--white);
  padding: 1.5rem 1.5rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-name-link {
  font-family: 'Unica One', sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 2.4rem);
  font-weight: 400;
  color: var(--green);
  display: block;
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}
.site-name-link:hover { color: var(--orange); }

.site-slogan {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* === Navigation === */
#main-nav {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

#nav-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

#nav-menu li {
  position: relative;
}

#nav-menu li a {
  display: block;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  padding: 0.85rem 1.1rem;
  position: relative;
  overflow: hidden;
  transition: color 0.25s;
}

/* Bottom-fill animation matching original btn-animate */
#nav-menu li a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(100%);
  transition: transform 0.28s ease;
  z-index: -1;
}

#nav-menu li a:hover::before,
#nav-menu li a.active::before {
  transform: translateY(0);
}

#nav-menu li a:hover,
#nav-menu li a.active {
  color: var(--white);
}

/* Active indicator */
#nav-menu li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--white);
  opacity: 0.7;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.9rem 0.5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  #nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 0.5rem;
  }
  #nav-menu.open { display: flex; }
  #nav-menu li a { padding: 0.65rem 1rem; }
  .nav-inner { flex-wrap: wrap; }
}

/* === Phone Banner === */
.phone-banner {
  background: var(--off-white);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.phone-banner i {
  color: var(--green);
  margin-right: 0.5rem;
}
.phone-banner a {
  color: var(--text);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.phone-banner a:hover { color: var(--green); }

/* === Main Content === */
#main-content {
  padding: 2.5rem 1.5rem 4rem;
  background: var(--white);
}

.content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Page title — matches Drupal theme: Unica One, dark, left-aligned */
.page-title {
  font-family: 'Unica One', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--green);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* === Inline image === */
.inline-image {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.inline-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* === Page body text === */
.page-body {
  font-size: 1.06rem;
  max-width: 760px;
  margin-bottom: 3rem;
  color: var(--text-mid);
}
.page-body p { margin-bottom: 1.1rem; }
.page-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}
.page-body ul li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-body ul li:last-child { border-bottom: none; }
.page-body ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.65rem;
  top: 0.55rem;
}
.page-body h2 {
  font-family: 'Unica One', sans-serif;
  font-weight: 400;
  color: var(--text);
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.02em;
}
.page-body strong { color: var(--text); }
.page-body em { color: var(--text-mid); }
.page-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Blockquotes — reviews */
.page-body blockquote {
  border-left: 4px solid var(--green);
  margin: 1.75rem 0;
  padding: 1rem 1.5rem;
  background: var(--off-white);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-mid);
}
.page-body blockquote p { margin-bottom: 0.5rem; }
.page-body blockquote p:last-child { margin-bottom: 0; }

/* === Gallery === */
.gallery {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.gallery h2 {
  font-family: 'Unica One', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

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

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--off-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.25s;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(38, 162, 105, 0);
  transition: background 0.3s;
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { background: rgba(38, 162, 105, 0.12); }

/* === Footer === */
#site-footer {
  background: #111;
  color: #bbb;
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 3rem;
  align-items: start;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 0.75rem;
  max-width: 200px;
}
.footer-logo p {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.35rem;
}
.footer-logo address {
  font-style: normal;
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  padding-top: 0.25rem;
}
.footer-social a {
  color: #888;
  font-size: 1.3rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social a:hover { color: var(--green); }

.copyright {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: #555;
  border-top: 1px solid #333;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}
.copyright a { color: #666; }
.copyright a:hover { color: var(--green); }

@media (max-width: 580px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-social {
    flex-direction: row;
    align-items: center;
  }
}
