*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Arial,sans-serif;
  background:#f4f7f2;
  color:#182319;
}
a{
  color:inherit;
  text-decoration:none;
}
.container{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
}
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(244,247,242,.95);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #dbe5d6;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:72px;
}
.logo{
  font-size:26px;
  font-weight:800;
  letter-spacing:.5px;
  color:#24452a;
}
.nav{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.nav a{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #c9d8c3;
  background:#fff;
}
.hero{
  padding:56px 0 30px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
}
.hero-card,
.panel,
.offer-card,
.form-card,
.info-card,
.rules-card{
  background:#fff;
  border:1px solid #d7e0d2;
  border-radius:24px;
  box-shadow:0 12px 30px rgba(23,34,23,.06);
}
.hero-card{
  padding:34px;
  min-height:320px;
  background:
    linear-gradient(135deg,rgba(30,76,43,.96),rgba(56,105,63,.9)),
    #26452b;
  color:#fff;
}
.hero-card h1{
  margin:0 0 14px;
  font-size:46px;
  line-height:1.05;
}
.hero-card p{
  margin:0 0 12px;
  font-size:18px;
  line-height:1.6;
  color:rgba(255,255,255,.9);
}
.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}
.hero-badge{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  font-size:14px;
}
.hero-slideshow{
  position:relative;
  min-height:360px;
  margin-bottom:24px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid #d7e0d2;
}
.hero-slideshow img{
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;
}
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .6s ease;
}
.hero-slide.active{
  opacity:1;
}
.selection-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  margin-bottom:32px;
}
.selection-card{
  background:#fff;
  border:1px solid #d7e0d2;
  border-radius:22px;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:200px;
}
.selection-card h3{
  margin:0 0 10px;
  font-size:20px;
  color:#214327;
}
.selection-card p{
  margin:0 0 18px;
  color:#5b705d;
  line-height:1.6;
}
.selection-card button{
  margin-top:auto;
  width:100%;
}
.calendar-panel{
  padding:24px;
  background:#fff;
  border:1px solid #d7e0d2;
  border-radius:24px;
  margin-bottom:32px;
}
.calendar-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}
.calendar-table{
  width:100%;
  border-collapse:collapse;
}
.calendar-table th,
.calendar-table td{
  border:1px solid #e3ebdf;
  padding:12px;
  vertical-align:top;
}
.calendar-table th{
  background:#f0f5ef;
  color:#27442d;
  font-weight:700;
}
.calendar-table td.outside-month{
  background:#f7faf6;
  color:#8a9b86;
}
.calendar-day{
  min-height:120px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.calendar-day .date-number{
  font-weight:700;
  color:#214327;
}
.status-line{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  font-size:12px;
}
.status-chip{
  padding:6px 8px;
  border-radius:999px;
  border:1px solid #d7e0d2;
}
.status-chip.libere{
  background:#ebf8ec;
  color:#214327;
}
.status-chip.ocupate{
  background:#fdf0f0;
  color:#841c1c;
}
.week-number{
  font-size:14px;
  font-weight:700;
  color:#24452a;
}
.week-status-row td{
  background:#f8faf7;
  color:#3b4f3c;
  padding:10px 12px;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.gallery-card{
  overflow:hidden;
  border-radius:20px;
  border:1px solid #d7e0d2;
  background:#fff;
}
.gallery-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}
.gallery-card .card-body{
  padding:16px;
}
.review-card{
  background:#fff;
  border:1px solid #d7e0d2;
  border-radius:18px;
  padding:18px;
  margin-bottom:16px;
}
.review-card h4{
  margin:0 0 8px;
}
.review-card p{
  margin:0;
  color:#4a5b4a;
}
.upload-section{
  display:grid;
  gap:18px;
}
@media (max-width:1080px){
  .selection-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .gallery-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:720px){
  .selection-grid,
  .gallery-grid{
    grid-template-columns:1fr;
  }
}
.info-card{
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.info-card h3{
  margin:0 0 12px;
  font-size:24px;
  color:#24452a;
}
.info-card p{
  margin:0 0 8px;
  line-height:1.6;
}
.section{
  padding:18px 0 32px;
}
.section h2{
  margin:0 0 18px;
  font-size:32px;
  color:#203824;
}
.offers-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.offer-card{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.offer-title{
  font-size:22px;
  font-weight:800;
  color:#214327;
}
.offer-subtitle{
  color:#5b705d;
  font-size:14px;
}
.offer-price{
  font-size:28px;
  font-weight:800;
  color:#173d22;
}
.offer-desc{
  color:#465948;
  line-height:1.6;
  min-height:70px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#eef7ec;
  border:1px solid #d1e2cc;
  color:#24452a;
  font-size:13px;
  width:max-content;
}
.panel{
  padding:24px;
}
.search-form{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  align-items:end;
}
.form-card{
  padding:24px;
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.form-row{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.form-row.full{
  grid-column:1 / -1;
}
.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}
label{
  font-size:14px;
  font-weight:700;
  color:#2d4331;
}
input,textarea,button,select{
  font:inherit;
}
input,textarea,select{
  width:100%;
  border:1px solid #cfdacd;
  background:#fbfdfb;
  border-radius:14px;
  padding:14px 15px;
  outline:none;
}
textarea{
  min-height:120px;
  resize:vertical;
}
button,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:0 18px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  background:#24452a;
  color:#fff;
  font-weight:700;
}
.btn-light{
  background:#edf4ea;
  color:#24452a;
  border:1px solid #cddaca;
}
.results-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.alert{
  margin:0 0 18px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid transparent;
}
.alert-success{
  background:#ebf8ec;
  border-color:#cae8cf;
  color:#214327;
}
.alert-error{
  background:#fff1f1;
  border-color:#f0caca;
  color:#8b1e1e;
}
.small{
  font-size:13px;
  color:#657767;
}
.footer{
  padding:30px 0 50px;
  color:#6a7a6c;
  text-align:center;
}
.rules-card{
  padding:28px;
  line-height:1.7;
}
.rules-card h1,
.rules-card h2{
  color:#214327;
}
.rules-list{
  margin:0;
  padding-left:20px;
}
.center{
  text-align:center;
}
@media (max-width:1000px){
  .hero-grid,
  .offers-grid,
  .results-grid,
  .search-form,
  .form-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:720px){
  .hero-grid,
  .offers-grid,
  .results-grid,
  .search-form,
  .form-grid{
    grid-template-columns:1fr;
  }
  .hero-card h1{
    font-size:34px;
  }
  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    padding:14px 0;
  }
}
/* Selecții dinamice */
.selection-card {
  cursor: pointer;
  transition: background-color 0.3s;
}
.selection-card.selected {
  background-color: #e8f5e8;
  border-color: #4caf50;
}
.selection-card:hover {
  background-color: #f5f5f5;
}

/* Ascundere statusuri */
.status-line .status-chip.cabana {
  display: none;
}
.fara_cabana .status-line .status-chip.cabana {
  display: inline-block;
}
.cabana_pompe .status-line .status-chip:not(.C1) {
  display: none;
}
.a_frame .status-line .status-chip:not(.C2) {
  display: none;
}
.studio .status-line .status-chip {
  display: none;
}
.proprietate .status-line .status-chip {
  display: none;
}

/* Zile selectate */
.calendar-day.selected {
  background-color: #c8e6c9;
}
.calendar-day.occupied {
  background-color: #ffcdd2;
  cursor: not-allowed;
}

/* Rânduri săptămână selectabile pentru studio */
.week-number {
  cursor: pointer;
}
.week-number.selected {
  background-color: #c8e6c9;
}
.week-number.occupied {
  background-color: #ffcdd2;
  cursor: not-allowed;
}