/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  line-height: 1.6;
  background: #121212;
  color: #e0e0e0;
}
section {
  width: 100%;
  box-sizing: border-box;
}
.btn-back {
  display: inline-flex;          
  align-items: center;
  gap: 6px;                      
  padding: 8px 16px;             
  background-color: #007BFF;     
  color: white;                  
  text-decoration: none;         
  font-weight: 500;
  border-radius: 6px;            
  transition: background-color 0.3s, transform 0.2s;
}

.btn-back:hover {
  background-color: #0056b3;     
  transform: translateX(-2px);   
}

.btn-back:active {
  transform: translateX(-1px);
}
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-down {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background: #1a1a1a;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #d4af37;
}

.navbar .logo {
  font-size: 2rem;
  font-weight: bold;
  color: #d4af37;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #d4af37;
}

.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 10%;
  min-height: 80vh;
  background: linear-gradient(
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.6)
    ),
    url('img/barbershop-hero.jpg') no-repeat center/cover;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #d4af37;
  animation: fadeInDown 1s ease forwards;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-content .btn {
  background: #d4af37;
  color: #121212;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.hero-content .btn:hover {
  background: #bfa137;
  transform: scale(1.05);
}

/* ================= QUICK INFO ================= */
.quick-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 60px 10%;
}

.info-box {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  flex: 1;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.info-box:hover {
  transform: translateY(-5px);
}

.info-box h3 {
  color: #d4af37;
  margin-bottom: 15px;
}

/* ================= OFFERS / TEAM ================= */
.offers-hero, .team-hero {
  background: #121212;
  color: #fff;
  text-align: center;
  padding: 80px 10%;
}

.offer-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px 5%;
}
.offer-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px 5%; /* menší padding, aby karty zabíraly více místa */
}

.offer-card {
  background: #1a1a1a;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s;

  flex: 1 1 300px;       /* kartu může roztáhnout a mít minimálně 300px */
  max-width: 400px;      /* na desktopu nepřesáhne 400px */
  min-height: 150px;     /* větší výška */
  padding: 30px;         /* víc vnitřního prostoru pro text */
}
.offer-card, .team-card {
  background: #1a1a1a;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 320px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s;
}

.offer-card:hover, .team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* ================= BOOKING FORM ================= */
.booking-form {
  padding: 50px 10%;
  max-width: 500px;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  padding: 40px;
}

.booking-form h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #d4af37;
}

.booking-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.booking-form label {
  font-weight: 500;
  color: #f0f0f0;
}

.booking-form input,
.booking-form select,
.booking-form button {
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
}

.booking-form input, .booking-form select {
  background: #2a2a2a;
  color: #f0f0f0;
}

.booking-form input:focus, .booking-form select:focus {
  outline: 2px solid #d4af37;
}

.booking-form button {
  background: #d4af37;
  color: #121212;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.booking-form button:hover {
  background: #bfa137;
  transform: scale(1.05);
}

/* ================= CONTACT ================= */
.contact-info {
  padding: 80px 5%;
  text-align: center;
  max-width: 1200px;
  width:100%;
  height:65vh;
  margin: 0 auto; /* centrování */
}

.contact-info h1 {
  margin-bottom: 20px;
  color: #d4af37;
}

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

/* ================= FOOTER ================= */
footer {
  background: #1a1a1a;
  color: #e0e0e0;
  text-align: center;
  padding: 30px 10%;
  border-top: 2px solid #d4af37;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 5%;
  }

  .quick-info, .offer-list, .team-list {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #1a1a1a;
    position: absolute;
    top: 60px;
    right: 10%;
    padding: 20px;
    border-radius: 10px;
  }

  .nav-links.nav-active {
    display: flex;
  }

  .burger {
    display: block;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}