/* ==========================================================================
   1. RESET A ZÁKLADNÍ NASTAVENÍ
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #020617;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================================================
   2. HLAVIČKA A NAVIGACE
   ========================================================================== */
header {
  background: rgba(2, 6, 23, 0.95);
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
}

header h1 {
  font-size: 1.4rem;
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  font-size: 0.9rem;
}

nav a:hover, nav a.active {
  color: #facc15;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #facc15;
}

/* ==========================================================================
   3. HERO SEKCE (INDEX)
   ========================================================================== */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: -1;
}

.hero-text h2 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 10px;
}

/* ==========================================================================
   4. TLAČÍTKA (UNIVERZÁLNÍ BUBLINY)
   ========================================================================== */
.btn, 
.order-btn, 
.reservation-form button, 
.menu-item button {
  display: inline-block;
  background: linear-gradient(135deg, #facc15, #fbbf24);
  color: #020617 !important;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: bold;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(250, 204, 21, 0.2);
  text-align: center;
}

.btn:hover, 
.order-btn:hover, 
.reservation-form button:hover, 
.menu-item button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 20px rgba(250, 204, 21, 0.3);
  filter: brightness(1.1);
}

/* ==========================================================================
   5. REZERVAČNÍ FORMULÁŘ
   ========================================================================== */
.reservation-section {
  max-width: 800px !important;
  background: rgba(15, 23, 42, 0.5);
  padding: 40px !important;
  border-radius: 30px;
  border: 1px solid #1e293b;
  margin: 60px auto;
}

.reservation-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.reservation-form textarea, 
.reservation-form button {
  grid-column: span 2;
}

.reservation-form input, 
.reservation-form select, 
.reservation-form textarea {
  width: 100%;
  padding: 15px;
  background: #020617;
  border: 1px solid #334155;
  border-radius: 15px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s ease;
  outline: none;
}

.reservation-form input:focus, 
.reservation-form select:focus, 
.reservation-form textarea:focus {
  border-color: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.1);
  background: #0f172a;
}

.reservation-form textarea {
  min-height: 120px;
  resize: vertical;
}

.highlight-item {
  background: #0f172a;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 15px;
  border-left: 4px solid #facc15;
}

/* ==========================================================================
   6. KOŠÍK A MODÁLNÍ OKNO
   ========================================================================== */
.checkout-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
}

.checkout-modal.show { display: flex; }

.checkout-box {
  background: #0f172a;
  padding: 35px;
  border-radius: 24px;
  width: 90%;
  max-width: 450px;
  border: 1px solid #1e293b;
}

.remove-btn {
  background: #1e293b !important;
  color: #ef4444 !important;
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  font-size: 1.2rem;
  box-shadow: none !important;
}

.close-btn {
  background: transparent !important;
  color: #94a3b8 !important;
  border: 1px solid #334155 !important;
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

/* ==========================================================================
   7. OSTATNÍ (SEKCE, MENU, GALERIE)
   ========================================================================== */
section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

h2 {
  font-size: 2.2rem;
  color: #facc15;
  margin-bottom: 35px;
  text-align: center;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  padding: 20px 25px;
  border-radius: 20px;
  margin-bottom: 15px;
  border: 1px solid #1e293b;
}

.floating-cart {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #facc15;
  color: #020617;
  padding: 15px 22px;
  border-radius: 50px;
  font-weight: 900;
  cursor: pointer;
  z-index: 999;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.map-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.map-full {
  width: 100%;
  max-width: 1100px;
  height: 500px;
  margin-top: 30px;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid #1e293b;
}

.map-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  background: #010413;
  padding: 50px 5%;
  margin-top: 100px;
  border-top: 1px solid #1e293b;
}

/* ==========================================================================
   8. RESPONZIVITA (MOBILY)
   ========================================================================== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: #020617;
    padding: 25px;
    border-bottom: 1px solid #1e293b;
    gap: 15px;
  }
  nav.show { display: flex; }
  .reservation-form {
    grid-template-columns: 1fr;
  }
  .reservation-form textarea, 
  .reservation-form button {
    grid-column: span 1;
  }
  .menu-item { flex-direction: column; text-align: center; gap: 20px; }
  .map-full {
    height: 300px;
  }
}

/* ==========================================================================
   9. MODERNI KOLÁŽ GALERIE
   ========================================================================== */
.gallery-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.gallery-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #1e293b;
  transition: all 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: #facc15;
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.2);
  z-index: 2;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.item-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.item-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.item-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.item-sm {
  grid-column: span 1;
  grid-row: span 1;
}

