/* Global Styles */
:root {
  --primary-color: #7FFFD4;    /* Аквамариновый */
  --accent-color: #FA8072;     /* Лосось */
  --background-color: #4682B4; /* Ярко-Морской */
  --text-color: #FFFAF0;       /* Небеленый шелк */
  --dark-accent: #2C3E50;      /* Темный акцент для контраста */
  --light-bg: #F0F8FF;         /* Светлый фон для блоков */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: var(--dark-accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-color);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-checkbox {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/tOGEy2.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1.2s ease;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--dark-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--dark-accent);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  padding-bottom: 10px;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 25%;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--light-bg);
  color: var(--dark-accent);
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.service-card {
  flex: 1 1 300px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  margin-bottom: 10px;
  color: var(--dark-accent);
}

.service-content p {
  margin-bottom: 15px;
  color: #555;
}

/* Order Form Section */
.order-form {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--background-color), var(--dark-accent));
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 2px var(--primary-color);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='18px' height='18px'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

select.form-control option {
  color: black;
  background-color: white;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
}

.checkbox-group label {
  font-size: 0.9rem;
}

.checkbox-group label a {
  color: white;
  text-decoration: none;
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.gallery .section-title h2 {
  color: var(--background-color);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--dark-accent);
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  flex: 1 1 300px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  margin-bottom: 5px;
}

.testimonial-author-info p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--light-bg);
  color: var(--dark-accent);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item details {
  background-color: white;
  border-radius: 8px;
}

.faq-item summary {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  list-style: none;
  background-color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-item details[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:hover {
  background-color: rgba(255, 255, 255, 1);
}

.faq-content {
  padding: 15px 20px;
  background-color: white;
}

/* Blog Section */
.blog {
  padding: 80px 0;
  background-color: var(--background-color);
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
  color: var(--dark-accent);
}

.blog-content h3 {
  margin-bottom: 10px;
}

.blog-content p {
  margin-bottom: 15px;
  color: #555;
}

.blog-date {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 10px;
  display: block;
}

/* Footer */
footer {
  background-color: var(--dark-accent);
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.footer-section p {
  margin-bottom: 15px;
}

.contact-info {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  padding-right: 20px;
  color: white;
}

.cookie-text a {
  color: white;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 50px auto;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.policy-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

.policy-container h2 {
  margin: 30px 0 15px;
  color: var(--primary-color);
}

.policy-container p {
  margin-bottom: 15px;
}

.policy-container ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.policy-container ul li {
  margin-bottom: 10px;
}

.policy-container a {
  color: white;
  text-decoration: none;
}

.policy-container a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 100px 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.thank-you h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.thank-you p {
  margin-bottom: 30px;
  max-width: 600px;
}

/* Extra Pages */
.extra-page {
  padding: 80px 0;
  min-height: 60vh;
}

.extra-page-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.extra-page-container h1 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  /* Mobile Menu */
  nav ul {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .mobile-menu-checkbox:checked ~ nav ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark-accent);
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .mobile-menu-checkbox:checked ~ nav ul li {
    margin: 15px 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    margin-bottom: 15px;
    padding-right: 0;
  }
}
