/* Stiluri specifice paginii de Craciun.
 *
 * Pagina avea 1306 linii de CSS scrise inline, in <style>, din care JUMATATE
 * redefineau componente care exista deja in app.css: .btn, .hero, .badge,
 * .gallery-grid, .section-title si inca 42 de clase, plus un bloc :root care
 * rescria toate cele 14 variabile de culoare cu valori usor diferite. De aceea
 * pagina arata altfel decat restul site-ului, desi folosea aceleasi nume de clase.
 *
 * Aici raman doar regulile fara corespondent in app.css: decorurile si modalul
 * lor, cardurile de contact, alertele de formular. Restul vine din app.css, ca
 * pe orice alta pagina.
 *
 * ATENTIE la regulile cu selectori multipli: e destul ca una din clase sa fie
 * comuna cu app.css ca regula sa calce peste stilul site-ului. Asa scapase
 * „.hero-ctas .btn" intr-o lista care incepea cu .decor-card, si forta textul
 * butonului principal pe culoarea inchisa, in loc de alb.
 *
 * Se incarca dupa app.css, prin $extraHeadHtml din craciun/index.php.
 */
* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
html {
  scroll-behavior: smooth;
}
body {
      font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: radial-gradient(circle at top, #f5ece5 0, #fff9f4 60%, #f1e4da 100%);
      color: var(--text);
      line-height: 1.5;
      min-height: 100vh;
    }h1,
h2,
h3,
h4 {
      font-family: "Playfair Display", serif;
    }
a {
      color: inherit;
      text-decoration: none;
    }
img {
      max-width: 100%;
      display: block;
    }
header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1rem 1.5rem;
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(16px);
      background: linear-gradient(to bottom, rgba(255, 249, 244,0.95), rgba(255, 249, 244,0.4), transparent);
    }
/* SECTIONS GENERALE */
    section {
      margin-top: 2.5rem;
    }
/* responșive â€“ pe mobil sa nu para â€žmasaâ€ť mare */
@media (max-width: 640px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 18px;
  }
  }
form {
      background: radial-gradient(circle at top, #fffaf6, #f2e7de);
      border-radius: var(--radius-lg);
      padding: 1.2rem;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: var(--shadow-soft);
      font-size: 0.85rem;
    }
label {
      display: block;
      margin-bottom: 0.25rem;
      font-size: 0.78rem;
      color: var(--text-muted);
    }input,
select,
textarea {
      width: 100%;
      padding: 0.55rem 0.7rem;
      border-radius: 10px;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(3,5,18,0.9);
      color: var(--text);
      font-family: inherit;
      font-size: 0.82rem;
      outline: none;
      transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out;
    }input:focus,
select:focus,
textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px rgba(198, 144, 123, 0.4);
    }
textarea {
      min-height: 90px;
      reșize: vertical;
    }
footer {
      margin-top: 2.2rem;
      padding: 1rem .5rem 0;
      font-size: .85rem;
      color: var(--text-muted);
      border-top: 1px solid var(--border);
      text-align: center;
    }
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }h1,
h2,
h3,
h4 {
      font-family: "Playfair Display", serif;
    }
/* RESPONSIVE */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .decor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  /* înlocuit grid cu coloane pentru masonry */
  .form-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}/* Ascundem pe desktop,
aratam doar pe mobil */
@media (min-width: 641px) {
  .btn-fab {
    display: none;
  }
}
.social-links {
  margin-top: auto;          /* Ă®mpinge sec?iunea la baza cardului */
  text-align: center;        /* centreaza pe orizontala */
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.6rem;
}
.social-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.social-links a:hover {
  text-decoration: underline;
}
.hero-kicker-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hero-signature-inline {
  font-family: 'Great Vibes', cursive;
  font-size: 1.3rem;
  color: var(--accent);
  opacity: 0.95;
  transform: translateY(1px);
}
.hero-signature-inline span {
  color: var(--accent);
}
.hero-note {
      font-size: 0.78rem;
      color: var(--text-muted);
    }
.hero-note strong {
      color: var(--accent);
      font-weight: 600;
    }
/* DECORURI */
    .decor-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.25rem;
    }
.decor-card {
  background: radial-gradient(circle at top, #fffaf6, #f2e7de);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 30px rgba(120, 96, 84, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}
.decor-image {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #c6907b33, #b8786333);
}
.decor-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}
.decor-type {
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--accent);
      margin-top: 0.25rem;
    }
.decor-card h3 {
      font-size: 0.95rem;
      margin-top: 0.1rem;
    }
.decor-card p {
      font-size: 0.8rem;
      color: var(--text-muted);
    }
/* PRETURI */
    .pricing-wrap {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 1.5rem;
      align-items: flex-start;
    }
.pricing-card {
      background: radial-gradient(circle at top left, #fffaf6, #f2e7de);
      border-radius: var(--radius-lg);
      padding: 1.25rem;
      border: 1px solid rgba(255,255,255,0.07);
      box-shadow: var(--shadow-soft);
    }
.price-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 0.5rem;
    }
.price-label {
      font-size: 0.85rem;
      color: var(--text-muted);
    }
.price-value {
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--accent);
    }
.pricing-note {
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-top: 0.35rem;
    }.inclus-list,
.info-list {
      margin-top: 0.8rem;
      font-size: 0.8rem;
      color: var(--text-muted);
      list-style: none;
    }.inclus-list li,
