/* ============================================================
   GRĂDINA NOASTRĂ — style.css
   ============================================================ */

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --cream:    #f5f0e8;
  --beige:    #e8dfc8;
  --sand:     #d4c5a0;
  --green-1:  #3d5c3a;
  --green-2:  #5c7c55;
  --green-3:  #8aad7e;
  --green-4:  #b8d4ae;
  --earth:    #7a5c3a;
  --earth-lt: #a8835a;
  --text:     #2d2a24;
  --text-lt:  #5a5248;
  --white:    #fdfaf4;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--beige); }
::-webkit-scrollbar-thumb { background: var(--green-2); border-radius: 3px; }

/* ─── NAV ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(245, 240, 232, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(61, 92, 58, 0.1);
  transition: box-shadow 0.3s var(--ease);
}
nav.scrolled { box-shadow: 0 4px 30px rgba(61, 92, 58, 0.1); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--green-1); letter-spacing: 0.02em;
}
.nav-logo em { font-style: italic; color: var(--earth); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text-lt); transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-1); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--green-1);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: rgba(245, 240, 232, 0.97);
  padding: 1.2rem 5vw 1.8rem;
  border-bottom: 1px solid var(--beige);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-lt); padding: 0.8rem 0;
  border-bottom: 1px solid rgba(61, 92, 58, 0.1);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 580px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/nucii.jpeg');
  background-size: cover; background-position: center 30%;
  transform: scale(1.06);
  transition: transform 10s var(--ease);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30, 55, 28, 0.62) 0%,
    rgba(45, 42, 36, 0.28) 55%,
    rgba(100, 72, 42, 0.38) 100%
  );
}
.hero.loaded .hero-bg { transform: scale(1); }

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 5vw; max-width: 860px;
  opacity: 0; transform: translateY(32px);
  transition: opacity 1.1s 0.3s var(--ease), transform 1.1s 0.3s var(--ease);
}
.hero.loaded .hero-content { opacity: 1; transform: translateY(0); }

.hero-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--green-4); margin-bottom: 1.2rem;
  margin-top: -1.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 4.2rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 2rem;
}
.hero-title em { font-style: italic; color: var(--green-4); }

.hero-text {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 300; line-height: 1.9;
  color: rgba(253, 250, 244, 0.87);
  max-width: 580px; margin: 0 auto 2.8rem;
}

.btn {
  display: inline-block; padding: 0.85rem 2.6rem;
  border: 1.5px solid rgba(253, 250, 244, 0.65);
  color: var(--white);
  font-family: var(--font-body); font-size: 0.73rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 100px;
  transition: background 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero-scroll span {
  color: var(--green-4);
}
.scroll-line {
  background: linear-gradient(to bottom, var(--green-4), transparent);
}
@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}

/* ─── SECTIONS COMMONS ───────────────────────────────────────── */
section { padding: 5.5rem 5vw; }

.section-label {
  font-size: 0.67rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--earth-lt); margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300; line-height: 1.18;
  color: var(--green-1); margin-bottom: 1.4rem;
}
.section-title em { font-style: italic; }
.section-body {
  font-size: 1rem; font-weight: 300; line-height: 1.88;
  color: var(--text-lt); max-width: 560px;
}

.divider { width: 48px; height: 1.5px; background: var(--green-3); margin: 1.6rem 0; }
.divider.center { margin: 1.6rem auto; }
.divider.light { background: rgba(253, 250, 244, 0.3); }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── PSYCH STRIP ────────────────────────────────────────────── */
.psych-strip { background: var(--green-1); padding: 5rem 5vw; }
.psych-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.psych-text .section-title { color: var(--green-4); }
.psych-text .section-body  { color: rgba(253, 250, 244, 0.8); max-width: 100%; }
.psych-text .section-label { color: var(--sand); }

.psych-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.psych-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px; padding: 1.4rem 1.2rem;
  transition: background 0.3s, transform 0.3s;
}
.psych-card:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-4px); }
.psych-card-icon  { font-size: 1.7rem; margin-bottom: 0.65rem; }
.psych-card-title {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--green-4); margin-bottom: 0.4rem; font-weight: 400;
}
.psych-card-text  { font-size: 0.81rem; color: rgba(253,250,244,0.68); line-height: 1.72; font-weight: 300; }

