/* ======================== RESET A ZÁKLAD ======================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
  color: #4d1f3c;
  background: #fff;
}

/* ======================== HEADER ======================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffe6f0;
  box-shadow: 0 2px 6px rgba(77,31,60,0.1);
  flex-shrink: 0;
}

header .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e07ca7;
}

nav {
  display: flex;
  flex-wrap: wrap;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #4d1f3c;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #e07ca7;
}

/* ======================== HERO ======================== */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  background: url('../images/sample1.jpg') no-repeat center center/cover;
  color: #fff;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: rgba(77,31,60,0.4);
}

.hero .hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .btn {
  background-color: #e07ca7;
  color: #fff;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.hero .btn:hover {
  background-color: #c85a94;
}

/* ======================== SEKCE ======================== */
.content {
  flex: 1;
  padding: 60px 20px;
}

/* ======================== FEATURES / VÝHODY ======================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 30px;
  padding: 60px 40px;
  text-align: center;
  background: #fff0f6;
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #e07ca7;
}

.feature p {
  font-size: 1rem;
  color: #555;
}

/* ======================== CTA ======================== */
.cta {
  background-color: #e07ca7;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta .btn {
  background-color: #fff;
  color: #e07ca7;
  padding: 15px 35px;
  border-radius: 30px;
  font-size: 1.1rem;
}

.cta .btn:hover {
  background-color: #ffe6f0;
}

/* ======================== FOOTER ======================== */
footer {
  background: #ffe6f0;
  padding: 30px 40px;
  text-align: center;
  color: #4d1f3c;
  margin-top: auto;
}

footer p {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

/* ======================== FORMULÁŘE ======================== */
form input, form select, form textarea, form button {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

form button {
  background-color: #e07ca7;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #c85a94;
}

/* ======================== GALERIE ======================== */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.gallery-grid img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ======================== RECENZE ======================== */
.reviews-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 60px 40px;
}

.reviews-list h2, .review-form h2 {
  color: #e07ca7;
  margin-bottom: 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}

.review-card {
  background: #ffe6ef;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(77,31,60,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(77,31,60,0.12);
}

.review-rating {
  color: #e07ca7;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.review-comment {
  font-style: italic;
  margin-bottom: 10px;
  color: #555;
}

.review-name {
  text-align: right;
  font-weight: bold;
  color: #4d1f3c;
}

/* ======================== Služby ======================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
  padding: 60px 40px;
}

.services-grid .service {
  background: #ffe6ef;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.services-grid .service:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(77,31,60,0.1);
}

.services-grid .service img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.services-grid .service h3 {
  color: #e07ca7;
  margin-bottom: 10px;
}

.services-grid .service p {
  color: #555;
  font-size: 0.95rem;
}

/* ======================== CENÍK ======================== */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
  padding: 60px 40px;
}

.pricing-item {
  background: #ffe6ef;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(77,31,60,0.1);
}

.pricing-item h3 {
  color: #e07ca7;
  margin-bottom: 10px;
}

.pricing-item p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.pricing-item .price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #4d1f3c;
}

/* ======================== Rezervace ======================== */
.reservation-form .form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #ffe6ef;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(77,31,60,0.1);
}

.reservation-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #e07ca7;
}

.reservation-form input,
.reservation-form select,
.reservation-form button {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.reservation-form button {
  background-color: #e07ca7;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.reservation-form button:hover {
  background-color: #c85a94;
}

.reservation-form .success {
  color: green;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

/* ======================== O NÁS ======================== */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 60px 40px;
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  color: #e07ca7;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.about-text ul {
  list-style: disc inside;
  margin-bottom: 20px;
  color: #555;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
}

/* ======================== KONTAKT ======================== */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 40px;
}

.contact-info, .contact-form {
  flex: 1 1 400px;
  background: #ffe6ef;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(77,31,60,0.1);
}

.contact-info h2, .contact-form h2 {
  color: #e07ca7;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #555;
}

/* ======================== RESPONSIVE ======================== */
@media(max-width:1024px){
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
}

@media(max-width:768px){
   header {
    flex-direction: column;
    justify-content: center; /* logo vycentrované */
    position: relative;
  }nav { flex-direction: column; width: 100%; }
  nav a { margin: 10px 0; }
  .hero { padding: 80px 20px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .features, .services-grid, .pricing-table, .reviews-grid, .about, .contact-section { grid-template-columns: 1fr; display: flex; flex-direction: column; gap: 30px; }
  .about-image img { max-width: 80%; }
}

@media(max-width:480px){
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.9rem; }
  .cta h2 { font-size: 1.6rem; }
  .cta p { font-size: 1rem; }
}


/* Hamburger tlačítko */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-left: auto;  /* vycentrovat tlačítko, případně upravit dle potřeby */
  margin-right: auto;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #4d1f3c;
  border-radius: 2px;
  transition: all 0.3s;
}

/* MENU - defaultně skryté na mobile/tablet */
#nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* vycentrování menu */
}

@media(max-width:768px){
  .hamburger {
    display: flex;
  }

  #nav-menu {
    display: none;  /* skryté, dokud se neklikne */
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    gap: 15px;
  }

  #nav-menu.active {
    display: flex;
  }

  #nav-menu a {
    margin: 10px 0;
    font-size: 1.1rem;
  }
}

/* Animace tlačítka hamburger */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* ======================== CENÍK - BUBLINY ======================== */
.pricing-bubbles {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 40px;
}

.pricing-bubble {
  background: #ffe6ef; /* světlá růžová bublina */
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(77,31,60,0.1); /* jemný růžový stín */
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(77,31,60,0.12);
}

.pricing-bubble h3 {
  color: #e07ca7; /* hlavní růžová */
  margin-bottom: 15px;
  font-size: 1.6rem;
  text-align: center;
}

