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

:root {
  --green: #7a5c2e;
  --green-light: #f5efe4;
  --green-mid: #9a7340;
  --gold: #b08030;
  --text: #2c2520;
  --text-muted: #6b5f52;
  --border: rgba(120,90,46,0.15);
  --bg: #fdf8f2;
  --white: #ffffff;
  --radius: 10px;
  --accent: #c8922a;
  --hero-bg: #f0e6d3;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

/* TOP BAR */
.topbar {
  background: #7a5c2e; color: rgba(255,255,255,0.88);
  font-family: Arial, sans-serif; font-size: 13px;
  padding: 7px 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar a { color: rgba(255,255,255,0.88); text-decoration: none; margin-left: 20px; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(120,90,46,0.15);
  box-shadow: 0 2px 12px rgba(120,90,46,0.08);
  gap: 1rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; padding: 14px 0;
}
.nav-logo {
  width: 70px; height: 70px; border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(200,146,42,0.25);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.nav-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.nav-title { color: var(--text); }
.nav-title strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: 0.3px; color: var(--text); }
.nav-title span { font-size: 12px; color: var(--text-muted); font-style: italic; }
nav ul { list-style: none; display: flex; gap: 0; align-items: center; }
nav ul li a {
  display: block; padding: 1.3rem 1rem;
  color: var(--text); text-decoration: none;
  font-family: Arial, sans-serif; font-size: 17px; font-weight: 500;
  transition: color 0.2s;
  border-bottom: 3px solid transparent;
}
nav ul li a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  border-radius: 6px; padding: 10px 20px !important;
  border-bottom: none !important; margin-left: 12px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
#acasa {
  position: relative;
  min-height: 540px;
  background: var(--hero-bg);
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(240,230,210,0.92) 0%, rgba(240,230,210,0.7) 50%, rgba(240,230,210,0.1) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 860px; margin: 0 auto; padding: 5rem 2rem;
  width: 100%;
}
.hero-eyebrow {
  font-family: Arial, sans-serif; font-size: 14px;
  color: var(--accent); font-weight: 500; letter-spacing: 0.5px;
  margin-bottom: 0.75rem; display: block;
}
#acasa h1 {
  font-size: 3.0rem; font-weight: 700; line-height: 1.2;
  color: var(--text); margin-bottom: 0.4rem;
  max-width: 480px;
}
.hero-subtitle {
  font-size: 1.8rem; font-weight: 400;
  color: var(--text-muted); margin-bottom: 1.25rem;
}
#acasa p.sub {
  font-size: 1.0rem; color: var(--text-muted); margin-bottom: 2rem;
  max-width: 420px; line-height: 1.7;
  font-style: normal;
}
.hero-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.badge {
  background: rgba(200,146,42,0.12); border: 1.5px solid rgba(200,146,42,0.35);
  border-radius: 50px; padding: 5px 16px; font-size: 13px;
  font-family: Arial, sans-serif; color: var(--text-muted);
}
.hero-btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  text-decoration: none; font-family: Arial, sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  padding: 13px 32px; border-radius: 6px;
  transition: background 0.2s;
}
.hero-btn:hover { background: var(--green); }

/* SECTIONS */
section { padding: 4rem 2rem; }
.container { max-width: 860px; margin: 0 auto; }
h2.section-title {
  font-size: 1.9rem; color: var(--text); margin-bottom: 0.4rem;
  font-weight: 700; letter-spacing: 0.3px;
}
.title-line {
  width: 60px; height: 3px; background: var(--gold);
  border-radius: 2px; margin-bottom: 2rem;
}

/* SERVICII */
#servicii { background: var(--white); }
.servicii-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2rem;
}
.serviciu-card {
  background: var(--green-light); border-radius: var(--radius);
  border: 1px solid rgba(46,125,79,0.2);
  padding: 1.25rem 1.5rem;
  display: flex; gap: 14px; align-items: flex-start;
}
.serviciu-icon {
  font-size: 24px; line-height: 1; flex-shrink: 0; margin-top: 2px;
}
.serviciu-card h3 { font-size: 17px; font-weight: 700; font-family: Arial, sans-serif; color: var(--green); margin-bottom: 4px; }
.serviciu-card p { font-size: 16px; color: var(--text-muted); line-height: 1.6; }
.pret-box {
  margin-top: 2rem; background: var(--green); color: #fff;
  border-radius: var(--radius); padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: 1.5rem;
  font-family: Arial, sans-serif;
}
.pret-nr { font-size: 2.2rem; font-weight: 700; white-space: nowrap; }
.pret-desc { font-size: 14px; opacity: 0.9; line-height: 1.55; }

/* GALERIE */
#galerie { background: var(--bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px; margin-top: 1rem;
}
.gallery-item {
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border);
  background: #e8e8e4;
  aspect-ratio: 1;
  display: flex; flex-direction: column;
}
.gallery-item a {
  display: flex; flex: 1; align-items: center; justify-content: center;
  text-decoration: none; overflow: hidden;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s; display: block;
}
.gallery-item img:hover { transform: scale(1.06); }
.gallery-item span {
  display: block; padding: 6px 8px;
  font-size: 12px; color: var(--text-muted);
  font-family: Arial, sans-serif;
  border-top: 0.5px solid var(--border);
  background: var(--white);
  text-align: center;
}

