/* Загальні стилі */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: white;
  background: url('https://images.unsplash.com/photo-1603302576831-7c9c58ebbf89') no-repeat center center fixed;
  background-size: cover;
  scroll-behavior: smooth;
}

/* Header */
header {
  background-color: rgba(220, 38, 38, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Lobster', cursive;
  font-size: 32px;
  color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: white;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #ffcccc;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Hero section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-image: url('800_0_1612944601-7571.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(45%) blur(5px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-content h1 {
  font-family: 'Lobster', cursive;
  font-size: 64px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 30px;
  color: #f8f8f8;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}

.btn {
  background-color: white;
  color: #dc2626;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn:hover {
  background-color: #ffe5e5;
  transform: scale(1.05);
}

.btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* About section */
.about {
  background: linear-gradient(to bottom right, #fff8f8, #ffe5e5);
  color: #333;
  padding: 80px 20px;
  text-align: center;
}

.about h2 {
  font-family: 'Lobster', cursive;
  font-size: 40px;
  margin-bottom: 30px;
  color: #dc2626;
}

.about p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about p:hover {
  transform: scale(1.02);
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.85);
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 16px;
  }

  .about h2 {
    font-size: 32px;
  }

  .about p {
    font-size: 18px;
    padding: 20px;
  }
}