@media (max-width: 992px) {
  .gallery-collage {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-collage {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

/* ==========================================================================
   10. STRÁNKA "O NÁS"
   ========================================================================== */
.hero-about {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  max-width: 100%;
}

.hero-about-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.hero-about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.1);
}

.hero-about-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-about-content h2 {
  font-size: 4rem;
  margin: 0;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.divider {
  width: 80px;
  height: 4px;
  background: #facc15;
  margin: 20px auto;
  border-radius: 2px;
}

.story-section {
  text-align: center;
  max-width: 800px;
}

.lead-text {
  font-size: 1.3rem;
  color: #facc15;
  margin-bottom: 20px;
  font-weight: 300;
}

.info-flex {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 100px;
}

.info-text {
  flex: 1;
}

.align-left {
  text-align: left;
  margin-bottom: 40px;
}

.info-img-wrapper {
  flex: 1;
  position: relative;
}

.info-img-wrapper img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 20px 20px 0px rgba(250, 204, 21, 0.1);
  transition: 0.5s;
}

.info-img-wrapper:hover img {
  transform: translate(-10px, -10px);
  box-shadow: 30px 30px 0px rgba(250, 204, 21, 0.15);
}

.feature-card {
  display: flex;
  gap: 20px;
  background: rgba(30, 41, 59, 0.3);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(250, 204, 21, 0.1);
  transition: 0.3s;
}

.feature-card:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: #facc15;
}

.feature-icon {
  font-size: 2rem;
}

.feature-content strong {
  display: block;
  font-size: 1.1rem;
  color: #facc15;
  margin-bottom: 5px;
}

.philosophy-box {
  background: linear-gradient(135deg, #0f172a, #020617);
  padding: 80px 40px;
  border-radius: 40px;
  border: 1px solid #1e293b;
  position: relative;
}

.quote-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.philosophy-box blockquote {
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #cbd5e1;
  text-align: center;
  border: none;
}

@media (max-width: 900px) {
  .info-flex {
    flex-direction: column;
    gap: 40px;
  }
  .hero-about-content h2 {
    font-size: 2.5rem;
  }
  .info-img-wrapper {
    order: -1;
  }
}

/* ==========================================================================
   11. STRÁNKA "KONTAKT" & SPECIFICKÉ OPRAVY
   ========================================================================== */
.cart-total-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: #facc15;
  text-align: right;
  margin: 15px 0;
}

.price-action {
  display: flex;
  align-items: center;
  gap: 15px;
}

.price-action span {
  font-weight: bold;
  color: #facc15;
}

.copyright-footer {
  background: #010413;
  padding: 30px 5%;
  text-align: center;
  border-top: 1px solid #1e293b;
  color: #94a3b8;
}

/* Finální opravy pro kontakt na mobilu */
@media (max-width: 768px) {
  .section-text .menu-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    gap: 5px;
  }
  
  .map-full {
    height: 350px;
    margin-top: 20px;
  }
}

/* ... (předchozí bloky 1-11 zůstávají stejné) ... */

/* ==========================================================================
   12. OPRAVA STRÁNKY DOMŮ (SECTION-FLEX)
   ========================================================================== */

/* Základní nastavení pro desktop (obrázek vedle textu) */
.section-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.section-text {
  flex: 1;
}

.section-img {
  flex: 1;
}

.section-img img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: block;
}

