:root {
  --primary: #e56aa5;
  --dark: #222;
  --light: #fff;
  --muted: #666;
  --bg: #f9f5f7;
  --accent: #8b3d69;
}

* { box-sizing: border-box; }

/* Fundal general */
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
header, nav, main, section, footer { width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--light);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #eee;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.brand img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }
.menu { display: flex; gap: 18px; }
.menu a { color: var(--dark); font-weight: 500; }

/* Butoane CTA */
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.cta-btn:hover { background: #cf5c96; }

.secondary-btn {
  background: var(--light);
  color: var(--accent);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #eee;
  font-weight: 600;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 40px 0;
}
.hero h1 { font-size: 40px; line-height: 1.2; margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0 0 18px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  border: 1px solid #eee;
  background: var(--bg);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-img img { width: 100%; height: 100%; object-fit: contain;  background: var(--bg);}

/* Secțiuni */
.section { padding: 50px 0; }
.section h2 { margin: 0 0 12px; font-size: 28px; }
.section p.lead { color: var(--muted); margin: 0 0 24px; }

/* Carduri servicii */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--light);
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 160px; object-fit: cover; }
.card .content { padding: 14px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.meta { color: var(--muted); font-size: 14px; }
.price { font-weight: 700; color: var(--accent); }

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery .item {
  background: var(--light);
  border: 1px solid #eee;
  border-radius: 10px;
  height: 160px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.gallery .item img { width: 100%; height: 100%; object-fit: cover; }

/* Testimoniale */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  background: var(--light);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
}
.quote p { margin: 0 0 10px; }
.quote .author { color: var(--muted); font-size: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.contact-card {
  background: var(--light);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 8px; }
.map {
  background: var(--light);
  border: 1px solid #eee;
  border-radius: 12px;
  height: 200px;
  display: grid;
  place-items: center;
}

/* Footer */
footer {
  background: var(--light);
  border-top: 1px solid #eee;
  margin-top: 30px;
  padding: 30px 20px;
  font-size: 14px;
  color: var(--dark);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  width: 48px;
  height: auto;
  margin-bottom: 10px;
}

.footer-brand {
  line-height: 1.5;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copyright {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-center a,
.footer-right a {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.footer-center a:hover,
.footer-right a:hover {
  text-decoration: underline;
}

.footer-right span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

/* Responsiv */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
}

/* Booking form */
.booking-section {
  padding: 40px 20px;
  background: var(--bg);
}
.booking-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.form-inline { display: flex; gap: 20px; }

/* Meniu activ */
.menu a.active {
  font-weight: bold;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

/* Alert succes */
.alert-success {
  background: #dff0d8;
  color: #3c763d;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 600;
  border: 1px solid #c3e6cb;
}

/* Card container special (pentru confirmare/anulare) */
.card-container {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

/* Ascundere servicii extra */
.hidden { display: none; }

/*Ajusteaza scroll */
section[id] {
  scroll-margin-top: 60px; /* ajustează în funcție de înălțimea headerului */
}

/*stelute la feedback */
.stars {
    display: flex;
    gap: 8px;
    font-size: 28px;
    cursor: pointer;
}
.star {
    color: #ccc;
    transition: color 0.2s;
}
.star.selected {
    color: #e91e63; /* rozul folosit pe site */
}
.stars {
    display: flex;
    gap: 8px;
    font-size: 28px;
    cursor: pointer;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.star {
    color: #ccc;
    transition: color 0.2s;
}

.star.selected,
.star.hovered {
    color: #e91e63;
}

.btn-primary {
    background-color: #e91e63;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #d81b60;
}


.programari-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.programari-table th, .programari-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.programari-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  }

  .nav-welcome {
    margin-left: 20px;
    font-weight: 600;
    color: #e91e63;
}
.user-menu {
  position: relative;
  display: inline-block;
  margin-left: 12px;
}

.user-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.user-icon img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
}

.dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 8px 0;
  z-index: 1000;
  min-width: 160px;
}

.dropdown a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #333;
}

.dropdown a:hover {
  background-color: #f5f5f5;
}

.hidden {
  display: none;
}

.terms-group {
  display: flex;
  align-items: flex-start;
}

.terms-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
}

.terms-label input[type="checkbox"] {
  margin-top: 2px;
}

/* Fix checkbox alignment */
.terms-group {
  display: flex !important;
  align-items: flex-start !important;
}

.terms-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.terms-label input[type="checkbox"] {
  margin: 0;
  margin-top: 2px;
}

.terms-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  flex-wrap: nowrap;
  white-space: normal;
}

.terms-inline input[type="checkbox"] {
  margin: 0;
  transform: scale(1.1);
  accent-color: var(--primary);
}

.terms-inline label {
  display: inline;
  margin: 0;
  padding: 0;
}


.terms-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  flex-wrap: nowrap;
}

.terms-row input[type="checkbox"] {
  margin: 0;
  margin-right: 8px;  /* echivalentul celor 1–2 spații */
  transform: scale(1.1);
  accent-color: var(--primary);
}

.terms-text {
  white-space: nowrap;
}

.terms-text a {
  color: var(--accent);
  text-decoration: none;
}

.terms-text a:hover {
  text-decoration: underline;
}