.pricing-bubble ul {
  list-style: none;
  padding-left: 0;
}

.pricing-bubble ul li {
  font-size: 1rem;
  color: #4d1f3c; /* tmavší růžová pro text */
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}



@media(max-width:768px){
  .pricing-bubbles {
    padding: 40px 20px;
    gap: 25px;
  }

  .pricing-bubble h3 {
    font-size: 1.4rem;
  }

  .pricing-bubble ul li {
    font-size: 0.95rem;
  }
}

/* ======================== CENÍK - TABULKA ======================== */
.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 40px;
}

.pricing-category h3 {
  color: #e07ca7; /* hlavní růžová */
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.pricing-category ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pricing-category ul li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 1rem;
  color: #4d1f3c; /* tmavší růžová pro text */
}

.pricing-category ul li span:first-child {
  flex: 1; /* název služby zabírá maximum místa */
}

.pricing-category ul li span:last-child {
  flex-shrink: 0; /* cena zarovnaná vpravo */
  margin-left: 20px;
  font-weight: bold;
}

/* oddělení kategorií menší mezerou na mobile */
@media(max-width:768px){
  .pricing-table {
    padding: 40px 20px;
    gap: 25px;
  }

  .pricing-category h3 {
    font-size: 1.4rem;
  }

  .pricing-category ul li {
    font-size: 0.95rem;
  }
}

.reservation-form .false {
  color: red;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.note {
    font-size: 0.7em;
    color: gray;
    margin-bottom: 2.5em;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); /* auto-fit = dynamický počet sloupců */
    gap: 10px;
    margin-top: 10px;
}

.time-grid p {
    grid-column: 1 / -1;
    margin: 0 0 10px 0;
    text-align: center;
}


.time-grid button {
    padding: 8px;
    background-color: lightpink;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.2s;
    width: 100%; /* tlačítka vyplní svůj grid sloupec */
    box-sizing: border-box;
}

.time-grid button.selected {
    background-color: #4CAF50;
    color: white;
}


.time-grid button:hover {
    background-color: #ddd;
}


#cancel-btn {
    display:block;
    width:100%;
    padding:15px;
    background-color:#d63333;
    color:white;
    font-size:18px;
    font-weight:bold;
    border:none;
    border-radius:8px;
    margin-top:20px;
    cursor:pointer;
}

@media(max-width:480px){
    .time-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); /* menší tlačítka na mobil */
    }
}

/* ======================== ADMIN DASHBOARD ======================== */

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffe6ef;
  padding: 15px 30px;
  box-shadow: 0 2px 6px rgba(77,31,60,0.1);
  font-size: 0.95rem;
  color: #4d1f3c;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-left {
  display: flex;
  flex-direction: column;
}

.dashboard-date {
  font-weight: bold;
  color: #e07ca7;
}

.dashboard-time {
  font-size: 0.9rem;
}

.dashboard-center strong {
  color: #e07ca7;
}

.dashboard-right {
  font-weight: bold;
}

/* ======================== DNEŠNÍ REZERVACE ======================== */

.today-reservations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  padding: 30px 40px;
  background: #fff;
}

.reservation-box {
  background: #ffe6ef;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(77,31,60,0.08);
  transition: transform 0.2s;
}

.reservation-box:hover {
  transform: translateY(-3px);
}

.reservation-name {
  font-weight: bold;
  color: #4d1f3c;
  margin-bottom: 5px;
}

.reservation-time {
  font-size: 0.9rem;
  color: #555;
}

.reservation-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #999;
  font-style: italic;
}

/* ======================== ADMIN RESPONSIVE ======================== */

/* ========== DASHBOARD LAYOUT ========== */
.admin-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    padding: 30px 40px;
}

.admin-left h3,
.admin-right h3 {
    margin-bottom: 15px;
    color: #e07ca7;
}

/* levý panel - nejbližší rezervace */
.admin-left .reservation-box {
    background: #fff0f6;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(77,31,60,0.08);
    margin-bottom: 15px; /* mezera mezi rezervacemi */
}

.admin-left .reservation-name {
    font-weight: bold;
    color: #4d1f3c;
    margin-bottom: 5px;
}

.admin-left .reservation-email {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
}

.admin-left .reservation-service {
    font-weight: 600;
    color: #e07ca7;
    margin-bottom: 6px;
}

.admin-left .reservation-datetime {
    font-size: 0.95rem;
    color: #555;
}

/* pravý panel - status, přehled, akce */
.admin-status,
.admin-summary,
.admin-actions {
    background: #ffe6ef;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.admin-actions .btn {
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.admin-actions .cancel {
    background: #d63333;
    color: white;
}

/* DASHBOARD HEADER */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #ffe6f0;
    box-shadow: 0 2px 6px rgba(77,31,60,0.1);
    flex-wrap: wrap;
}

.dashboard-header strong {
    font-size: 1.1rem;
}

/* RESPONZIVITA */
@media(max-width:900px){
    .admin-layout {
        grid-template-columns: 1fr;
    }
}

@media(max-width:768px){
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }

    .admin-left {
        align-items: center;
    }

    .admin-left .reservation-box {
        width: 100%;
    }

    .admin-left h3,
    .admin-right h3 {
        text-align: center;
    }

    .admin-layout {
        padding: 20px;
        gap: 20px;
    }
}
.admin-header-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    background: #ffe6ef;
    border-bottom: 1px solid #f2c7d9;
    text-align: center;
}

.admin-header-vertical .logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #d63384;
}

.admin-info {
    font-size: 0.95rem;
    color: #4d1f3c;
}

.back-to-admin {
    margin-top: 10px;
    padding: 10px 18px;
    background: #e07ca7;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.back-to-admin:hover {
    background: #c85a94;
}
