/* Основные стили */
:root {
  --color-white: #FFFFFF;
  --color-light-gray: #F9F9F9;
  --color-moss: #7A9A7F;
  --color-moss-dark: #6A8A6F;
  --color-sand: #E0D3C0;
  --color-terracotta: #C97B5C;
  --color-dark-green: #2D3B32;
  --color-ocean: #5D8AA8;
  --color-meadow: #8AA86D;
  --color-garden: #9A7A7A;
  --color-text: #333333;
  --color-text-light: #666666;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  font-size: 16px;
}

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

/* Типографика */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: normal;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: var(--color-dark-green);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--color-moss);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-moss);
  color: var(--color-white);
  border: 2px solid var(--color-moss);
}

.btn--primary:hover {
  background-color: var(--color-moss-dark);
  border-color: var(--color-moss-dark);
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-dark-green);
}

/* Герой секция */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(122, 154, 127, 0.85) 0%, rgba(45, 59, 50, 0.75) 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(122, 154, 127, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(224, 211, 192, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(201, 123, 92, 0.15) 0%, transparent 50%);
  z-index: -1;
}

.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.logo {
  text-decoration: none;
}

.logo-image {
  display: flex;
  align-items: center;
}

.logo-image svg {
  width: 120px;
  height: 40px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav__link {
  text-decoration: none;
  color: var(--color-white);
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav__link:hover {
  color: var(--color-sand);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sand);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  padding-top: 6rem;
}

.hero__title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--color-white);
}

.hero__subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
}

.image-placeholder {
  background: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-style: italic;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 8px;
}

.hero-placeholder {
  height: 400px;
  background: linear-gradient(135deg, rgba(122, 154, 127, 0.3), rgba(45, 59, 50, 0.2));
  color: var(--color-white);
  font-size: 1.2rem;
  font-style: normal;
}

/* Коллекции */
.collections {
  padding: 80px 0;
  background-color: var(--color-light-gray);
}

.collections__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
  background: var(--color-white);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.collection-card:hover {
  transform: translateY(-5px);
}

.collection-card__image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.collection-placeholder {
  height: 100%;
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: bold;
  font-style: normal;
}

.collection-placeholder.tropical {
  background: linear-gradient(135deg, #7A9A7F, #2D3B32);
}

.collection-placeholder.desert {
  background: linear-gradient(135deg, #E0D3C0, #C97B5C);
}

.collection-placeholder.forest {
  background: linear-gradient(135deg, #2D3B32, #7A9A7F);
}

.collection-placeholder.ocean {
  background: linear-gradient(135deg, #5D8AA8, #2E4A5D);
}

.collection-placeholder.meadow {
  background: linear-gradient(135deg, #8AA86D, #4A5D2E);
}

.collection-placeholder.garden {
  background: linear-gradient(135deg, #9A7A7A, #5D2E4A);
}

.collection-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 59, 50, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.collection-card:hover .collection-card__overlay {
  opacity: 1;
}

.collection-card__content {
  padding: 1.5rem;
}

.collection-card__title {
  margin: 0 0 0.5rem 0;
  text-align: center;
  font-size: 1.2rem;
}

.collection-card__description {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Звук в деталях */
.sound-details {
  padding: 80px 0;
  background-color: var(--color-white);
}

.sound-details__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.packaging-placeholder {
  height: 350px;
  background: linear-gradient(135deg, var(--color-light-gray), var(--color-sand));
  font-size: 1.1rem;
}

.sound-details__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.sound-wave {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
}

.wave-bar {
  width: 6px;
  background-color: var(--color-moss);
  border-radius: 3px;
  animation: wave 2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 15px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 25px; animation-delay: 0.2s; }
.wave-bar:nth-child(3) { height: 35px; animation-delay: 0.4s; }
.wave-bar:nth-child(4) { height: 25px; animation-delay: 0.6s; }
.wave-bar:nth-child(5) { height: 15px; animation-delay: 0.8s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.5); }
}

/* Галерея */
.gallery {
  padding: 80px 0;
  background-color: var(--color-light-gray);
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.gallery-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--color-sand), var(--color-moss));
  color: var(--color-white);
  font-weight: bold;
}

/* Контакты */
.contacts {
  padding: 80px 0;
  background-color: var(--color-dark-green);
  color: var(--color-white);
}

.contacts__content {
  text-align: center;
}

.contacts .section-title {
  color: var(--color-white);
}

.contacts .section-title::after {
  background-color: var(--color-sand);
}

.contacts__email {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-link {
  color: var(--color-sand);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--color-white);
}

/* Подвал */
.footer {
  padding: 40px 0;
  background-color: var(--color-dark-green);
  color: var(--color-white);
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer__logo svg {
  width: 100px;
  height: 30px;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav__link {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav__link:hover {
  color: var(--color-sand);
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer__note {
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Кнопка возврата наверх */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-moss);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-moss-dark);
  transform: translateY(-3px);
}

/* Аудио плеер */
.audio-player {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: bottom 0.3s ease;
  z-index: 1001;
}

.audio-player.active {
  bottom: 0;
}

.audio-player__content {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.audio-player__close {
  position: absolute;
  top: -10px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 5px;
}

.audio-player__title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-dark-green);
}

.audio-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audio-player__element {
  width: 100%;
}

.loop-btn {
  padding: 8px 16px;
  background: var(--color-light-gray);
  border: 1px solid var(--color-text-light);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.loop-btn.active {
  background: var(--color-moss);
  color: var(--color-white);
  border-color: var(--color-moss);
}

/* Адаптивность */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-nav {
    padding: 1rem 15px;
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav__list {
    gap: 1.5rem;
  }
  
  .hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 8rem;
  }
  
  .hero__title {
    font-size: 2.2rem;
  }
  
  .hero__subtitle {
    font-size: 1.1rem;
  }
  
  .hero-placeholder {
    height: 300px;
  }
  
  .sound-details__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .packaging-placeholder {
    height: 250px;
  }
  
  .social-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .collections__grid {
    grid-template-columns: 1fr;
  }
  
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}