/* EVENIMENTE */
#evenimente { background: var(--white); }
.eveniment {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem; margin-bottom: 1.5rem;
  background: var(--green-light); border-radius: 0 8px 8px 0;
}
.eveniment strong { color: var(--green); }
.video-embed {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 1rem auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-facade-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
}
.video-facade-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 12px;
}
.video-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.video-facade-btn:hover .video-play {
  background: var(--accent);
}
.ev-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; margin-top: 1.5rem;
}
.ev-gallery-item {
  border-radius: 8px; overflow: hidden; border: 1px solid var(--border);
  background: #e8e8e4; aspect-ratio: 1;
}
.ev-gallery-item a { display: block; height: 100%; }
.ev-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* RAPOARTE */
#rapoarte { background: var(--bg); }
.rapoarte-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.raport-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center; text-decoration: none; color: var(--text);
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.raport-card:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(46,125,79,0.12); }
.raport-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--green-light); display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--green);
}
.raport-card span { font-size: 15px; font-family: Arial, sans-serif; font-weight: 500; color: var(--green); }

/* CONTACT */
#contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 1rem; }
.contact-form {
  position: relative;
}
.contact-form label {
  display: block; font-size: 13px; font-family: Arial, sans-serif;
  color: var(--text-muted); margin-bottom: 4px; margin-top: 14px;
}
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 15px; font-family: Georgia, serif;
  background: var(--bg); color: var(--text);
  transition: border-color 0.2s;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus { outline: none; border-color: var(--green); }
.contact-form textarea { height: 110px; resize: vertical; }
.consent-row {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  left: auto !important;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--green-light);
  border: 1px solid rgba(122, 92, 46, 0.35);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-family: Arial, sans-serif;
  color: var(--text);
  line-height: 1.45;
  font-weight: 400;
}
.consent-row input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  left: auto !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  pointer-events: auto !important;
}
.consent-row span {
  flex: 1;
  color: var(--text);
}
.consent-row a {
  color: var(--green);
  text-decoration: underline;
}
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.btn-submit {
  margin-top: 16px;
  background: var(--green); color: #fff;
  border: none; border-radius: 6px;
  padding: 11px 28px; font-size: 15px;
  font-family: Arial, sans-serif; font-weight: 500;
  cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: var(--green-mid); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.form-status {
  margin-top: 12px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  min-height: 1.4em;
  font-weight: 500;
}
.form-status--success { color: #2e7d4f; }
.form-status--error { color: #a33a2a; }
.contact-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 1rem; font-family: Arial, sans-serif; }
.info-row {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px; font-size: 15px;
}
.info-row .ico { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.contact-link { color: var(--green); text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.contact-map-iframe {
  width: 100%;
  border: 0;
  border-radius: 10px;
  margin-top: 1rem;
  display: block;
}

/* FOOTER */
footer {
  background: #3d2e18; color: rgba(255,255,255,0.8);
  text-align: center; padding: 1.5rem 2rem;
  font-family: Arial, sans-serif; font-size: 13px;
}
footer a { color: rgba(255,255,255,0.65); }
.footer-links { margin-top: 0.5rem; }

/* LEGAL PAGE */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.legal-page h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-family: Arial, sans-serif;
  color: var(--green);
}
.legal-page p, .legal-page li {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.legal-page ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: var(--green);
  text-decoration: none;
}
.legal-back:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 640px) {
  #acasa h1 { font-size: 2.0rem; }
  .topbar { display: none; }
  .servicii-grid, .rapoarte-grid, .contact-layout { grid-template-columns: 1fr; }
  .pret-box { flex-direction: column; text-align: center; }
  #acasa { min-height: 420px; }

  .nav-toggle { display: flex; }
  nav {
    flex-wrap: wrap;
    padding: 0 1rem;
  }
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    padding-bottom: 1rem;
    border-top: 1px solid var(--border);
  }
  nav ul.is-open { display: flex; }
  nav ul li a {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta {
    margin: 0.75rem 0 0;
    text-align: center;
    border-bottom: none !important;
  }
}

/* LIGHTBOX */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.88); align-items: center; justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 6px; display: block; }
.lightbox-caption {
  text-align: center; color: rgba(255,255,255,0.8);
  font-family: Arial, sans-serif; font-size: 14px; margin-top: 10px;
}
.lightbox-close {
  position: fixed; top: 20px; right: 28px;
  font-size: 36px; color: #fff; cursor: pointer;
  line-height: 1; background: none; border: none; font-family: Arial, sans-serif;
}
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  font-size: 42px; color: #fff; cursor: pointer;
  background: none; border: none; font-family: Arial, sans-serif;
  padding: 0 16px; user-select: none;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { color: var(--accent); }
.gallery-item a, .ev-gallery-item a { cursor: zoom-in; }
