/*
Theme Name: ABMP - Asociația Azi Burlești Mâine Pretutindeni
Theme URI: https://www.asociatiaabmp.ro
Author: Asociația ABMP
Author URI: https://www.asociatiaabmp.ro
Description: Temă modernă pentru Asociația Azi Burlești Mâine Pretutindeni. Landing page cu secțiuni Hero, Despre noi, Obiective, Donații, Formular de contact, Galerie foto și Acțiuni.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abmp
Tags: custom-background, custom-logo, featured-images, one-column, full-width-template
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ===== VARIABILE CULORI ===== */
:root {
  --bg-default: #FAFAF9;
  --bg-alt: #F5F3ED;
  --text-primary: #111a14;
  --text-secondary: #2D3529;
  --text-accent: #2C5E3B;
  --brand-primary: #2C5E3B;
  --brand-hover: #224A2E;
  --brand-secondary: #D49A5C;
  --brand-accent: #B76D49;
  --border: #E5E7E2;
}

/* ===== GLOBAL ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-default);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }
::selection { background: var(--brand-primary); color: #fff; }

/* ===== ANIMAȚII ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-10px) translateX(-50%); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s;
}
.navbar.scrolled {
  background: rgba(250,250,249,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229,231,226,0.5);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.navbar .nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.navbar .nav-logo img { height: 120px !important; width: auto !important; max-height: 120px; transition: transform 0.3s; }
.navbar .nav-logo:hover img { transform: scale(1.05); }
.navbar.hero-active .nav-logo img { filter: brightness(0) invert(1); }
.navbar .nav-links { display: flex; align-items: center; gap: 40px; }
.navbar .nav-link {
  font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.03em; transition: color 0.3s;
  position: relative;
}
.navbar .nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  height: 2px; width: 0; transition: width 0.3s;
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { width: 100%; }

.navbar.hero-active .nav-link { color: rgba(255,255,255,0.8); }
.navbar.hero-active .nav-link:hover, .navbar.hero-active .nav-link.active { color: #fff; }
.navbar.hero-active .nav-link::after { background: #fff; }
.navbar.scrolled .nav-link, .navbar:not(.hero-active) .nav-link { color: var(--text-primary); }
.navbar.scrolled .nav-link:hover, .navbar:not(.hero-active) .nav-link:hover { color: var(--brand-primary); }
.navbar.scrolled .nav-link::after, .navbar:not(.hero-active) .nav-link::after { background: var(--brand-primary); }
.navbar.scrolled .nav-link.active, .navbar:not(.hero-active) .nav-link.active { color: var(--brand-primary); }

.btn-donate-nav {
  display: flex; align-items: center; gap: 8px;
  background: var(--brand-primary); color: #fff;
  padding: 10px 24px; border-radius: 9999px;
  font-family: 'Manrope'; font-size: 14px; font-weight: 600;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-donate-nav:hover { background: var(--brand-hover); transform: scale(1.02); }

/* Mobile menu */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu { display: none; }

@media (max-width: 768px) {
  .navbar .nav-inner { padding: 0 24px; }
  .navbar .nav-links { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; }
  .navbar.hero-active .mobile-toggle { color: #fff; }
  .mobile-menu.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: rgba(250,250,249,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 24px; }
  .mobile-menu a { display: block; padding: 12px 16px; border-radius: 12px; font-family: 'Manrope'; font-weight: 500; color: var(--text-primary); }
  .mobile-menu a:hover { background: var(--bg-alt); }
  .mobile-menu .btn-donate-mobile { display: block; margin-top: 16px; text-align: center; background: var(--brand-primary); color: #fff; padding: 12px; border-radius: 9999px; font-weight: 600; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay-1 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(30,46,35,0.8), rgba(30,46,35,0.6), transparent); }
.hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,46,35,0.4), transparent); }
.hero-content {
  position: relative; z-index: 10; max-width: 1280px; margin: 0 auto;
  padding: 128px 48px 96px; width: 100%;
}
.hero-content .inner { max-width: 640px; }
.hero-overline {
  display: inline-block; font-family: 'Manrope'; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em; color: var(--brand-secondary); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 300; color: #fff;
  line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero h1 .italic { font-weight: 500; font-style: italic; }
.hero h1 .gold { color: var(--brand-secondary); }
.hero-desc { font-family: 'Manrope'; font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 40px; max-width: 560px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-hero-primary {
  display: flex; align-items: center; gap: 12px;
  background: var(--brand-primary); color: #fff;
  padding: 16px 32px; border-radius: 9999px;
  font-family: 'Manrope'; font-weight: 600; font-size: 16px;
  transition: all 0.3s; box-shadow: 0 10px 25px rgba(44,94,59,0.2);
}
.btn-hero-primary:hover { background: var(--brand-hover); transform: scale(1.02); }
.btn-hero-secondary {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); color: #fff;
  padding: 16px 32px; border-radius: 9999px;
  font-family: 'Manrope'; font-weight: 600; font-size: 16px;
  border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); }
