/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

.app {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Кнопки */
button {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  font-weight: 600;
}

/* Хедер и навигация */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.header-container {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #15803d; /* зеленый цвет */
}

.desktop-nav {
  display: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #15803d;
}

.mobile-menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: transparent;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.menu-icon {
  width: 24px;
  height: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Мобильное меню */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  padding: 1rem;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 40;
}

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

.mobile-nav .nav-link {
  margin: 0.5rem 0;
  padding: 0.5rem;
  display: block;
}

/* Главный контент */
.main-content {
  flex: 1;
}

/* Баннер */
.hero-section {
  position: relative;
  height: 50vh;
  min-height: 400px;
  width: 100%;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  background-color: #16a34a;
  color: white;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: #15803d;
}

/* Секция животных */
.animals-section {
  padding: 3rem 0;
  background-color: #f0fdf4;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.animal-tabs {
  width: 100%;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-button {
  padding: 0.75rem;
  background-color: #dcfce7;
  text-align: center;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s;
}

.tab-button.active {
  background-color: #16a34a;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.animal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.animal-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.animal-image-container {
  position: relative;
  padding-bottom: 66.66%; /* 3:2 aspect ratio */
}

.animal-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.animal-content {
  padding: 1.5rem;
}

.animal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.animal-description {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Секция событий */
.events-section {
  padding: 3rem 0;
  background-color: white;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
}

.event-image-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.event-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-content {
  padding: 1.5rem;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #15803d;
}

.event-detail {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.event-icon {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

.event-description {
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Секция билетов */
.tickets-section {
  padding: 3rem 0;
  background-color: #f0fdf4;
}

.tickets-container {
  text-align: center;
  margin-bottom: 3rem;
}

.tickets-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tickets-description {
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: #4b5563;
}

.tickets-button {
  padding: 0.875rem 2rem;
  background-color: #16a34a;
  color: white;
  font-size: 1.125rem;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.tickets-button:hover {
  background-color: #15803d;
}

.ticket-info-section {
  padding-top: 2rem;
}

.ticket-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ticket-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.ticket-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ticket-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #15803d;
}

.ticket-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.ticket-button {
  padding: 0.75rem 1rem;
  background-color: #dcfce7;
  color: #15803d;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  transition: all 0.2s;
  align-self: center;
}

.ticket-button:hover {
  background-color: #15803d;
  color: white;
}

.payment-info {
  margin-top: 2rem;
}

.payment-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.payment-description {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Секция отзывов */
.reviews-section {
  padding: 3rem 0;
  background-color: white;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 3rem;
}

.reviews-container {
  display: flex;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 100%;
  padding: 2rem;
  background-color: #f9fafb;
  border-radius: 8px;
  text-align: center;
  margin: 0 0.5rem;
}

.review-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-avatar-container {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
}

.review-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #16a34a;
}

.review-author {
  font-weight: 600;
  font-size: 1rem;
}

.review-role {
  font-size: 0.875rem;
  color: #6b7280;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.2s;
}

.carousel-button:hover {
  background-color: #f0fdf4;
}

.prev-button {
  left: 0;
}

.next-button {
  right: 0;
}

/* Подвал */
.footer {
  background-color: #022c22;
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-contact-list, .footer-hours-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-icon {
  margin-right: 0.75rem;
  color: #16a34a;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #134e4a;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.social-link:hover {
  background-color: #16a34a;
}

.social-icon {
  width: 20px;
  height: 20px;
}

.newsletter-signup {
  width: 100%;
}

.newsletter-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
}

.newsletter-button {
  padding: 0.75rem;
  background-color: #16a34a;
  color: white;
  font-weight: 500;
  border-radius: 4px;
}

.newsletter-button:hover {
  background-color: #15803d;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #134e4a;
  font-size: 0.875rem;
  color: #d1d5db;
}

/* Адаптивный дизайн */
@media (min-width: 640px) {
  .animal-grid, .events-grid, .ticket-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .newsletter-form {
    flex-direction: row;
  }
  .newsletter-input {
    flex-grow: 1;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .mobile-menu-button {
    display: none;
  }
  .hero-title {
    font-size: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .animal-grid, .ticket-types-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .review-card {
    flex: 0 0 33.333%;
  }
} 