.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(12px);
  z-index: 9999;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background: rgba(44, 62, 80, 1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-upper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-logo img {
  height: 50px;
  width: auto;
}

.main-navigation {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  margin: 0 25px;
}

.main-navigation a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.main-navigation a:hover {
  color: var(--accent);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

.header-phone {
  color: var(--text-primary);
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

.main-footer {
  background: var(--primary-dark);
  color: var(--text-primary);
  padding: 60px 0 30px;
}

.footer-widget h4 {
  color: var(--text-primary);
  margin-bottom: 25px;
  font-size: 20px;
}

.footer-widget p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
  padding-top: 25px;
  text-align: center;
  color: var(--text-secondary);
}

.service-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
}

.price-tag {
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
  margin-top: 15px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--primary);
}

.contact-form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(139, 0, 0, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

.gdpr-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--bg-card);
  color: var(--text-dark);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 350px;
  z-index: 9998;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.gdpr-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.gdpr-popup p {
  margin-bottom: 15px;
  color: var(--text-dark);
  font-size: 14px;
}

.gdpr-popup button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.team-member-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-member-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
}

.team-member-card h4 {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.team-member-card .role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 15px;
}

.testimonial-card {
  background: var(--bg-card);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 60px;
  color: var(--accent);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 20px;
  padding-left: 40px;
  color: var(--text-dark);
}

.testimonial-author {
  color: var(--accent);
  font-weight: 600;
}

.blog-post-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post-content {
  padding: 25px;
}

.blog-post-content h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
}

.blog-post-content p {
  color: #666;
  margin-bottom: 20px;
}

.blog-meta {
  color: #999;
  font-size: 14px;
}

@media (max-width: 768px) {
  .main-navigation {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--primary);
    flex-direction: column;
    padding: 40px 20px;
    transition: left 0.3s ease;
  }
  
  .main-navigation.active {
    left: 0;
  }
  
  .main-navigation li {
    margin: 15px 0;
    width: 100%;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-phone {
    font-size: 16px;
  }
  
  .service-card,
  .team-member-card,
  .testimonial-card,
  .blog-post-card {
    margin-bottom: 20px;
  }
  
  .gdpr-popup {
    left: 10px;
    right: 10px;
    max-width: none;
  }
}