:root {
  --primary: #fadadd;
  --accent: #d0f0c0;
  --light-bg: #ffffff;
  --text: #333333;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Rubik", sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--light-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}
.site-nav a {
  font-weight: 500;
  padding: 8px;
  transition: color 0.3s;
}
.site-nav a:hover {
  color: var(--accent);
}

.spacer {
  height: 64px;
}

.hero {
  position: relative;
  overflow: hidden;
  height: 80vh;
}
.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
}
.slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Затемнение */
  z-index: 1;
}
.slide {
  flex: 1 0 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(250, 218, 221, 0.5),
    rgba(208, 240, 192, 0.5)
  );
}
.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.hero-content .btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #080000;
  border-radius: 30px;
  font-weight: 500;
  transition: background 0.3s;
}
.hero-content .btn:hover {
  background: var(--primary);
}
.hero .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
}
.nav-btn.prev {
  left: 16px;
}
.nav-btn.next {
  right: 16px;
}

.site-footer {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  padding: 24px 20px;
  margin-top: 40px;
  color: #fff;
  text-align: center;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-links {
  margin-bottom: 12px;
}
.footer-links a {
  color: #fff;
  font-weight: 500;
  margin: 0 8px;
}
.footer-links .bar {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 4px;
}
.footer-copy {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .site-nav ul {
    gap: 16px;
  }
}

.about-section {
  position: relative;
  background: url("../assets/images/gallery1.jpg") center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  color: #fff;
  z-index: 1;
}
.about-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.about-section .container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.about-content h2 {
  font-family: "Rubik", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-content {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

@media (max-width: 768px) {
  .about-section {
    height: auto;
    padding: 60px 0;
  }
  .about-content h2 {
    font-size: 2rem;
  }
}

.advantages-section {
  background: var(--light-bg);
  padding: 80px 20px;
}
.advantages-section h2 {
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 40px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.adv-card {
  perspective: 1000px;
}
.adv-card-inner {
  position: relative;
  width: 100%;
  padding-top: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.adv-card:hover .adv-card-inner {
  transform: rotateY(180deg);
}

.adv-card-front,
.adv-card-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.adv-card-front {
  background: var(--accent);
}
.adv-card-back {
  background: var(--light-bg);
  transform: rotateY(180deg);
}

.adv-card-front img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.adv-card-front h3 {
  font-size: 1.25rem;
  color: var(--text);
  text-align: center;
}

.adv-card-back p {
  font-size: 0.95rem;
  color: var(--dark-text);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .advantages-section h2 {
    font-size: 2rem;
  }
  .adv-card-front h3 {
    font-size: 1.1rem;
  }
  .adv-card-back p {
    font-size: 0.9rem;
  }
}

.why-us-vertical {
  background: var(--light-bg);
  padding: 80px 20px;
}
.why-us-vertical h2 {
  text-align: center;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 40px;
}

.why-us-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.why-us-item + .why-us-item {
  margin-top: 16px;
}
.item-toggle {
  background: var(--accent);
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
}
.item-toggle:hover {
  background: var(--primary);
}
.item-icon {
  width: 32px;
  height: 32px;
  margin-right: 16px;
}
.item-title {
  flex: 1;
  font-size: 1.2rem;
  color: var(--text);
}
.chevron {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.item-content {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  margin-top: 4px;
  border-radius: 0 0 8px 8px;
  transition: max-height 0.5s ease;
  padding: 0 20px;
}
.item-content p {
  margin: 16px 0;
  color: var(--dark-text);
  line-height: 1.5;
}

.why-us-item.open .item-toggle .chevron {
  transform: rotate(90deg);
}
.why-us-item.open .item-content {
  max-height: 200px;
}

@media (max-width: 600px) {
  .why-us-vertical h2 {
    font-size: 2rem;
  }
  .item-toggle {
    padding: 14px 16px;
  }
  .item-title {
    font-size: 1rem;
  }
  .item-content p {
    font-size: 0.95rem;
  }
}

.gallery-section {
  background: var(--light-bg);
  padding: 80px 20px;
}
.gallery-section h2 {
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.wide-photo-section {
  width: 100%;
  height: 70vh;
  background: url("../assets/images/item8.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.wide-photo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.wide-photo-content {
  position: relative;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10%;
  box-sizing: border-box;
}

.wide-photo-content h2 {
  font-family: "Rubik", sans-serif;
  font-size: 3.5rem;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  margin: 0;
}

@media (max-width: 768px) {
  .wide-photo-section {
    height: 50vh;
  }
  .wide-photo-content {
    width: 100%;
    padding: 0 20px;
    justify-content: center;
  }
  .wide-photo-content h2 {
    font-size: 2rem;
    text-align: center;
  }
}

.contact-section {
  background: var(--accent);
  padding: 80px 20px;
}
.contact-section h2 {
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 2.4rem;
  color: #333333;
  margin-bottom: 40px;
}

.contact-content .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: #333333;
  margin-bottom: 16px;
}
.contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.contact-info li {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-info a {
  color: var(--text);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.social-links img {
  width: 24px;
  height: 24px;
  transition: filter 0.3s;
}


.contact-map img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

@media (max-width: 768px) {
  .contact-content .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-section h2 {
    font-size: 2rem;
  }
}

.about-detailed-section {
  background: var(--light-bg);
  padding: 80px 20px;
}
.about-detailed-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.about-text {
  flex: 1 1 400px;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}
.about-text h2 {
  font-family: "Rubik", sans-serif;
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 24px;
}
.about-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.about-image {
  flex: 1 1 400px;
  text-align: center;
  animation: fadeInRight 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}
.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .about-detailed-content {
    flex-direction: column;
    align-items: center;
  }
  .about-text h2 {
    font-size: 2rem;
    text-align: center;
  }
  .about-text,
  .about-image {
    flex: 1 1 100%;
  }
}

.categories-section {
  background: var(--light-bg);
  padding: 80px 20px;
}
.categories-section h2 {
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 40px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: var(--accent);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 0 0 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.category-card h3 {
  font-family: "Rubik", sans-serif;
  font-size: 1.3rem;
  color: var(--text);
  margin: 16px 0 8px;
}

.category-card p {
  font-size: 0.95rem;
  color: var(--dark-text);
  margin: 0 16px 16px;
  line-height: 1.4;
}

.category-card .btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--primary);
  color: #080000;
  border-radius: 30px;
  font-weight: 500;
  transition: background 0.3s;
}
.category-card .btn:hover {
  background: var(--accent);
}

@media (max-width: 600px) {
  .categories-section h2 {
    font-size: 2rem;
  }
  .category-card img {
    height: 140px;
  }
  .category-card h3 {
    font-size: 1.2rem;
  }
  .category-card p {
    font-size: 0.9rem;
  }
}

.hero-section {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
}
.hero-section .hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-section .hero-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-section .hero-content h1 {
  font-family: "Rubik", sans-serif;
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-section .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.spacer {
  height: 64px;
}

.about-section {
  padding: 60px 20px;
}
.about-section h2 {
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.about-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

.products-section {
  background: var(--accent);
  padding: 60px 20px;
}
.products-section h2 {
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 32px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-card h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin: 16px 0 8px;
}
.product-card p {
  font-size: 1rem;
  color: var(--dark-text);
  margin-bottom: 16px;
}
.product-card .btn {
  background: var(--primary);
  color: #080000;
  padding: 10px 24px;
  border-radius: 30px;
  display: inline-block;
  transition: background 0.3s;
  text-decoration: none;
}
.product-card .btn:hover {
  background: var(--accent);
}

.tips-section {
  background: var(--light-bg);
  padding: 60px 20px;
}
.tips-section h2 {
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 24px;
}
.tips-section ul {
  max-width: 800px;
  margin: 0 auto;
  list-style: disc inside;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}
.tips-section ul li {
  margin-bottom: 8px;
}

.testimonials-section {
  background: var(--accent);
  padding: 60px 20px;
}
.testimonials-section h2 {
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 24px;
}
.testimonials-section blockquote {
  max-width: 800px;
  margin: 0 auto 16px;
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  font-style: italic;
  position: relative;
}
.testimonials-section blockquote p {
  margin-bottom: 12px;
  color: var(--dark-text);
}
.testimonials-section blockquote footer {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
}

.cta-section {
  background: var(--light-bg);
  padding: 60px 20px;
  text-align: center;
}
.cta-section h2 {
  font-family: "Rubik", sans-serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.cta-section .btn {
  background: var(--accent);
  color: #080000;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1rem;
  transition: background 0.3s;
  text-decoration: none;
}
.cta-section .btn:hover {
  background: var(--primary);
}

.btn {
  font-family: "Rubik", sans-serif;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-section .hero-content h1 {
    font-size: 2.4rem;
  }
  .products-grid {
    gap: 16px;
  }
  .product-card img {
    height: 160px;
  }
  .product-card h3 {
    font-size: 1.1rem;
  }
  .tips-section h2,
  .testimonials-section h2,
  .cta-section h2 {
    font-size: 1.8rem;
  }
}

.title_background {
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  padding: 60px 20px;
}
.title_background .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.title_background .title {
  font-family: "Rubik", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeInDown 0.8s ease-out forwards;
}

.text_background {
  background: var(--light-bg);
  padding: 40px 20px;
}
.text_background .container {
  max-width: 800px;
  margin: 0 auto;
}
.text_background .text {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  text-align: justify;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .title_background .title {
    font-size: 1.6rem;
  }
  .text_background .text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}
.about-section {
  background-image: url('../assets/images/gallery1.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  padding: 60px 20px;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* затемнение на 50% */
  z-index: 1;
}
