/* ============================================================
   GLOBAL
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1c1917;
  overflow-x: hidden;
}

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(15, 35, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* ============================================================
   HERO
============================================================ */
.hero-bg {
  transition: transform 8s ease-out;
  will-change: transform;
}

.hero-bg.loaded {
  transform: scale(1);
}

/* Feature Pills */
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  letter-spacing: 0.025em;
  transition: background 0.2s, border-color 0.2s;
}

.feature-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   HERO ANIMAȚII
============================================================ */
.hero-badge,
.hero-title,
.hero-features,
.hero-cta,
.hero-trust {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-badge    { animation-delay: 0.10s; }
.hero-title    { animation-delay: 0.25s; }
.hero-features { animation-delay: 0.45s; }
.hero-cta      { animation-delay: 0.60s; }
.hero-trust    { animation-delay: 0.75s; }

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   SCROLL ARROW
============================================================ */
.scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0);  opacity: 0.6; }
  50%       { transform: rotate(45deg) translateY(5px); opacity: 1;   }
}

/* ============================================================
   HAMBURGER
============================================================ */
#hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#mobile-menu.open {
  max-height: 500px;
}

/* ============================================================
   WHATSAPP PULSE
============================================================ */
.whatsapp-btn {
  position: relative;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: #25D366;
  z-index: -1;
  animation: waPulse 2.5s ease-out infinite;
  opacity: 0;
}

@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  70%  { transform: scale(1.12); opacity: 0;   }
  100% { transform: scale(1.12); opacity: 0;   }
}

/* ============================================================
   STICKY BAR
============================================================ */
#sticky-bar.visible {
  transform: translateY(0);
}

#sticky-bar {
  padding-bottom: env(safe-area-inset-bottom);
}

/* ============================================================
   UTILITIES
============================================================ */
::selection {
  background: #3d7a3d;
  color: white;
}


/* ============================================================
   SECȚIUNEA DESPRE — Facility Cards
============================================================ */
.facility-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.25rem;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.facility-card:hover {
  background: #fff;
  border-color: #97c197;
  box-shadow: 0 8px 30px rgba(61, 122, 61, 0.1);
  transform: translateY(-3px);
}

.facility-icon {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  display: block;
  transition: transform 0.3s ease;
}

.facility-card:hover .facility-icon {
  transform: scale(1.15);
}

.facility-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1c1917;
  line-height: 1.3;
}

.facility-desc {
  font-size: 0.75rem;
  color: #78716c;
  line-height: 1.4;
}

/* ============================================================
   SECȚIUNEA GALERIE
============================================================ */

/* Tab buttons */
.gallery-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #57534e;
  background: #fff;
  border: 1.5px solid #e7e5e4;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.gallery-tab:hover {
  border-color: #3d7a3d;
  color: #3d7a3d;
  background: #f2f7f2;
}

.gallery-tab.active-tab {
  background: #2d5f2d;
  color: #fff;
  border-color: #2d5f2d;
  box-shadow: 0 4px 15px rgba(45, 95, 45, 0.3);
}

/* Panel header */
.gallery-panel-header {
  margin-bottom: 1.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f2f7f2 0%, #fff 100%);
  border-left: 4px solid #3d7a3d;
  border-radius: 0 1rem 1rem 0;
}

.gallery-panel-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1917;
  margin-bottom: 0.375rem;
}

.gallery-panel-desc {
  font-size: 0.9375rem;
  color: #78716c;
  line-height: 1.6;
}

/* Grid imagini */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* Item mare — ocupă 2 coloane */
.gallery-item-large {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Gallery item */
.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #e7e5e4;
}

.gallery-item-large {
  aspect-ratio: 16/10;
}

@media (min-width: 768px) {
  .gallery-item-large {
    aspect-ratio: auto;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* Overlay la hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,10,0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Badges */
.gallery-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #fff;
  border: 1.5px solid #e7e5e4;
  color: #44403c;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
}

/* Panel hidden/visible */
.gallery-panel.hidden {
  display: none;
}

/* Tab panel transition */
.gallery-panel {
  animation: panelFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   SECȚIUNEA RECENZII
============================================================ */

/* Rating bars */
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rating-bar-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #78716c;
  width: 2.5rem;
  flex-shrink: 0;
  text-align: right;
}

.rating-bar-track {
  flex: 1;
  height: 8px;
  background: #f5f5f4;
  border-radius: 9999px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #3d7a3d, #66a066);
  border-radius: 9999px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rating-bar-fill.animated {
  width: var(--fill);
}

.rating-bar-pct {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a8a29e;
  width: 2.5rem;
  flex-shrink: 0;
}

/* Highlight cards */
.highlight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1.5px solid #e7e5e4;
  border-radius: 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.highlight-card:hover {
  border-color: #97c197;
  box-shadow: 0 8px 30px rgba(61, 122, 61, 0.1);
  transform: translateY(-4px);
}

.highlight-icon {
  font-size: 2rem;
  display: block;
}

.highlight-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #44403c;
  line-height: 1.3;
}

.highlight-stars {
  color: #f59e0b;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}


/* ============================================================
   SECȚIUNEA CONTACT
============================================================ */

/* Contact cards */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1.5px solid;
  border-radius: 1.5rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.contact-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a8a29e;
  margin-bottom: 0.125rem;
}

.contact-card-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1c1917;
  font-family: 'Playfair Display', serif;
}

.contact-card-hint {
  font-size: 0.75rem;
  color: #a8a29e;
  margin-top: 0.125rem;
}

/* Nav buttons hartă */
.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.nav-btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

/* Reference points */
.ref-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #57534e;
  font-weight: 500;
}

.ref-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
============================================================ */
.footer-link {
  font-size: 0.875rem;
  color: #97c197;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: #fff;
  padding-left: 0.25rem;
}

/* ============================================================
   SECȚIUNEA TARIFE
============================================================ */

/* Include items */
.tarif-include-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  background: #fafaf9;
  border: 1.5px solid #f5f5f4;
  border-radius: 1rem;
  transition: all 0.25s ease;
}

.tarif-include-item:hover {
  background: #f2f7f2;
  border-color: #c3dbc3;
}

.tarif-include-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.tarif-include-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1c1917;
  margin-bottom: 0.125rem;
}

.tarif-include-desc {
  font-size: 0.75rem;
  color: #78716c;
  line-height: 1.4;
}

/* Butoane tarife */
.tarif-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.tarif-btn-primary:hover {
  background: #20ba58;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
}

.tarif-btn-primary:active {
  transform: scale(0.97);
}

.tarif-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #fff;
  color: #1c1917;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: 2px solid #e7e5e4;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.tarif-btn-secondary:hover {
  border-color: #2d5f2d;
  color: #2d5f2d;
  background: #f2f7f2;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 95, 45, 0.12);
}

.tarif-btn-secondary:active {
  transform: scale(0.97);
}

/* Motive cards */
.motiv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.75rem 1.25rem;
  background: #fff;
  border: 1.5px solid #e7e5e4;
  border-radius: 1.5rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.motiv-card:hover {
  border-color: #97c197;
  box-shadow: 0 8px 30px rgba(61, 122, 61, 0.1);
  transform: translateY(-4px);
}

.motiv-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.25rem;
}

.motiv-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1c1917;
}

.motiv-desc {
  font-size: 0.8125rem;
  color: #78716c;
  line-height: 1.5;
}


/* ============================================================
   REVEAL ANIMATION — Apariție la scroll
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: #f5f5f0; }
::-webkit-scrollbar-thumb { background: #3d7a3d; border-radius: 9999px; }