.hero-arrow { position: absolute; bottom: 32px; left: 50%; animation: bounce 2s infinite; color: rgba(255,255,255,0.6); }

@media (max-width: 640px) {
  .hero-content { padding: 120px 24px 80px; }
  .hero-buttons { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
}

/* ===== MARQUEE ===== */
.marquee-ribbon {
  background: var(--bg-alt); padding: 20px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: flex; animation: scroll 30s linear infinite;
}
.marquee-track span {
  margin: 0 48px; font-family: 'Cormorant Garamond'; font-size: 24px;
  font-weight: 500; font-style: italic; color: rgba(58,66,53,0.5); flex-shrink: 0;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECȚIUNI ===== */
.section { padding: 96px 0; }
.section-lg { padding: 128px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 640px) { .container { padding: 0 24px; } .section { padding: 64px 0; } }
.section-overline {
  display: inline-block; font-family: 'Manrope'; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--brand-primary); margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; color: var(--text-primary); letter-spacing: -0.02em; }
.section-desc { font-family: 'Manrope'; font-size: 18px; color: var(--text-secondary); line-height: 1.7; }

/* ===== DESPRE NOI ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.about-text p { font-family: 'Manrope'; font-size: 17px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; }
.about-text .bold { font-weight: 600; color: var(--text-primary); }
.about-img-wrap { position: relative; }
.about-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--brand-primary); color: #fff; padding: 24px; border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); max-width: 240px;
}
.about-badge .year { font-family: 'Cormorant Garamond'; font-size: 36px; font-weight: 700; margin-bottom: 4px; }
.about-badge .desc { font-family: 'Manrope'; font-size: 14px; color: rgba(255,255,255,0.8); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--brand-primary); font-family: 'Manrope'; font-weight: 600; margin-top: 24px;
  transition: gap 0.3s;
}
.link-arrow:hover { gap: 20px; }
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ===== IMPACT COUNTERS ===== */
.impact { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.counters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.counter-item .icon-wrap {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
}
.counter-item .number { font-family: 'Cormorant Garamond'; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700; }
.counter-item .label { font-family: 'Manrope'; font-size: 16px; color: var(--text-secondary); margin-top: 12px; font-weight: 500; }
@media (max-width: 640px) { .counters-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ===== OBIECTIVE GRID ===== */
.objectives-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.obj-card {
  background: var(--bg-default); border: 1px solid var(--border); border-radius: 16px; padding: 24px;
  transition: all 0.3s; cursor: default;
}
.obj-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: rgba(44,94,59,0.3); }
.obj-card.large { grid-column: span 2; grid-row: span 2; padding: 40px; }
.obj-card.wide { grid-column: span 2; }
.obj-card .icon-box {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(44,94,59,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--brand-primary);
}
.obj-card h3 { font-size: 20px; font-weight: 500; color: var(--text-primary); margin-bottom: 8px; }
.obj-card.large h3 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); }
.obj-card p { font-family: 'Manrope'; font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 768px) { .objectives-grid { grid-template-columns: 1fr; } .obj-card.large, .obj-card.wide { grid-column: span 1; grid-row: span 1; padding: 24px; } }

/* ===== DONATE CTA ===== */
.donate-cta-box {
  background: var(--brand-primary); border-radius: 24px; overflow: hidden; position: relative;
}
.donate-cta-inner { position: relative; z-index: 10; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.donate-cta-inner h2 { font-size: clamp(1.875rem, 3.5vw, 3rem); font-weight: 500; color: #fff; line-height: 1.15; margin-bottom: 24px; }
.donate-cta-inner h2 .gold { font-style: italic; color: var(--brand-secondary); }
.donate-cta-inner .desc { font-family: 'Manrope'; font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 32px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--brand-primary);
  padding: 16px 32px; border-radius: 9999px;
  font-family: 'Manrope'; font-weight: 600; transition: all 0.3s;
}
.btn-white:hover { background: var(--bg-alt); transform: scale(1.02); }
.bank-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: 16px; padding: 24px; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.bank-card .label { font-family: 'Manrope'; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-secondary); margin-bottom: 8px; }
.bank-card .iban { font-family: 'Manrope'; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: 0.03em; word-break: break-all; }
@media (max-width: 1024px) { .donate-cta-inner { grid-template-columns: 1fr; padding: 24px; } }
@media (min-width: 640px) { .donate-cta-inner { padding: 64px; } }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.contact-info-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-info-item .icon-box { width: 40px; height: 40px; border-radius: 12px; background: rgba(44,94,59,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item span, .contact-info-item a { font-family: 'Manrope'; color: var(--text-secondary); }
.contact-info-item a:hover { color: var(--brand-primary); }

input[type="text"], input[type="email"], textarea {
  width: 100%; padding: 14px 20px; border-radius: 12px;
  background: var(--bg-default); border: 1px solid var(--border);
  font-family: 'Manrope'; font-size: 16px; color: var(--text-primary);
  transition: border-color 0.3s; outline: none;
}
input:focus, textarea:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 1px var(--brand-primary); }
textarea { resize: none; }
label { display: block; font-family: 'Manrope'; font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 8px; }
.form-group { margin-bottom: 20px; }

.btn-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--brand-primary); color: #fff; padding: 16px; border-radius: 9999px;
  font-family: 'Manrope'; font-weight: 600; font-size: 16px; border: none; cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover { background: var(--brand-hover); }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ===== FOOTER ===== */
