:root {
  --bg-main: #0e0e10;
  --bg-secondary: #111214;
  --accent: #c9a24d;
  --text-main: #f2f2f2;
  --text-muted: #9a9a9a;
}

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

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* HERO */

.hero {
  height: 100vh;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.04em;
}

.hero-subtitle {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* SECTIONS */

/* основной вертикальный ритм сайта */
.section {
  padding: 100px 0; /* было 120 — чуть уменьшили */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 40px; /* уменьшили расстояние под заголовками */
}

/* ABOUT */

.text-block {
  max-width: 600px;
  margin-bottom: 50px;
}

.about-text h2 {
  margin-bottom: 16px;
}

/* GALLERY */

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

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 0.85rem;
  color: var(--accent);
}

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

/* MUSIC */

/* расстояние между плеерами */
.players {
  display: flex;
  flex-direction: column;
  gap: 25px; /* было 40 — теперь компактнее */
}

/* PRICING – PREMIUM LIST */

.pricing {
  background: #0e0e10;

  padding-top: 40px; /* уменьшили расстояние от предыдущего блока */
}

/* расстояние под заголовком "Прайс" */
.pricing .section-title {
  margin-bottom: 30px;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 25px; /* немного уменьшили расстояние между строками */
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 28px 0; /* было 32 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-left h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.pricing-left p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-right {
  font-size: 1.1rem;
  font-weight: 400;
  color: #e5e5e5;
  letter-spacing: 0.05em;
}

/* MOBILE */

@media (max-width: 600px) {

  .pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pricing-right {
    font-size: 1rem;
  }

}

/* CONTACTS */

.contacts {
  background: #050505;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

/* ANIMATIONS */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay {
  transition-delay: 0.3s;
}

/* ORDER BLOCK */

.order {
  padding: 80px 0 70px; /* уменьшили вертикальный отступ */
  text-align: center;
}

.order-text {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.order-text a {
  display: inline-block;
  margin-top: 16px;
  font-size: 1.4rem;
  color: var(--accent);
  text-decoration: none;
}

/* FOOTER */

.footer {
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  background: #050505;
}

/* PRINCIPLES LIST */

.principles-list {
  list-style: disc;
  padding-left: 22px;
  margin-top: 0;
}

.principles-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* ABOUT LAYOUT */

.about-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 60%;
  max-width: 700px;
}

.about-images {
  flex: 1 1 40%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.about-image-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.about-image-item span {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  opacity: 0.55;
}

/* MOBILE */

@media (max-width: 900px) {

  .section {
    padding: 70px 0; /* на мобильных секции компактнее */
  }

  .about-layout {
    flex-direction: column;
    gap: 40px;
  }

  .about-text {
    max-width: 100%;
  }

  .about-images {
    max-width: 100%;
    gap: 25px;
  }

  .about-image-item img {
    width: 100%;
    max-width: 500px;
  }

}

/* PROJECTS (музыка) */

.projects {
  padding-top: 70px;
  padding-bottom: 40px; /* уменьшили расстояние перед блоком прайса */
}

.projects-intro {
  margin-bottom: 30px;
  max-width: 600px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.projects h2 {
  margin-bottom: 10px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 15px; /* уменьшили расстояние между песнями */
}

.project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;

  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.projects-list .project-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-info {
  flex: 1;
  max-width: 600px;
}

.project-info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.project-info p {
  opacity: 0.6;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-player-small {
  flex: 0 1 520px;
  max-width: 520px;
  margin-left: 15px;
}

/* MOBILE */

@media (max-width: 900px) {

  .project-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px; /* меньше расстояние между песнями */
  }

  .project-player-small {
    width: 100%;
  }

  .projects-list .project-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

}
