/* Базовые стили */
body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  background-color: #f8f4ee;
  color: #3a2f2f;
  font-size: 1.2rem;
  line-height: 1.7;
  scroll-behavior: smooth;
}

/* Заголовки */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #2c1e1e;
}

/* --- Навигация --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,248,240,0.95);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 100;
}
.navbar ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 15px 0;
}
.navbar a {
  color: #3a2f2f;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.navbar a:hover { color: #b38b6d; }

/* --- Hero --- */
.hero {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1602529712591-c4a53e4b3e52?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
}
.hero p {
  font-size: 1.8rem;
}
.btn {
  display: inline-block;
  background: #b38b6d;
  color: white;
  padding: 14px 35px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover { background: #9f7757; }

/* --- About --- */
.about {
  padding: 100px 20px;
  background: #fffaf4;
}
.about-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}
.about-text { flex: 1; font-size: 1.3rem; }
.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Catalog --- */
.catalog { padding: 100px 20px; }
.catalog h2 { text-align: center; font-size: 2.5rem; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; border-radius: 8px; margin-bottom: 15px; }
.price { color: #b38b6d; font-weight: bold; font-size: 1.3rem; }

/* --- Advantages --- */
.advantages {
  background: #f3ece4;
  padding: 80px 20px;
  text-align: center;
}
.adv-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}
.adv-item {
  background: #fff;
  border-radius: 6px;
  padding: 20px 30px;
  font-size: 1.3rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- Reviews --- */
.reviews {
  padding: 100px 20px;
  background: #fffaf4;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
}
.review {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}
.review:hover { transform: translateY(-5px); }
.review img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: sepia(0.4);
}
.review-text {
  padding: 20px;
  font-size: 1.2rem;
  line-height: 1.6;
}
.review span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #b38b6d;
}

/* --- Contacts --- */
.contacts {
  padding: 100px 20px;
  text-align: center;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 30px auto;
}
input, textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1.1rem;
}
.contact-info a { color: #b38b6d; text-decoration: none; }

/* --- Кнопка вверх --- */
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #b38b6d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  display: none;
}

/* --- Анимации --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Медиа-запросы --- */
@media (max-width: 1200px) {
  body { font-size: 1.1rem; }
  .hero h1 { font-size: 3.5rem; }
}
@media (max-width: 992px) {
  .about-inner { flex-direction: column; }
  .review img { height: 200px; }
}
@media (max-width: 768px) {
  body { font-size: 1rem; }
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.2rem; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1.1rem; }
}
@media (min-width: 1600px) {
  body { font-size: 1.4rem; }
  .hero h1 { font-size: 4.5rem; }
  .hero p { font-size: 2rem; }
}
@media (min-width: 2000px) {
  body { font-size: 1.6rem; }
  h1 { font-size: 5rem; }
}



/* Общий стиль заголовков секций */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #2c1e1e;
  position: relative;
}

.section-line {
  display: inline-block;
  width: 120px;
  height: 3px;
  background: #b38b6d;
  border-radius: 2px;
  margin-top: 15px;
}

/* Увеличенные заголовки и тексты */
h3 {
  font-size: 1.6rem;
}
p {
  font-size: 1.25rem;
  line-height: 1.8;
}

/* Крупные адаптивные размеры */
@media (min-width: 1600px) {
  .section-header h2 { font-size: 3.6rem; }
  h3 { font-size: 1.8rem; }
  p { font-size: 1.35rem; }
}
@media (max-width: 768px) {
  .section-header h2 { font-size: 2.4rem; }
}
@media (max-width: 480px) {
  .section-header h2 { font-size: 2rem; }
  p { font-size: 1.1rem; }
}