.footer { background: #1E2E23; color: #fff; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 80px; }
.footer-logo img { height: 160px !important; width: auto !important; max-height: 160px; filter: brightness(0) invert(1); margin-bottom: 2px; }
.footer p { font-family: 'Manrope'; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }
.footer h3 { font-size: 20px; font-weight: 500; margin-bottom: 24px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-family: 'Manrope'; color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.3s; }
.footer ul a:hover { color: #fff; }
.footer .motto { font-family: 'Cormorant Garamond'; font-size: 18px; font-style: italic; color: var(--brand-secondary); margin-top: 24px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-item svg { color: var(--brand-secondary); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== PAGINI INTERIOARE ===== */
.page-header { padding-top: 112px; padding-bottom: 0; }
.page-header h1 { font-size: clamp(3rem, 5vw, 3.75rem); margin-bottom: 24px; }

/* Articole */
.article-card {
  background: var(--bg-default); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; margin-bottom: 32px; transition: all 0.3s;
}
.article-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: rgba(44,94,59,0.2); }
.article-card-body { padding: 32px; }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: 'Manrope'; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 9999px; margin-right: 8px; margin-bottom: 16px; }
.badge-date { background: var(--bg-alt); color: var(--text-secondary); }
.badge-cat { background: rgba(44,94,59,0.1); color: var(--brand-primary); }
.article-card h3 { font-size: 28px; font-weight: 500; margin-bottom: 12px; }
.article-card p { font-family: 'Manrope'; color: var(--text-secondary); line-height: 1.7; }

/* Donații page */
.info-box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 24px; padding: 48px; margin-bottom: 40px; }
.info-box-dark { background: var(--brand-primary); border-radius: 24px; padding: 48px; margin-bottom: 40px; color: #fff; }
.info-box h2, .info-box-dark h2 { display: flex; align-items: center; gap: 12px; font-size: 28px; margin-bottom: 32px; }
.bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.bank-item { background: var(--bg-default); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.bank-item-dark { background: rgba(255,255,255,0.1); border-radius: 16px; padding: 24px; border: 1px solid rgba(255,255,255,0.1); }
.bank-item .label, .bank-item-dark .label { font-family: 'Manrope'; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-secondary); margin-bottom: 12px; }
.bank-item .iban { font-family: 'Manrope'; font-size: 18px; font-weight: 600; color: var(--text-primary); word-break: break-all; }
.bank-item-dark .iban { font-family: 'Manrope'; font-size: 18px; font-weight: 600; color: #fff; word-break: break-all; }
.how-box { background: rgba(255,255,255,0.1); border-radius: 16px; padding: 24px; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 40px; }
.how-box .label { font-family: 'Manrope'; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-secondary); margin-bottom: 12px; }
.how-box ul { list-style: none; }
.how-box li { font-family: 'Manrope'; font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.btn-dl {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: 9999px;
  font-family: 'Manrope'; font-weight: 600; font-size: 14px;
  transition: all 0.3s; margin-right: 12px; margin-bottom: 12px;
}
.btn-dl-white { background: #fff; color: var(--brand-primary); }
.btn-dl-white:hover { background: var(--bg-alt); }
.btn-dl-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-dl-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-dl-green { background: var(--brand-primary); color: #fff; }
.btn-dl-green:hover { background: var(--brand-hover); }

@media (max-width: 640px) { .bank-grid { grid-template-columns: 1fr; } .info-box, .info-box-dark { padding: 24px; } }

/* ===== GALERIE ===== */
.gallery-grid { columns: 3; gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,46,35,0.7), transparent);
  opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { font-family: 'Manrope'; color: #fff; font-weight: 600; font-size: 14px; }
.gallery-overlay small { font-family: 'Manrope'; color: rgba(255,255,255,0.7); font-size: 12px; }
@media (max-width: 1024px) { .gallery-grid { columns: 2; } }
@media (max-width: 640px) { .gallery-grid { columns: 1; } }

/* Filter buttons */
.filter-btn {
  padding: 8px 16px; border-radius: 9999px; font-family: 'Manrope'; font-size: 14px;
  font-weight: 500; border: none; cursor: pointer; transition: all 0.3s;
  background: var(--bg-alt); color: var(--text-secondary); margin-right: 8px; margin-bottom: 8px;
}
.filter-btn:hover { background: rgba(44,94,59,0.1); color: var(--brand-primary); }
.filter-btn.active { background: var(--brand-primary); color: #fff; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--brand-primary); border-radius: 4px; }