/* ─── GARDEN SECTION ─────────────────────────────────────────── */
.garden-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
}
.garden-img {
  position: relative; border-radius: 18px; overflow: hidden; height: 540px;
  box-shadow: 0 28px 70px rgba(61, 92, 58, 0.17);
}
.garden-img img { height: 100%; transition: transform 6s var(--ease); }
.garden-img:hover img { transform: scale(1.05); }
.garden-img::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(45,42,36,0.35) 0%, transparent 55%);
}
.garden-badge {
  position: absolute; bottom: 1.4rem; left: 1.4rem; z-index: 2;
  background: rgba(245,240,232,0.93);
  padding: 0.55rem 1rem; border-radius: 100px;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-1); font-weight: 400;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.42rem 1rem; border: 1px solid var(--green-3);
  border-radius: 100px; color: var(--green-2);
  transition: background 0.25s, color 0.25s; cursor: default;
}
.tag:hover { background: var(--green-2); color: var(--white); }

/* ─── GALLERY ────────────────────────────────────────────────── */
.gallery-section { background: var(--beige); }
.gallery-head {
  max-width: 1180px; margin: 0 auto 2.8rem;
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.gallery-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 480px;
  gap: 1rem;
}

.gallery-item { border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery-item img { height: 100%; transition: transform 0.65s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(61,92,58,0); transition: background 0.4s;
}
.gallery-item:hover::after { background: rgba(61,92,58,0.12); }
.g-large { grid-row: span 2; }
.g-wide  { grid-column: span 2; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 1.2rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(30,50,28,0.72) 0%, transparent 100%);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(253,250,244,0.85); opacity: 0; transition: opacity 0.35s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ─── LIGHTBOX ───────────────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(30, 28, 24, 0.93);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lb-close {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-size: 2rem; color: rgba(253,250,244,0.7);
  cursor: pointer; line-height: 1; transition: color 0.2s;
}
.lb-close:hover { color: var(--white); }

/* ─── QUOTE ──────────────────────────────────────────────────── */
.quote-section { background: var(--earth); text-align: center; padding: 5rem 5vw; }
.quote-mark {
  font-family: var(--font-display); font-size: 4rem;
  color: rgba(253,250,244,0.2); line-height: 1; margin-bottom: -0.5rem;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 300; font-style: italic;
  color: var(--white); line-height: 1.55;
  max-width: 760px; margin: 0 auto 1.2rem;
}
.quote-author {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(253,250,244,0.45);
}

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.contact-intro {
  font-size: 1rem; font-weight: 300; line-height: 1.88;
  color: var(--text-lt); margin-bottom: 2.8rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; text-align: left; }
.form-group label {
  display: block; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--earth-lt); margin-bottom: 0.45rem;
}
.form-group input,
.form-group textarea {
  width: 100%; background: var(--white);
  border: 1.5px solid var(--sand); border-radius: 6px; padding: 0.82rem 1rem;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text);
  outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(92,124,85,0.1);
}
.form-group textarea { resize: vertical; min-height: 128px; }
.btn-green {
  background: var(--green-1); color: var(--white); border: none; cursor: pointer;
  padding: 0.9rem 3rem; font-family: var(--font-body); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 100px; transition: background 0.3s, transform 0.2s; margin-top: 0.6rem;
}
.btn-green:hover { background: var(--green-2); transform: translateY(-2px); }
.success-msg {
  display: none; background: var(--green-4); border-radius: 8px;
  padding: 1rem 1.4rem; font-size: 0.9rem; color: var(--green-1); margin-top: 1.2rem;
}
.success-msg.show { display: block; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--green-1); padding: 2.2rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem;
}
.footer-logo { font-family: var(--font-display); font-size: 1rem; color: var(--green-4); }
.footer-logo em { font-style: italic; color: var(--sand); }
.footer-note { font-size: 0.7rem; letter-spacing: 0.1em; color: rgba(253,250,244,0.38); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .psych-inner          { grid-template-columns: 1fr; gap: 2.5rem; }
  .garden-inner         { grid-template-columns: 1fr; gap: 2.5rem; }
  .garden-img           { height: 380px; }
  .gallery-grid         { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .g-large              { grid-row: span 1; }
  .g-wide               { grid-column: span 2; }
  .form-row             { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links            { display: none; }
  .nav-toggle           { display: flex; }
  section               { padding: 3.8rem 5vw; }
  .gallery-grid         { grid-template-columns: 1fr; }
  .g-wide               { grid-column: span 1; }
  .gallery-head         { flex-direction: column; align-items: flex-start; }
  .psych-cards          { grid-template-columns: 1fr; }
  footer                { flex-direction: column; text-align: center; }
}

/* ─── BLOG GRID ───────────────────────────────────────────────── */
.blog-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}

/* ─── BLOG CARD ──────────────────────────────────────────────── */
@keyframes cardImgZoom {
  from { transform: scale(1.35); }
  to   { transform: scale(1); }
}

.blog-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 30px rgba(61,92,58,0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(61,92,58,0.14);
}
.blog-card-img {
  display: block; position: relative; overflow: hidden; height: 180px;
  border-radius: 12px 12px 0 0;
}
.blog-card-img img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card.visible .blog-card-img img { animation: cardImgZoom 1.2s ease-out both; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-cat {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(61,92,58,0.82); backdrop-filter: blur(6px);
  color: var(--white); font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.32rem 0.8rem; border-radius: 100px;
}
.blog-card-body {
  padding: 1.4rem 1.5rem 1.8rem; display: flex; flex-direction: column; flex: 1;
}
.blog-card-meta { font-size: 0.72rem; color: var(--earth-lt); letter-spacing: 0.05em; margin-bottom: 0.6rem; }
.blog-card-title { margin-bottom: 0.7rem; }
.blog-card-title a {
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 400;
  color: var(--green-1); line-height: 1.3; transition: color 0.2s;
}
.blog-card-title a:hover { color: var(--earth); }
.blog-card-excerpt {
  font-size: 0.88rem; font-weight: 300; line-height: 1.8;
  color: var(--text-lt); flex: 1; margin-bottom: 1.2rem;
}
.blog-read-more {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-2); transition: color 0.2s; align-self: flex-start;
}
.blog-read-more:hover { color: var(--green-1); }

/* ─── BLOG PREVIEW ───────────────────────────────────────────── */
.blog-preview-section { background: var(--cream); padding: 5.5rem 5vw; }
.blog-preview-head {
  max-width: 1180px; margin: 0 auto 2.8rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.blog-preview-head a {
  font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--green-2); border-bottom: 1px solid var(--green-3);
  padding-bottom: 2px; transition: color 0.2s;
}
.blog-preview-head a:hover { color: var(--green-1); }

/* ─── BLOG LIST PAGE ─────────────────────────────────────────── */
.blog-page-hero {
  background: var(--beige); padding: 7rem 5vw 4rem;
  text-align: center; border-bottom: 1px solid var(--sand);
}
.blog-list-section { padding: 3rem 5vw 5rem; }

.blog-filter-bar {
  max-width: 1180px; margin: 0 auto 2.5rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.blog-filter-btn {
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.45rem 1.2rem;
  border: 1.5px solid var(--green-3); border-radius: 100px;
  background: transparent; color: var(--green-2); cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.blog-filter-btn:hover,
.blog-filter-btn.active { background: var(--green-2); color: var(--white); border-color: var(--green-2); }
.blog-empty { text-align: center; padding: 3rem; color: var(--text-lt); font-weight: 300; }

/* ─── ARTICLE PAGE ───────────────────────────────────────────── */
@keyframes articleHeroIn {
  from { transform: scale(1.08); opacity: 0.7; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes articleHeroContentIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}


.article-hero {
  position: relative; 
  height: 65vh; 
  min-height: 420px;
  width: 100%;
  display: flex; 
  align-items: flex-end;
  overflow: hidden;
  background-position: center center !important;
}
.article-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: articleHeroIn 1.4s ease-out both;
}
.article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,50,28,0.82) 0%, rgba(30,50,28,0.18) 60%, transparent 100%);
}
.article-hero-content {
  position: relative; z-index: 2; padding: 3rem 5vw; max-width: 860px;
  animation: articleHeroContentIn 0.8s 0.45s ease-out both;
}
.article-hero .section-label { color: var(--green-4); }
.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300; color: var(--white); line-height: 1.15; margin: 0.5rem 0;
}
.article-meta { font-size: 0.75rem; letter-spacing: 0.1em; color: rgba(253,250,244,0.55); }

