/* ================================
   BAZE & VARIABILE
================================ */

:root {
  --color-bg: #f3f4f6;
  --color-surface: #ffffff;
  --color-primary: #1d4ed8;
  --color-primary-dark: #1e40af;
  --color-accent: #16a34a;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-header-bg: #0f172a;
  --color-footer-bg: #020617;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* eliminăm linkurile mov */
a,
a:visited {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-dark);
}

/* Container generic */

.md-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ================================
   HEADER – logo mare centrat + meniu jos
================================ */

/* background general header */
.md-header {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
  margin-bottom: 24px;
}

/* bandă cu logo */
.md-header-top {
  background: var(--color-header-bg);
  color: #e5e7eb;
  padding: 16px 0 10px 0;
}

.md-header-top .md-container {
  text-align: center;
}

/* LOGO MARE, CENTRAT */
.md-logo {
  display: inline-block;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  padding: 6px 18px;
  border: 2px solid var(--color-primary);
  background: #0b1120;
}

.md-logo span {
  color: #f97316; /* portocaliu cald pentru accent */
}

/* slogan sub logo */
.md-slogan {
  margin-top: 6px;
  font-size: 14px;
  color: #cbd5f5;
}

/* bandă cu meniu */

.md-nav-bar {
  background: var(--color-primary);
}

/* Meniu pe un singur rând, centrat */
.md-nav {
  list-style: none;
  display: flex;          /* AICI îl punem pe un rând */
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 10px 0;
}

.md-nav li {
  /* nimic special, lăsat curat */
}

.md-nav a {
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 500;
}

.md-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ================================
   MAIN CONTENT
================================ */

.md-main {
  padding: 0 0 40px 0;
}

.md-card {
  background: var(--color-surface);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: 0 10px 15px -10px rgba(15, 23, 42, 0.15);
  margin-top: 16px;
}

/* ================================
   HERO SECTION (HOME)
================================ */

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.hero-content {
  flex: 1 1 320px;
}

.hero-eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.hero-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-lead {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.hero-cta {
  margin-bottom: 18px;
}

/* BUTON WHATSAPP ALBASTRU */

.btn-whatsapp {
  display: inline-block;
  background: var(--color-primary);
  color: #ffffff;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.btn-whatsapp:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

/* HERO IMAGINE */

.hero-media {
  flex: 1 1 280px;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ================================
   SECTIUNI GENERALE
================================ */

.section {
  margin-bottom: 28px;
}

.section h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.section h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.section p {
  margin-bottom: 8px;
}

.section ul,
.section ol {
  margin-left: 20px;
  margin-bottom: 8px;
}

.section ul li,
.section ol li {
  margin-bottom: 4px;
}

/* ================================
   GRID IMAGINI
================================ */

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* ================================
   FOOTER
================================ */

.site-footer {
  background: var(--color-footer-bg);
  color: #e5e7eb;
  padding: 28px 0 16px 0;
  margin-top: 24px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #1f2937;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-col p {
  font-size: 14px;
  color: #d1d5db;
  margin-bottom: 6px;
}

.footer-col a,
.footer-col a:visited {
  display: block;
  font-size: 14px;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.footer-col a:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

.footer-whatsapp {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 6px;
}

.footer-bottom {
  padding-top: 10px;
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}

/* ================================
   RESPONSIVE (mobil)
================================ */

@media (max-width: 768px) {
  .md-logo {
    font-size: 26px;
  }

  .md-card {
    padding: 18px;
    margin-top: 12px;
  }

  .hero {
    flex-direction: column;
  }

  .hero-title {
    font-size: 22px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}
/* ===========================================
   BUTON WHATSAPP – albastru permanent, text alb,
   efect subtil la hover (nu invertim culorile)
   =========================================== */

.btn-whatsapp {
  display: inline-block;
  background: #2563eb !important;      /* albastru permanent */
  color: #ffffff !important;           /* text alb permanent */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1d4ed8 !important;       /* puțin mai închis */
  color: #ffffff !important;            /* text alb, nu se schimbă */
  transform: translateY(-2px);          /* efect subtil de ridicare */
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.45);
}

/* ---------------------------------------------------------- */
/* Sticky footer (footer mereu jos, din cap in cap)           */
/* ---------------------------------------------------------- */

html,
body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* presupunem că headerul este sus, footerul jos;
   orice alt conținut va sta între ele */
.site-footer {
    margin-top: auto;
    flex-shrink: 0;
}

/* =========================================================
   FOOTER FINAL – FULL WIDTH, FIXAT JOS, CUVINTE CHEIE VERY SMALL
   ========================================================= */

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* footer fix jos */
.site-footer {
    margin-top: auto;
    flex-shrink: 0;
}

/* full width din cap în cap */
.site-footer {
    background-color: #050f24;
    color: #ffffff;
    padding: 40px 0 20px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* container interior */
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* coloane */
.site-footer .footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.site-footer .footer-col {
    min-width: 180px;
}

.site-footer .footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.site-footer .footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-col ul li {
    margin-bottom: 6px;
}

.site-footer .footer-col a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer .footer-col a:hover {
    text-decoration: underline;
}

/* telefon */
.footer-phone {
    display: inline-block;
    margin-top: 4px;
    font-weight: 700;
}

/* =============================
   CUVINTE CHEIE SEO
   ============================= */

.footer-col-keywords {
    flex: 1 1 50%;
    max-width: 600px;
}

.footer-keywords {
    font-size: 9px;                /* FOARTE MIC */
    line-height: 1.2;
    color: #0a1428;                /* aproape identic cu fundalul */
    opacity: 0.30;                 /* abia vizibil, dar indexabil */
    margin: 0;
    padding: 0;
    user-select: text;             /* să poți selecta */
}

/* fără hover alb */
.footer-keywords:hover {
    color: #0a1428;
    opacity: 0.30;
    cursor: default;
}

/* bara de jos */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #d0d7eb;
}

/* responsive */
@media (max-width: 768px) {
    .site-footer .footer-columns {
        flex-direction: column;
        gap: 24px;
    }
    .footer-col-keywords {
        max-width: none;
    }
}


/* ================================
   BREADCRUMBS (firimituri de navigare)
================================ */

.breadcrumbs {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--color-muted);
}

.breadcrumbs a {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}


.inlink {
  font-weight: 600;
  text-decoration: underline;
  color: #1d4ed8;
}
.inlink:hover {
  color: #0a247a;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.blog-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 16px;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}

.blog-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
