/* ============================================================
   Dr. Alexandru-Rareș Stoian – Mobile Responsive
   css/mobile.css · © 2026
   Breakpoints: 1200px · 1024px · 768px · 480px · 360px
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   TABLET MARE — 1200px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .hero-left { padding: 9rem 3.5rem 6rem 3.5rem; }

  .hero-name { font-size: 4rem; }

  .hero-badge {
    top: 2rem; right: 2rem;
    padding: 0.8rem 1.2rem;
  }
  .hero-badge-line2 { font-size: 0.9rem; }

  .hero-stats { right: 2rem; bottom: 2.5rem; gap: 2rem; }
  .stat-num   { font-size: 2.2rem; }

  .comp-grid  { grid-template-columns: repeat(3, 1fr); }
  .assoc-list { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════════════════════
   TABLET — 1024px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Nav */
  nav { padding: 1.1rem 2rem; }
  nav.scrolled { padding: 0.8rem 2rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.68rem; }

  /* Hero */
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-left { padding: 8rem 2.5rem 5rem 2.5rem; }
  .hero-name  { font-size: 3.2rem; }
  .hero-title-tag { font-size: 0.95rem; }
  .hero-desc  { font-size: 0.85rem; max-width: 100%; }

  .hero-badge { top: 2rem; right: 1.5rem; }
  .hero-stats { right: 1.5rem; bottom: 2rem; gap: 1.5rem; }
  .stat-num   { font-size: 2rem; }

  /* Sections */
  .section-pad,
  .competente,
  .certificate-section,
  .asociatii  { padding: 5rem 2.5rem; }

  .about,
  .experienta,
  .contact    { padding: 5rem 2.5rem; gap: 3rem; }

  /* Competente */
  .comp-grid  { grid-template-columns: repeat(2, 1fr); }

  /* Certificate */
  .cert-grid  { grid-template-columns: repeat(2, 1fr); }

  /* Asociatii */
  .assoc-list { grid-template-columns: repeat(2, 1fr); }

  /* Quote */
  .quote-banner { padding: 3rem 3rem; }
  .quote-banner::before { font-size: 10rem; }
  .quote-banner::after  { font-size: 10rem; }

  /* Footer */
  footer { padding: 2rem 2.5rem; }
}

/* ══════════════════════════════════════════════════════════
   MOBIL — 768px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAV ── */
  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* ── HERO ── */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* Pe mobil arătăm poza ca fundal semi-transparent în hero */
  .hero-right {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }
  .hero-photo-wrap {
    min-height: unset;
    height: 100%;
  }
  .hero-photo-wrap img {
    height: 100%;
    object-position: center 15%;
    filter: brightness(0.25) contrast(1.1);
  }
  .hero-photo-overlay {
    background: linear-gradient(to bottom, rgba(12,26,46,0.5) 0%, rgba(12,26,46,0.85) 100%);
  }
  .hero-stats  { display: none; }
  .hero-badge  { display: none; }
  .hero-bg-line{ display: none; }

  .hero-left {
    position: relative;
    z-index: 2;
    padding: 7rem 1.5rem 4rem 1.5rem;
    min-height: 100vh;
    justify-content: center;
  }
  .hero-eyebrow span { font-size: 0.6rem; letter-spacing: 0.2em; }
  .hero-name  { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-title-tag {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-desc  {
    font-size: 0.85rem;
    line-height: 1.85;
    margin-bottom: 2rem;
    max-width: 100%;
  }
  .hero-btns  { flex-direction: column; gap: 0.8rem; }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.7rem;
  }

  /* Stats pe mobil — sub hero într-un strip */
  .hero-stats-mobile {
    display: flex !important;
    justify-content: space-around;
    background: var(--navy-mid);
    border-top: 1px solid rgba(184,154,90,0.15);
    border-bottom: 1px solid rgba(184,154,90,0.15);
    padding: 1.5rem 1rem;
  }

  /* ── MEDIA STRIP ── */
  .media-strip-inner {
    grid-template-columns: 1fr;
    height: auto;
  }
  .media-thumb      { height: 220px; }
  .media-divider    { width: 100%; height: 1px; }

  /* ── ABOUT ── */
  .about {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem;
    gap: 2.5rem;
  }
  .about-text p:first-child::first-letter {
    font-size: 3rem;
  }
  .about-photo-main img  { height: 260px; }
  .about-photo-main.tall img { height: 200px; }

  /* ── COMPETENTE ── */
  .competente { padding: 4rem 1.5rem; }
  .competente::before { display: none; }
  .comp-grid  { grid-template-columns: 1fr; }
  .comp-item  { padding: 1.8rem 1.5rem; }
  .comp-num   { font-size: 2.2rem; }

  /* ── QUOTE ── */
  .quote-banner {
    padding: 2.5rem 1.5rem;
  }
  .quote-banner::before,
  .quote-banner::after { font-size: 7rem; }
  .quote-text { font-size: 1.2rem; }

  /* ── EXPERIENTA ── */
  .experienta {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem;
    gap: 2.5rem;
  }
  /* Timeline redus pe mobil */
  .timeline-line { left: 60px; }
  .tl-item {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .tl-item::before { left: 53px; }
  .tl-date  { font-size: 0.6rem; padding-right: 0.3rem; }
  .tl-role  { font-size: 1rem; }
  .tl-place { font-size: 0.68rem; }
  .tl-desc  { font-size: 0.78rem; }

  .exp-photo img { height: 200px !important; }

  /* ── CERTIFICATE ── */
  .certificate-section { padding: 4rem 1.5rem; }
  .cert-grid  { grid-template-columns: 1fr; }
  .cert-item  {
    border-right: none !important;
    padding: 1.2rem 1.5rem;
  }

  /* ── ASOCIATII ── */
  .asociatii  { padding: 4rem 1.5rem; }
  .assoc-list { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .assoc-item { padding: 1.2rem 1rem; }
  .assoc-name { font-size: 0.78rem; }

  /* ── CONTACT ── */
  .contact {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem;
    gap: 2.5rem;
  }
  .contact-desc { font-size: 0.85rem; margin-bottom: 2rem; }
  .contact-photo img { height: 240px; }
  .contact-right h3 { font-size: 1.6rem; }
  .contact-right .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 0.68rem;
  }

  /* ── FOOTER ── */
  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }

  /* ── TITLURI SECTIUNI ── */
  .section-title { font-size: 1.9rem; }
}