.article-body { max-width: 760px; margin: 0 auto; padding: 3.5rem 5vw 5rem; }
.article-content { font-size: 1.05rem; font-weight: 400; line-height: 1.95; color: var(--text); }
.article-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  margin: 1.5rem 0;
}
.article-content h3 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--green-1); margin: 2.2rem 0 0.8rem;
}
.article-content p { margin-bottom: 1.2rem; }
.article-content strong { color: var(--text); font-weight: 600; }
.article-content em { color: var(--earth); font-style: italic; }
.article-content ul { margin: 1rem 0 1.2rem 1.5rem; }
.article-content li { margin-bottom: 0.5rem; line-height: 1.8; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2.5rem 0; }
.article-series { color: var(--green-2); font-size: 0.9rem; margin-bottom: 1.5rem; }

.article-nav {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 2rem 0; border-top: 1px solid var(--sand); margin-bottom: 2rem;
}
.article-nav-link {
  font-size: 0.8rem; font-weight: 300; color: var(--green-2);
  transition: color 0.2s; line-height: 1.5;
}
.nav-arrow {
  font-weight: 700;
  font-size: 1.05em;
}
.article-nav-link:hover { color: var(--green-1); }
.article-back { text-align: center; }

/* ─── SERIES ─────────────────────────────────────────────────── */
.blog-series-group { margin-bottom: 3rem; }
.blog-series-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--green-3); padding-bottom: 0.5rem;
}
.blog-series-icon { font-size: 1.4rem; }
.blog-series-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-1); margin: 0; }
.blog-series-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.blog-card-series { display: inline-block; font-size: 0.75rem; color: var(--green-2); margin-bottom: 4px; }

