/* =============================================
   Málta Apartman – style.css
   Paletta: mediterrán kék + homok + fehér
   ============================================= */

:root {
  --blue:      #1a6fb5;
  --blue-dark: #0f4d82;
  --blue-light:#e8f2fc;
  --sand:      #f7f3ec;
  --sand-dark: #e8e0d0;
  --text:      #1e2a38;
  --text-soft: #556070;
  --white:     #ffffff;
  --radius:    10px;
  --shadow:    0 2px 12px rgba(0,0,0,0.08);

  /* Naptár státusz színek */
  --cal-free:    #d4f5d4;
  --cal-pending: #ffe0a0;
  --cal-booked:  #ffb3b3;
  --cal-checkin:  #b3d8ff;
  --cal-checkout: #c8e6c9;
  --cal-turnover: #e1bee7;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%;
  background: var(--white);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 24px; height: 56px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}
nav .logo { font-weight: 700; color: var(--blue); font-size: 1.1rem; }
nav .links a {
  margin-left: 16px;
  text-decoration: none; color: var(--text-soft);
  font-size: 0.88rem; font-weight: 600;
  transition: color 0.2s;
}
nav .links a:hover { color: var(--blue); }
.lang-switch { display: inline-flex; gap: 4px; margin-left: 12px; }
.lang-btn {
  padding: 4px 8px; border: 1.5px solid var(--sand-dark);
  border-radius: 4px; background: var(--sand); cursor: pointer;
  font-size: 0.75rem; font-weight: 700; color: var(--text-soft);
}
.lang-btn.active { background: var(--blue); color: white; border-color: var(--blue); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ── HERO ── */
.hero {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 20px 50px;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.5px; }
.hero p  { margin-top: 10px; font-size: 1.05rem; opacity: 0.88; }
.hero-badges { margin-top: 20px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px; padding: 5px 14px;
  font-size: 0.82rem; font-weight: 600;
}

/* ── SECTION WRAPPER ── */
.section {
  max-width: 1000px; margin: 0 auto; padding: 0 20px 40px;
}

/* ── CARD ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-top: 28px;
}
.card h2 {
  color: var(--blue);
  font-size: 1.25rem;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

/* ── GALÉRIA ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 10px; margin-top: 4px;
}
.gallery-grid img {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: 8px; transition: transform 0.2s;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ── ÁR KÁRTYÁK ── */
.price-cards { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.price-card {
  flex: 1 1 160px;
  background: var(--blue-light);
  border-radius: 8px; padding: 20px;
  text-align: center;
}
.price-card .amount { font-size: 2rem; font-weight: 800; color: var(--blue); }
.price-card .label  { font-size: 0.82rem; color: var(--text-soft); margin-top: 4px; }

/* ── NAPTÁR ── */
.cal-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.cal-nav button {
  background: var(--blue); color: white;
  border: none; border-radius: 6px;
  padding: 6px 14px; cursor: pointer; font-weight: 700;
  transition: background 0.2s;
}
.cal-nav button:hover { background: var(--blue-dark); }
.cal-nav .month-title { font-size: 1.1rem; font-weight: 700; }

.cal-legend {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 14px; font-size: 0.78rem;
}
.leg { display: flex; align-items: center; gap: 5px; }
.leg-dot { width: 14px; height: 14px; border-radius: 3px; }

.cal-labels {
  display: grid; grid-template-columns: repeat(7,1fr);
  text-align: center; font-size: 0.75rem;
  font-weight: 700; color: var(--text-soft);
  margin-bottom: 6px;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7,1fr); gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 0.82rem; font-weight: 700;
  background: var(--cal-free);
  color: var(--text);
  cursor: default;
  transition: transform 0.1s;
}
.cal-day .day-num  { font-size: 0.9rem; line-height: 1; }
.cal-day .day-label{ font-size: 0.52rem; line-height: 1.2; opacity: 0.85; }
.cal-day.empty     { background: transparent; }
.cal-day.booked    { background: var(--cal-booked); }
.cal-day.pending   { background: var(--cal-pending); }
.cal-day.checkin   { background: var(--cal-checkin); }
.cal-day.checkout  { background: var(--cal-checkout); }
.cal-day.turnover  { background: linear-gradient(135deg, var(--cal-checkin) 50%, var(--cal-checkout) 50%); }
.cal-day.today     { outline: 2px solid var(--blue); }

/* ── GUIDE KÁRTYÁK ── */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; margin-top: 4px; }
.guide-card {
  background: var(--sand); border-radius: 8px;
  padding: 16px; text-align: center;
}
.guide-card .icon { font-size: 2rem; }
.guide-card h4 { margin-top: 6px; font-size: 0.9rem; color: var(--blue); }
.guide-card p  { font-size: 0.78rem; color: var(--text-soft); margin-top: 4px; }

/* ── VÉLEMÉNYEK ── */
.review {
  background: var(--sand); border-left: 4px solid var(--blue);
  border-radius: 6px; padding: 14px; margin-top: 10px;
  font-size: 0.9rem;
}

/* ── FORM ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; margin-top: 14px; }
input, textarea, select {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--sand-dark); border-radius: 6px;
  font-size: 0.92rem; background: var(--sand); color: var(--text);
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--blue);
  background: var(--white);
}
.btn-primary {
  margin-top: 16px;
  background: var(--blue); color: white;
  border: none; border-radius: 8px;
  padding: 12px 28px; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-dark); }

/* ── KAPCSOLAT ── */
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px;
  text-decoration: none; color: white; font-weight: 700; font-size: 0.9rem;
}
.contact-btn.phone { background: var(--blue); }
.contact-btn.email { background: #444; }
.contact-btn.wa    { background: #25d366; }

/* ── FLOAT GOMBOK ── */
.float {
  position: fixed; right: 16px; bottom: 20px;
  display: flex; flex-direction: column; gap: 10px; z-index: 999;
}
.float a {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; text-decoration: none; color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.float a.wa   { background: #25d366; }
.float a.call { background: var(--blue); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  nav .links { display: none; }
  nav .links.open { display: flex; flex-direction: column; position: absolute; top: 56px; left: 0; width: 100%; background: white; padding: 16px; box-shadow: var(--shadow); }
  .nav-toggle { display: block; }
}