.info-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.4rem;
      margin-bottom: 0.3rem;
    }
.bullet {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent);
      margin-top: 0.35rem;
      flex-shrink: 0;
    }
.side-card {
      background: rgba(4,7,20,0.95);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(255,255,255,0.06);
      padding: 1.1rem;
      font-size: 0.8rem;
      color: var(--text-muted);
    }
.side-highlight {
      font-size: 0.9rem;
      margin-bottom: 0.75rem;
      color: var(--accent);
      font-weight: 600;
    }
/* FORM / CONTACT */
    .form-wrap {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
      gap: 1.5rem;
      margin-top: 1rem;
    }
.form-row {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
.form-group {
      margin-bottom: 0.75rem;
      flex: 1;
      min-width: 140px;
    }
.form-footnote {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 0.4rem;
    }
.contact-card {
  background: rgba(4,7,22,0.95);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.15rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* împinge jos secțiunea de social */
  gap: 0.85rem;
  min-height: 320px; /* ajusteaza în func?ie de cat de înalt vrei cardul */
}
.contact-highlight {
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--accent);
    }
.contact-row {
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
    }
.tag {
      display: inline-block;
      padding: 0.25rem 0.6rem;
      border-radius: var(--radius-pill);
      background: rgba(255,255,255,0.06);
      font-size: 0.7rem;
      margin-top: 0.3rem;
    }
.alert {
      font-size: 0.8rem;
      padding: 0.6rem 0.8rem;
      border-radius: 12px;
      margin-bottom: 0.7rem;
    }
.alert-success {
      background: rgba(46, 204, 113, 0.1);
      border: 1px solid rgba(46, 204, 113, 0.8);
      color: #b6f7ce;
    }
.alert-error {
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.85);
  color: #ffd6d9;
}
/* POPUP THANK YOU */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  background: rgba(82, 74, 68, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 16000;
  padding: 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.25s ease-out;
}
.thankyou-overlay.visible {
  display: flex;
  opacity: 1;
}
.thankyou-box {
  max-width: 420px;
  width: 100%;
  background: radial-gradient(circle at top, #f3e8df, #fff9f4);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(120, 96, 84, 0.25);
  padding: 1.5rem 1.7rem 1.3rem;
  text-align: center;
  position: relative;
}
.thankyou-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.thankyou-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #f5ffe8, #58d68d);
  color: #0b3d1f;
  font-size: 1.6rem;
  box-shadow: 0 12px 30px rgba(88,214,141,0.6);
}
.thankyou-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.thankyou-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.thankyou-actions {
  display: flex;
  justify-content: center;
}
/* MODAL DECORURI */
.decor-modal {
  position: fixed;
  inset: 0;
  background: rgba(82, 74, 68, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}
.decor-modal.visible {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.decor-modal-inner {
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  background: radial-gradient(circle at top, #f3e8df, #fff9f4);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(120, 96, 84, 0.25);
  overflow-y: auto;              /* ? scroll pe tot popup-ul */
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch; /* smooth scroll pe iOS */
}
.decor-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.3rem 0.6rem;
}
.decor-modal-title {
  font-size: 1.1rem;
  font-weight: 600;
}
.decor-modal-close {
  position: absolute;          /* fixăm X-ul în colț */
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 249, 244,0.85);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.18s ease-out, transform 0.12s ease-out;
}
.decor-modal-close:hover {
  background: rgba(198, 144, 123,0.95);
  color: #3b1d00;
  transform: translateY(-1px);
}
.decor-modal-body {
  padding: 0 1.3rem 1.3rem;
  overflow-y: auto;
}
.decor-modal-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.decor-modal-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.decor-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
}
.decor-modal-gallery .gallery-item {
  margin-bottom: 0; /* peste cel global */
}
.decor-modal-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
@media (max-width: 640px) {

  .decor-modal-inner {
    max-height: 88vh;
  }
}
@media (max-width: 640px) {

  .decor-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-right: 3rem; /* sa nu intre textul sub X */
  }
}
/* --- MASONRY pentru popup decoruri --- */
.decor-modal-gallery.masonry {
  column-count: 4;
  column-gap: 0.75rem;
}
.decor-modal-gallery.masonry .gallery-item {
  display: block;
  margin-bottom: 0.75rem;
  break-inșide: avoid-column;
  page-break-inșide: avoid;
  -webkit-column-break-inșide: avoid;
  border-radius: 14px;
  overflow: hidden;
}
.decor-modal-gallery.masonry img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  transition: transform 0.2s ease-out;
}
.decor-modal-gallery.masonry img:hover {
  transform: scale(1.03);
}
@media (max-width: 960px) {

  .decor-modal-gallery.masonry {
    column-count: 3;
  }
}
@media (max-width: 640px) {

  .decor-modal-gallery.masonry {
    column-count: 2;
  }
}
@media (max-width: 640px) {

  .decor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}.decor-card h3,
.decor-card p,
.decor-modal-title,
.decor-modal-text,
.decor-modal-tip,
.decor-modal-header,
.decor-modal-body {
    color: var(--text);
  }
.decor-modal {
    background: rgba(255, 249, 244, 0.9);
    color: var(--text);
  }
.decor-modal-inner {
    background: #fffaf6;
    border: 1px solid var(--border);
    color: var(--text);
  }
.decor-modal-close {
    color: var(--text);
    border: 1px solid rgba(198, 144, 123, 0.4);
  }