/* RESPONZIVITA PRO DOMOVSKOU STRÁNKU */
@media (max-width: 768px) {
  .section-flex {
    flex-direction: column; /* Text a obrázek pod sebou */
    gap: 30px;
  }

  .hero-text h2 {
    font-size: 2.2rem; /* Zmenšení hlavního nadpisu na mobilu */
  }

  .section-img {
    width: 100%;
    order: 2; /* Obrázek bude až pod textem */
  }

  .section-text {
    width: 100%;
    order: 1;
  }

  /* Aby se text v příběhu lépe četl na mobilu */
  .story {
    padding: 0 15px;
    text-align: center;
  }
}
/* --- OPRAVA PLACEHOLDERŮ PRO DATUM A ČAS --- */

/* Zajistí, že placeholder je šedý a čitelný */
.placeholder-input::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

/* Skryje vnitřní ikony prohlížeče, dokud není políčko aktivní, aby nepřekážely textu */
.placeholder-input[type="text"]::-webkit-calendar-picker-indicator {
  display: none !important;
}

/* Oprava pro iOS Safari: zobrazení hodnoty až po kliknutí */
.placeholder-input[type="date"]:invalid::-webkit-datetime-edit,
.placeholder-input[type="time"]:invalid::-webkit-datetime-edit {
  color: transparent;
}

.placeholder-input:focus::-webkit-datetime-edit {
  color: #fff !important;
}

.reservation-form button {
  /* Font a text */
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  
  /* Barvy */
  background: linear-gradient(135deg, #facc15, #fbbf24);
  color: #020617 !important; /* Černý text, aby byl vidět na žluté */
  
  /* Tvar */
  width: 100%;
  padding: 16px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.reservation-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
  filter: brightness(1.1);
}

/* Vynucené zarovnání na střed pro texty v kontaktu */
section.contact-section, 
.contact-section div, 
.contact-section p {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    display: block; /* Změna z flexu na block zajistí, že text-align začne fungovat */
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Pokud jsou ty texty v highlight-itemech, vycentrujeme i je */
.contact-section .highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.contact-lead {
  text-align: center !important; 
  display: block !important;   
  width: 100% !important;      
  margin: 10px auto !important; 
}

:root {
      --accent: #facc15;
      --bg-dark: #0f172a;
      --card-bg: rgba(30, 41, 59, 0.5); /* Poloprůhledné pro lehkost */
      --card-border: rgba(51, 65, 85, 0.5);
      --text-main: #f8fafc;
      --text-dim: #94a3b8;
    }

    .menu-section {
      max-width: 900px;
      margin: 0 auto;
      padding: 20px;
    }

    h2 {
      text-align: center;
      color: var(--accent);
      font-size: 1.8rem;
      margin: 60px 0 30px;
      font-weight: 300;
      letter-spacing: 4px;
      text-transform: uppercase;
    }

    .menu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 25px;
    }

    /* TADY JE TA ZMĚNA RÁMEČKŮ */
    .menu-item-box {
      background: var(--card-bg);
      backdrop-filter: blur(10px); /* Jemné rozmazání pozadí */
      border-radius: 20px; /* Více zaoblené */
      border: 1px solid var(--card-border);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    .menu-item-box:hover {
      border-color: rgba(250, 204, 21, 0.4);
      transform: translateY(-5px);
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      background: rgba(30, 41, 59, 0.8);
    }

    details summary {
      list-style: none;
      padding: 25px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    details summary::-webkit-details-marker { display: none; }

    .item-title {
      font-weight: 600;
      font-size: 1.2rem;
      color: var(--text-main);
      letter-spacing: 0.5px;
    }

    .item-sub {
      font-size: 0.85rem;
      color: var(--text-dim);
      display: block;
      margin-top: 6px;
      font-style: italic;
    }

    .item-price {
      color: var(--accent);
      font-weight: 700;
      font-size: 1.1rem;
      padding: 5px 12px;
      background: rgba(250, 204, 21, 0.1);
      border-radius: 12px;
    }

    .expanded-info {
      padding: 0 25px 25px;
      font-size: 0.95rem;
      line-height: 1.7;
      color: #cbd5e1;
      animation: fadeIn 0.5s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .arrow {
      transition: transform 0.3s ease;
      color: var(--accent);
      font-size: 0.8rem;
      opacity: 0.6;
    }
    
    details[open] .arrow {
      transform: rotate(180deg);
      opacity: 1;
    }