/* =====================================================
   RESET & BAZĂ
===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, Arial, sans-serif;
  color: #3a332b;
  background: #fbf8f4;
  line-height: 1.7;
}h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: #2c2620;
  line-height: 1.25;
  margin: 0 0 .5em;
}
a { color: #8a6d3b; text-decoration: none; }
a:hover { color: #5f4a24; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
}
.btn-primary { background: #8a6d3b; color: #fff; }
.btn-primary:hover { background: #6f562d; color: #fff; }
.btn-outline { border-color: #8a6d3b; color: #8a6d3b; background: transparent; }
.btn-outline:hover { background: #8a6d3b; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

.empty-note { color: #8a8378; font-style: italic; }

/* =====================================================
   HEADER
===================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee3d5;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2620 !important;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 400;
  color: #a08d6c;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.main-nav { display: flex; gap: 32px; }
.main-nav a { color: #4a4238; font-weight: 500; position: relative; padding: 4px 0; }
.main-nav a.active, .main-nav a:hover { color: #8a6d3b; }
.main-nav a.active::after {
  content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px; background: #8a6d3b;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: #2c2620; display: block; }

/* =====================================================
   HERO
===================================================== */
.hero { padding: 90px 0 80px; background: #fff; overflow: hidden; position: relative; }
.hero::before {
  content: '';
  position: absolute;
  width: 780px; height: 560px;
  left: -220px; top: -60px;
  background: #f2ede3;
  border-radius: 62% 38% 35% 65% / 55% 45% 55% 45%;
  z-index: 0;
}
.hero-inner { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 2.7rem; margin-bottom: .45em; letter-spacing: -.01em; }
.hero-text h1 span { color: #b5502e; }
.hero-subtitle { font-size: 1.05rem; font-weight: 600; color: #3a332b; max-width: 480px; margin-bottom: 26px; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #b5502e; border-bottom: 2px solid #b5502e; padding-bottom: 2px; }
.hero-link:hover { color: #8a3d20; border-color: #8a3d20; }

.hero-image-wrap { flex: 0 0 480px; position: relative; }
.hero-blob { position: absolute; z-index: 0; }
.hero-blob--dots {
  width: 84px; height: 84px; left: -34px; bottom: -28px;
  background-image: radial-gradient(#dcc79a 2.2px, transparent 2.2px);
  background-size: 14px 14px;
  opacity: .8;
}
.hero-image { position: relative; z-index: 1; }
.hero-image img {
  width: 100%; display: block; object-fit: cover; aspect-ratio: 3/4;
  border-radius: 190px 190px 20px 20px;
  box-shadow: 0 25px 55px rgba(60,45,20,.16);
}

/* =====================================================
   ABOUT / SECTIONS
===================================================== */
.section-title { font-size: 2rem; text-align: center; margin-bottom: 40px; position: relative; }
.section-title::after {
  content: ''; display: block; width: 60px; height: 3px; background: #8a6d3b; margin: 14px auto 0; border-radius: 2px;
}
.about-section, .home-latest, .contact-section { padding: 70px 0; }
.about-inner { max-width: 780px; margin: 0 auto; }
.about-inner--with-image { max-width: 980px; display: flex; align-items: flex-start; gap: 50px; }
.about-image { flex: 0 0 300px; }
.about-image > img { border-radius: 16px; box-shadow: 0 16px 40px rgba(60,45,20,.12); width: 100%; }
.about-gallery-stack { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.about-gallery-item { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(60,45,20,.10); }
.about-gallery-item img { width: 100%; display: block; height: auto; transition: transform .25s; }
.about-gallery-item:hover img { transform: scale(1.05); }
.about-content { font-size: 1.05rem; color: #423b31; flex: 1; }
.about-content p { margin-bottom: 1.2em; }
.about-content strong { color: #2c2620; }
.about-content blockquote, .about-content p em {
  display: block; font-style: italic; color: #6b5f4f; border-left: 3px solid #8a6d3b;
  padding-left: 18px; margin: 1.4em 0;
}
.contact-section { background: #f5efe4; text-align: center; }

/* =====================================================
   POST GRID (homepage preview)
===================================================== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.post-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(60,45,20,.08); transition: transform .2s; }
.post-card:hover { transform: translateY(-4px); }
.post-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #eee3d5; position: relative; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-media--placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#e9dcc3,#d8c7a3); }
.post-card-body { padding: 20px; }
.post-card-body h3 { font-size: 1.15rem; margin: 8px 0; }
.post-card-body h3 a { color: #2c2620; }

.post-category {
  display: inline-block; background: #f0e6d2; color: #8a6d3b; font-size: .75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em;
}
.post-date { color: #a08d6c; font-size: .85rem; margin: 4px 0 0; }
.play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 54px; height: 54px; background: rgba(0,0,0,.55); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

/* =====================================================
   BLOG LAYOUT
===================================================== */
.blog-page { padding: 60px 0 90px; }
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 50px; align-items: start; }
.blog-header h1 { font-size: 2.2rem; }
.category-desc { color: #6b5f4f; margin-bottom: 20px; }

.posts-list { display: flex; flex-direction: column; gap: 40px; }
.post-row {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 22px rgba(60,45,20,.07);
  display: flex; flex-direction: column;
}
.post-row-body { padding: 22px 26px 4px; }
.post-row-body--after { padding: 18px 26px 26px; }
.post-row-body h2 { font-size: 1.4rem; margin: 0; }
.post-row-body h2 a { color: #2c2620; }

.post-row-media-full { display: block; background: #eee3d5; line-height: 0; }
.post-row-media-full img { width: 100%; height: auto; display: block; }
.post-row-media-full .video-embed { margin: 0; border-radius: 0; }
.post-row-media--placeholder {
  width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#e9dcc3,#d8c7a3); color: #8a6d3b; font-family:'Playfair Display',serif; font-size: 2.5rem;
}
.post-row--media-only .post-row-body { padding-bottom: 22px; }

.post-excerpt { color: #5b5346; margin: 0 0 14px; }

.pagination { display: flex; gap: 8px; margin-top: 20px; justify-content: center; }
.pagination a { padding: 8px 15px; border-radius: 8px; border: 1px solid #e2d6bd; color: #6b5f4f; }
.pagination a.active { background: #8a6d3b; color: #fff; border-color: #8a6d3b; }

/* Sidebar */
.widget { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 6px 22px rgba(60,45,20,.07); }
.widget-title { font-size: 1.15rem; margin-bottom: 16px; }
.category-list { list-style: none; margin: 0; padding: 0; }
.category-list li { border-bottom: 1px solid #f0e6d2; }
.category-list li:last-child { border-bottom: none; }
.category-list a {
  display: flex; justify-content: space-between; padding: 11px 2px; color: #4a4238; font-size: .95rem;
}
.category-list a.active, .category-list a:hover { color: #8a6d3b; }
.category-list .count { color: #a08d6c; font-size: .85rem; }

/* =====================================================
   SINGLE POST
===================================================== */
.single-post h1 { font-size: 2rem; margin: 10px 0 20px; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 14px; margin: 20px 0 30px; background:#000; }
.video-embed iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:0; border-radius: 14px; }
.single-post-image { margin: 20px 0 30px; border-radius: 14px; overflow: hidden; }
.post-content { font-size: 1.05rem; color: #423b31; }
.post-content p { margin-bottom: 1.2em; }
.post-content img { border-radius: 12px; margin: 20px 0; }
.post-content h2, .post-content h3 { margin-top: 1.4em; }
.post-content ul, .post-content ol { margin-bottom: 1.2em; padding-left: 1.4em; }
.post-content blockquote {
  border-left: 4px solid #8a6d3b; margin: 24px 0; padding: 10px 20px; color: #6b5f4f; font-style: italic; background:#f5efe4;
}

.post-gallery { margin-top: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; }
.gallery-item { border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-item:hover img { transform: scale(1.06); }

.lightbox-overlay {
  display: none; position: fixed; inset: 0; background: rgba(20,16,10,.92); z-index: 999;
  align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 88vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none; font-size: 1.6rem;
  cursor: pointer; width: 48px; height: 48px; border-radius: 50%;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

.share-buttons { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; font-size: .9rem; color: #6b5f4f; }
.share-buttons a { background: #f0e6d2; padding: 7px 16px; border-radius: 20px; color: #8a6d3b; font-weight: 500; }
.share-buttons a:hover { background: #e2d6bd; }

.related-posts { margin-top: 50px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 18px; }
.related-item { display: flex; flex-direction: column; gap: 8px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 16px rgba(60,45,20,.06); }
.related-item img, .related-item .post-row-media--placeholder { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.related-item span { padding: 0 12px 12px; font-weight: 500; color: #2c2620; font-size: .92rem; }

/* =====================================================
   COMMENTS
===================================================== */
.comments-section { margin-top: 50px; border-top: 1px solid #eee3d5; padding-top: 34px; }
.comment { padding: 16px 0; border-bottom: 1px solid #f4ede0; }
.comment-author { font-weight: 600; color: #2c2620; }
.comment-date { font-size: .8rem; color: #a08d6c; margin-bottom: 6px; }
.comment-content { margin: 0; color: #4a4238; }
.comment-note { color: #8a8378; font-size: .9rem; }
.comment-form-wrap { margin-top: 24px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-form input, .comment-form textarea {
  padding: 12px 16px; border-radius: 10px; border: 1px solid #e2d6bd; font-family: inherit; font-size: .95rem; width: 100%;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height:0; }
.msg { padding: 12px 16px; border-radius: 10px; font-size: .9rem; margin-bottom: 10px; }
.msg.error { background: #fde2e2; color: #8a1f1f; }
.msg.success { background: #e0f3e0; color: #1f5c1f; }

/* =====================================================
   COOKIE BANNER (GDPR)
===================================================== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
  background: #2c2620; color: #e9dcc3;
  transform: translateY(100%); transition: transform .3s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1180px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-banner-inner p { margin: 0; font-size: .88rem; line-height: 1.6; color: #cfc3ae; max-width: 760px; }
.cookie-banner-inner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* =====================================================
   PAGINĂ POLITICA DE COOKIES
===================================================== */
.legal-page { padding: 60px 0 90px; }
.legal-page .container { max-width: 900px; }
.legal-page h1 { margin-bottom: .3em; }
.legal-page .updated-note { color: #a08d6c; font-size: .9rem; margin-bottom: 30px; }
.legal-page p { color: #423b31; margin-bottom: 1.1em; }
.cookie-table-wrap { overflow-x: auto; margin: 30px 0; }
.cookie-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 22px rgba(60,45,20,.07); }
.cookie-table th, .cookie-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #f0e6d2; font-size: .9rem; }
.cookie-table th { background: #f5efe4; color: #6b5f4f; text-transform: uppercase; font-size: .75rem; letter-spacing: .03em; }
.cookie-table td { color: #423b31; }
.cookie-table tr:last-child td { border-bottom: none; }
/* =====================================================
   FOOTER
===================================================== */
.site-footer { background: #2c2620; color: #cfc3ae; padding: 40px 0; margin-top: 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { color: #e9dcc3; font-weight: 500; }
.footer-social a:hover { color: #fff; }
.footer-text { font-size: .85rem; color: #a08d6c; margin: 0; }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner--with-image { flex-direction: column; align-items: center; text-align: left; }
  .about-image { flex: none; width: 100%; max-width: 280px; }
}
@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 20px 24px; gap: 18px; box-shadow: 0 12px 20px rgba(0,0,0,.06);
    transform: translateY(-130%); transition: transform .25s ease; z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .hero-inner { flex-direction: column; }
  .hero-image-wrap { order: -1; flex: none; width: 100%; max-width: 260px; }
  .hero::before { width: 480px; height: 380px; left: -160px; top: -30px; }
  .hero-text h1 { font-size: 1.9rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-gallery-stack { flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
  .about-gallery-item { width: calc(50% - 5px); }
}
