/* Основные стили сайта domain.com */

:root {
  --background: #FAF3E0;
  --main-accent: #4C3A51;
  --secondary-accent: #E94F37;
  --headers: #2D2D34;
  --text: #5C5C5C;
  --button-gradient-start: #E94F37;
  --button-gradient-end: #FF9F55;
  --block-border: #DAD2C7;
  --block-radius: 18px;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--headers);
  margin-bottom: 1rem;
}

a {
  color: var(--main-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-accent);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
  color: white;
  border: none;
  border-radius: var(--block-radius);
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: white;
}

.block {
  background-color: white;
  border-radius: var(--block-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--block-border);
}

/* Хедер */
.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* Якоря - отступ для фиксированного хедера */
:target {
  scroll-margin-top: 80px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--main-accent);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu li a {
  font-weight: 500;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--main-accent);
}

/* Hero секция */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, rgba(250, 243, 224, 0.8), rgba(250, 243, 224, 0.95)), url('../img/wPhVNv.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Секция О нас */
.about {
  padding: 4rem 0;
}

.about-title {
  text-align: center;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-image {
  flex: 0.6;
  border-radius: var(--block-radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  display: block;
}

.about-text {
  flex: 1;
}

/* Секция Преимущества */
.advantages {
  padding: 4rem 0;
  background-color: rgba(76, 58, 81, 0.05);
}

.advantages-title {
  text-align: center;
  margin-bottom: 2rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.advantage-card {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: var(--block-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.advantage-card i {
  font-size: 2.5rem;
  color: var(--secondary-accent);
  margin-bottom: 1rem;
}

/* Секция Услуги */
.services {
  padding: 4rem 0;
}

.services-title {
  text-align: center;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: var(--block-radius);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

/* Секция Почему мы */
.why-us {
  padding: 4rem 0;
  background-color: rgba(76, 58, 81, 0.05);
}

.why-us-title {
  text-align: center;
  margin-bottom: 2rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-us-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-us-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Секция Отзывы */
.testimonials {
  padding: 4rem 0;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonials-container {
  position: relative;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--block-radius);
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin: 1rem;
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: bold;
}

/* Секция Форма заказа */
.contact-form {
  padding: 4rem 0;
  background-color: rgba(76, 58, 81, 0.05);
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--block-radius);
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--block-border);
  border-radius: calc(var(--block-radius) / 2);
  font-family: inherit;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check input {
  margin-top: 0.25rem;
  margin-right: 0.5rem;
}

/* Футер */
.footer {
  background-color: var(--main-accent);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-menu a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 0.5rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: white;
  border-radius: var(--block-radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 400px;
  display: none;
}

.cookie-popup p {
  margin-bottom: 1rem;
}

.cookie-popup-actions {
  display: flex;
  justify-content: space-between;
}

/* Policy pages */
.policy-content {
  max-width: 800px;
  margin: 8rem auto 4rem;
  background-color: white;
  padding: 2rem;
  border-radius: var(--block-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
  margin-bottom: 2rem;
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p {
  margin-bottom: 1rem;
}

/* Спасибо страница */
.thank-you {
  text-align: center;
  padding: 8rem 0 4rem;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--block-radius);
  padding: 3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.thank-you i {
  font-size: 4rem;
  color: var(--secondary-accent);
  margin-bottom: 1.5rem;
}

/* Адаптивность */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0;
    padding: 0.5rem 2rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .header-content {
    padding: 0.75rem 0;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .hero {
    padding: 7rem 0 3rem;
  }
}
