/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #333;
}

/* Hero sekce */
.hero {
  position: relative;
  height: 40vh;
  background: url('https://images.unsplash.com/photo-1551218808-94e220e084d2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80')
              center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 2;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.search-box {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.search-box input {
  padding: 0.8rem 1rem;
  border-radius: 25px;
  border: none;
  width: 250px;
  font-size: 1rem;
}

.search-box button {
  padding: 0.8rem 1rem;
  border-radius: 50%;
  border: none;
  background: #ff5722;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
}

.search-box button:hover {
  background: #e64a19;
}

/* Výsledky */
.results {
  max-width: 1000px;
  margin: 2rem auto;
  display: grid;
  gap: 1.5rem;
  padding: 0 1rem;
}

.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #222;
}

.card .restaurant {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.card .price {
  color: #ff5722;
  font-weight: bold;
}

.card .rating {
  margin: 0.3rem 0;
}

.card a {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
  color: #007bff;
  transition: color 0.2s;
}

.card a:hover {
  color: #0056b3;
}

.no-results {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
}

/* Responzivita */
@media (max-width: 600px) {
  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .search-box input {
    width: 180px;
  }

  .results {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 601px) {
  .results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .results {
    grid-template-columns: repeat(3, 1fr);
  }
}
