/* --- DESIGN VARIABLES (CLEAN & NATURE) --- */
:root {
  /* Hlavní barva - Hluboká lesní zelená (uklidňující, prémiová) */
  --primary: #2f855a;
  --primary-dark: #22543d;

  /* Sekundární - Tmavá břidlice */
  --secondary: #1a202c;

  /* Akcent - Tlumená zlatá (pro slevy a hvězdičky) */
  --accent: #d69e2e;

  /* Pozadí */
  --light: #f7fafc;
  --text: #2d3748;

  /* Vánoce - Decentnější červená */
  --christmas-red: #9b2c2c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
  padding-top: 70px;
}

h1,
h2,
h3,
.btn-font,
.badge-sale {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 15px 30px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.phone-btn {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.3s;
}
.phone-btn:hover {
  color: var(--primary);
}

/* --- HERO SECTION (CLEANER) --- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  padding-bottom: 60px;
  background-color: #2d3748;
  background-image: url("../images/2a29dd0b-d621-441d-9b29-e496db543b53.avif");
  background-size: cover;
  background-position: center;
}
/* Tmavší a čistší overlay pro lepší čitelnost textu */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 32, 44, 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  padding-bottom: 140px; /* více místa pro tlačítka, aby je nezakrývala další sekce */
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: #edf2f7;
  letter-spacing: 0.5px;
}

.badge-sale {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* --- BUTTONS (UNIFIED) --- */
.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

/* Hlavní tlačítko (Rezervace) */
.btn-cta {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.btn-cta:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Vánoční tlačítko - Decentnější */
.btn-gift-christmas {
  background: var(--christmas-red);
  color: white;
  font-size: 1rem;
  padding: 16px 35px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-gift-christmas:hover {
  background: #742a2a;
  transform: translateY(-1px);
}

/* Standardní dárkové tlačítko */
.btn-gift-standard {
  background: var(--accent);
  color: #1a202c;
  font-size: 1rem;
  padding: 16px 35px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  width: 100%;
  max-width: 400px;
}
.btn-gift-standard:hover {
  background: #b7791f;
  color: white;
  transform: translateY(-1px);
}

/* Airbnb - Minimalistické (Outline) */
.btn-airbnb {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 30px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.3s;
  width: 100%;
  max-width: 400px;
  margin-top: 10px;
}
.btn-airbnb:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* --- SECTIONS --- */
.section {
  padding: 60px 20px;
  background: var(--light);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.text-center {
  text-align: center;
}

/* --- PRICE BOX --- */
.price-box {
  background: #fff;
  padding: 50px;
  border-radius: 8px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.option-card {
  background: #fff;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.option-card.winner {
  border: 2px solid var(--primary);
  background: #f0fff4;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(47, 133, 90, 0.1);
}

.winner-label {
  position: absolute;
  top: -14px;
  background: var(--primary);
  color: white;
  padding: 5px 15px;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price-old {
  text-decoration: line-through;
  color: #a0aec0;
  font-size: 1rem;
  margin-top: 15px;
}
.price-new {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  margin: 5px 0 15px 0;
}

/* --- GALLERY & VIDEO --- */
.gallery-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 50px;
}
.video-container {
  position: sticky;
  top: 90px;
}
.video-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: #000;
  width: 100%;
}
.video-wrapper video {
  width: 100%;
  display: block;
}
.video-label {
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.9rem;
  letter-spacing: 1px;
  opacity: 0.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.gallery-item {
  height: 180px;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.more-photos-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 55, 72, 0.85);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- SOCIALS --- */
.social-section {
  background: var(--secondary);
  color: white;
  padding: 80px 20px;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.social-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px 20px;
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: white;
  display: block;
}
.social-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.social-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}
.social-icon i {
  width: 1.2em;
  display: inline-block;
  text-align: center;
}
.social-card.instagram .social-icon {
  color: #e1306c;
}
.social-count {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
}
.social-label {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- FOOTER --- */
footer {
  background: #111;
  color: #718096;
  padding: 80px 20px 40px 20px;
  font-size: 0.9rem;
}
footer h4 {
  color: #e2e8f0;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-transform: uppercase;
}
footer a {
  color: #a0aec0;
  text-decoration: none;
  transition: 0.2s;
}
footer a:hover {
  color: white;
}

/* --- MODALS (Clean) --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.form-modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  width: 95%;
  max-width: 600px;
  max-height: 95vh;
  overflow-y: auto;
  color: var(--text);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 25px;
}
.details-grid h3 {
  margin-bottom: 8px;
}
.feature-item {
  margin: 6px 0;
  font-size: 1.05rem;
}
.feature-icon {
  color: var(--primary);
  margin-right: 8px;
}

.package-grid label {
  display: block;
  position: relative;
}
.package-card {
  position: relative;
  overflow: visible;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  min-height: 170px;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.package-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(47, 133, 90, 0.12);
  transform: translateY(-2px);
}
.package-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.package-radio:checked + .package-card {
  border-color: var(--primary);
  box-shadow: 0 14px 30px rgba(47, 133, 90, 0.16);
  transform: translateY(-3px);
}

/* --- TOOLTIP (Balíčky) --- */
.pkg-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #b5b5b5;
  margin-left: 6px;
  cursor: help;
}
.pkg-tooltip i {
  font-size: 0.95rem;
}
.pkg-tooltip:hover {
  color: var(--primary);
}
.pkg-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: 130%;
  transform: translateX(-50%);
  background: #1a202c;
  color: #f7fafc;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.3;
  width: 240px;
  max-width: 260px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 30;
  white-space: normal;
}
.pkg-tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

/* --- FINAL CTA --- */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, #1f2937, #22543d);
  color: #fff;
  padding: 90px 20px;
  overflow: hidden;
}
.final-cta__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 30%),
              radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), transparent 25%);
}
.final-cta__content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.final-cta__left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.final-cta__lead {
  color: #e2e8f0;
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0 10px 0;
  justify-content: center;
}
.final-cta__button {
  min-width: 200px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: none;
  padding: 14px 26px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}