/* ─── NAV ACTIVE ─────────────────────────────────────────────── */
.nav-active { color: var(--green-1) !important; }

/* ─── RESPONSIVE BLOG ────────────────────────────────────────── */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .blog-grid            { grid-template-columns: 1fr; }
  .blog-card-img        { height: 200px; }
  .article-hero         { height: 55vh; }
  .blog-preview-head    { flex-direction: column; align-items: flex-start; }
}

/* ─── DESPRE PAGE ────────────────────────────────────────────── */
body.despre-page {
  background: var(--beige);
}
/* ─── Video de fundal în hero ─────────────────────── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg::after { z-index: 1; }

/* Pe telefon folosim versiunea verticală a pozei de fundal */
@media (max-width: 700px) {
  .hero-bg { background-image: url('../images/greieri_poster_portret.jpg'); }
}

/* Respectăm preferința de mișcare redusă a vizitatorului */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ─── Două poze în secțiunea Grădina ─────────────── */
/* ─── Secțiunea Grădina: o coloană, poze în text ─── */
.garden-inner {
  grid-template-columns: 1fr;
  max-width: 820px;
  gap: 2.2rem;
}

.garden-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(61, 92, 58, 0.17);
  margin: 2rem 0;
}

.garden-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.garden-photo.has-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(45, 42, 36, 0.35) 0%, transparent 55%);
}

@media (max-width: 900px) {
  .garden-photo img { height: 260px; }
}
.hero-bg { background-image: url('../images/greieri_poster.jpg'); }

/* ─── Butonul de sunet ─────────────────────────── */
.sound-toggle {
  position: absolute;
  right: 2rem;
  bottom: 2.6rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--green-3);
  border-radius: 10px;
  background: var(--green-1);
  color: rgba(253, 250, 244, 0.9);
  font-family: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.sound-toggle:hover {
  background: var(--green-2);
  border-color: var(--green-4);
}
.sound-toggle .ic-und { display: none; }
.sound-toggle.is-on .ic-und { display: block; }
.sound-toggle.is-on .ic-mut { display: none; }

@media (max-width: 700px) {
  .sound-toggle { right: 1rem; bottom: 5.5rem; padding: 0.5rem; }
  .sound-toggle .sound-label { display: none; }
}
/* ─── Poze mărite la click ─────────────────────── */
.article-content img { cursor: zoom-in; transition: filter 0.25s ease; }
.article-content img:hover { filter: brightness(1.07); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(20, 18, 14, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 3vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}

.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: 100%;
  max-height: 94vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: rgba(253, 250, 244, 0.85);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}
/* ─── Galerii în articole ──────────────────────── */
.article-content .galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 1.5rem 0;
}
.article-content .galerie figure { margin: 0; text-align: center; }
.article-content .galerie img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.article-content .galerie figcaption {
  font-size: 0.8rem;
  margin-top: 4px;
  opacity: 0.75;
}
/* ─── Titlul din hero ──────────────────────────── */
.hero-title,
.hero-title em {
  color: #e8dfc8;
  font-style: italic;
}

.hero-title {
  text-shadow: 0 2px 18px rgba(30, 28, 22, 0.55);
}
.hero-content .btn {
  color: var(--green-4);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.divider { display: none; }
:root { color-scheme: light; }

.blog-read-more {
  font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-1); transition: color 0.2s; align-self: flex-start;
}

.blog-read-more:hover { color: var(--earth); }
.article-nav-link {
  font-size: 0.88rem; font-weight: 300; color: var(--green-1);
  transition: color 0.2s; line-height: 1.5;
}
.article-nav-link:hover { color: var(--earth); }

.gdpr-note {
  font-size: 0.60rem;
  color: var(--text-lt);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  text-align: left;
}
#gradina { padding-bottom: 1.5rem; }
.blog-preview-section { padding-top: 1.5rem; }