/* ══════════════════════════════════════════════════════════
   MOBIL MIC — 480px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-name  { font-size: 2.2rem; }
  .hero-eyebrow span { display: none; } /* prea lung pe ecrane mici */
  .hero-eyebrow::before { display: none; }

  .hero-title-tag { font-size: 0.85rem; }
  .hero-desc  { font-size: 0.82rem; }

  .section-title { font-size: 1.7rem; }
  .section-eyebrow { font-size: 0.58rem; }

  .assoc-list { grid-template-columns: 1fr; }

  .tl-item { grid-template-columns: 50px 1fr; gap: 1.2rem; }
  .timeline-line { left: 50px; }
  .tl-item::before { left: 44px; }

  .comp-num { font-size: 2rem; }

  .quote-text { font-size: 1.1rem; }

  .about-cards .about-card {
    grid-template-columns: 1fr;
  }
  .about-card-icon { display: none; }

  nav { padding: 0.9rem 1rem; }
  .nav-logo { font-size: 0.9rem; }
}

/* ══════════════════════════════════════════════════════════
   MOBIL FOARTE MIC — 360px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-name  { font-size: 1.95rem; }
  .hero-left  { padding: 6rem 1rem 3rem 1rem; }

  .competente,
  .about,
  .experienta,
  .certificate-section,
  .asociatii,
  .contact    { padding: 3rem 1rem; }

  .section-pad { padding: 3rem 1rem; }

  .section-title { font-size: 1.5rem; }

  .tl-item { grid-template-columns: 44px 1fr; gap: 1rem; }
  .timeline-line { left: 44px; }
  .tl-item::before { left: 38px; }

  .btn-primary,
  .btn-secondary { font-size: 0.65rem; padding: 0.85rem 1.2rem; }

  footer { padding: 1.5rem 1rem; }
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE MOBILE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .page-header  { padding: 7rem 2rem 3.5rem; }
  .breadcrumb   { padding: 0.9rem 2rem; }
  .contact-main { grid-template-columns: 1fr; }
  .contact-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 4rem 2rem;
  }
  .contact-right { padding: 4rem 2rem; }
}

@media (max-width: 768px) {
  .page-header  { padding: 6rem 1.5rem 3rem; }
  .page-header h1 { font-size: 2.2rem; }
  .breadcrumb   { padding: 0.9rem 1.5rem; }
  .contact-left { padding: 3rem 1.5rem; }
  .contact-right{ padding: 3rem 1.5rem; }
  .form-row     { grid-template-columns: 1fr; gap: 0; }
  .cl-title     { font-size: 1.7rem; }
  .social-row   { flex-wrap: wrap; }
  .social-btn   { flex: 1; justify-content: center; min-width: 120px; }
  .btn-submit   { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .page-header h1 { font-size: 1.9rem; }
  .form-header h2 { font-size: 1.6rem; }
  .info-item      { gap: 1rem; }
  .info-icon      { width: 36px; height: 36px; font-size: 0.85rem; }
}

/* ══════════════════════════════════════════════════════════
   TOUCH DEVICES — dezactivează hover effects
   ══════════════════════════════════════════════════════════ */
@media (hover: none) {
  .media-thumb img    { filter: brightness(0.75); }
  .about-card:hover   { transform: none; }
  .cert-item:hover    { transform: none; }
  .btn-primary:hover  { transform: none; box-shadow: none; }
}