.final-cta__button.primary {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.final-cta__button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}
.final-cta__button.gift {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  backdrop-filter: blur(4px);
}
.final-cta__button.gift:hover {
  background: rgba(255, 255, 255, 0.18);
}
.final-cta__button.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  backdrop-filter: blur(4px);
}
.final-cta__button.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}
.final-cta__contact {
  margin-top: 6px;
  color: #e2e8f0;
}
.final-cta__contact a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.final-cta__card {
  background: #fff;
  color: var(--text);
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.final-cta__card h3 {
  margin: 0 0 6px 0;
  color: var(--secondary);
}
.final-cta__card-sub {
  margin: 0 0 16px 0;
  color: #4a5568;
}
.final-cta__card .form-group {
  margin-bottom: 12px;
}
.final-cta__card .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.final-cta__card input,
.final-cta__card textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.final-cta__card textarea {
  resize: vertical;
}
.final-cta__card-note {
  font-size: 0.85rem;
  color: #718096;
  margin-top: 8px;
}
.final-cta .form-status {
  min-height: 20px;
  margin-top: 8px;
}
.final-cta .status-success {
  color: #2f855a;
  font-weight: 600;
}
.final-cta .status-error {
  color: #c53030;
  font-weight: 600;
}

.contact-modal textarea {
  min-height: 120px;
}

.contact-modal input,
.contact-modal textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 1rem;
}
.contact-modal label {
  font-weight: 600;
  color: #2d3748;
}
.contact-modal .form-group {
  margin-bottom: 12px;
}
.contact-modal .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.contact-modal h3 {
  margin-top: 0;
  color: #1a202c;
}

/* --- FORMS (Gift modal) --- */
.form-modal-content .form-group label {
  font-weight: 600;
  color: #1a202c;
}
.form-modal-content .form-group input,
.form-modal-content .form-group textarea,
.form-modal-content .form-row input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.95rem;
  font-family: inherit;
}
.form-modal-content .form-group {
  margin-bottom: 12px;
}
.form-modal-content .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.form-modal-content textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s;
}
.btn-submit:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .gallery-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .video-container {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .price-box {
    margin-top: 0;
    padding: 30px 20px;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #eee;
  }
  .option-card.winner {
    transform: scale(1);
  }
  .btn-cta,
  .btn-gift-christmas,
  .btn-airbnb {
    width: 100%;
    max-width: 100%;
  }
}
