/* ================================================
   Dutch Theme Variables - DutchFixPro
   Netherlands Market Specific Colors & Styling
   ================================================ */

:root {
  /* ================================================
     Dutch Color System - Orange & Blue Theme
     ================================================ */
  
  /* Primary Colors - Dutch Orange */
  --color-primary: #FF6600;
  --color-primary-light: #FF9944;
  --color-primary-dark: #CC5500;
  --color-primary-darker: #B34700;
  
  /* Secondary Colors - Dutch Blue */
  --color-secondary: #0066CC;
  --color-secondary-light: #4D94FF;
  --color-secondary-dark: #003D7A;
  --color-secondary-darker: #002952;
  
  /* Compatibility variables */
  --primary-orange: #FF6600;
  --primary-orange-light: #FF9944;
  --primary-orange-dark: #CC5500;
  --dutch-blue: #0066CC;
  --dutch-blue-light: #4D94FF;
  --dutch-blue-dark: #003D7A;
  
  /* Gradients - Dutch Theme */
  --gradient-primary: linear-gradient(135deg, #FF6600 0%, #CC5500 100%);
  --gradient-secondary: linear-gradient(135deg, #0066CC 0%, #003D7A 100%);
  --gradient-hero: linear-gradient(135deg, rgba(255, 102, 0, 0.9) 0%, rgba(204, 85, 0, 0.9) 100%);
  --gradient-card: linear-gradient(145deg, #FAFAFA 0%, #F5F5F5 100%);
  
  /* Semantic Colors - Dutch Theme */
  --color-success: #00A650;
  --color-success-light: #B3F0D1;
  --color-warning: #FF9500;
  --color-warning-light: #FFE4B3;
  --color-error: #FF3B30;
  --color-error-light: #FFB3B0;
  --color-info: #0066CC;
  --color-info-light: #B3D6FF;
  
  /* WhatsApp Green */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;
  
  /* Dutch Flag Colors (for accents) */
  --dutch-flag-red: #FF0000;
  --dutch-flag-white: #FFFFFF;
  --dutch-flag-blue: #0066CC;
  
  /* Text Colors */
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #666666;
  --color-text-light: #999999;
  
  /* Border Colors */
  --color-border-light: #E0E0E0;
  --color-border-medium: #CCCCCC;
  
  /* Background Colors */
  --color-bg-secondary: #F8F8F8;
}

/* ================================================
   Dutch-specific component styles
   ================================================ */

/* Body adjustments for fixed navigation */
body {
  padding-top: 0; /* Убираем padding-top с body, так как hero имеет свой отступ */
}

/* Hero Section - Dutch Theme */
.hero {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding-top: 5rem; /* Отступ сверху для меню */
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__overlay {
  background: var(--gradient-hero);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  width: 100%;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero__title-line--accent {
  color: var(--dutch-blue-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Buttons - Dutch Theme */
.btn--primary {
  background: var(--dutch-blue);
  border-color: var(--dutch-blue);
  color: white;
  transition: all 0.3s ease;
}

.btn--primary:hover {
  background: var(--dutch-blue-dark);
  border-color: var(--dutch-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn--secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
  transition: all 0.3s ease;
}

.btn--secondary:hover {
  background: white;
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  color: white;
  transition: all 0.3s ease;
}

.btn--whatsapp:hover {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Navigation - Dutch Theme */
.nav {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 4rem; /* Фиксированная высота для правильного расчета отступов */
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav__links a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav__links a:hover {
  color: var(--color-primary);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Language Selector */
.language-selector {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
  display: flex;
  gap: 0.5rem;
}

.language-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-btn:hover,
.language-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--dutch-blue);
  color: white;
  padding: 8px;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styling */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Trust Indicators */
.hero__trust {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  opacity: 0.95;
}

.trust-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.trust-indicator svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--color-bg-secondary);
}

.service-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid var(--color-border-light);
  color: var(--color-text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card--popular {
  border: 2px solid var(--color-primary);
}

.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.service-card__badge {
  background: var(--color-success);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.service-card__description {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-card__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.service-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.service-card__features li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: bold;
  font-size: 1rem;
}

.service-card__cta {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Process Section */
.process {
  padding: 5rem 0;
  background: white;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: var(--color-bg-secondary);
  position: relative;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step__icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.process-step__content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}

.process-step__content p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.process-cta {
  text-align: center;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--color-bg-secondary);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
}

.contact-method__icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.contact-method h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.contact-method__number,
.contact-method__email {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contact-method__hours {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

/* Trust Section */
.trust-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.trust-section h3 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

/* Gallery Section */
.gallery {
  padding: 5rem 0;
  background: white;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: white;
  border: 2px solid var(--color-border-light);
  color: var(--color-text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.gallery-filter-btn:hover,
.gallery-filter-btn--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item__image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.gallery-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item__image img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 102, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__zoom {
  background: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: var(--color-primary);
}

.gallery-item__zoom:hover {
  transform: scale(1.1);
}

.gallery-item__content {
  padding: 1.5rem;
}

.gallery-item__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.gallery-item__description {
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal--active {
  opacity: 1;
}

.gallery-modal__overlay {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal__content {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.gallery-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: white;
  transition: background 0.3s ease;
}

.gallery-modal__close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-modal__image {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
}

.gallery-modal__info {
  padding: 2rem;
}

.gallery-modal__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.gallery-modal__description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
  pointer-events: none;
}

.gallery-modal__prev,
.gallery-modal__next {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background 0.3s ease;
  pointer-events: all;
}

.gallery-modal__prev:hover,
.gallery-modal__next:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background: var(--color-bg-secondary);
}

/* Calculator Section */
.calculator {
  padding: 3rem 0;
  background: white;
}

/* Footer */
.footer {
  background: var(--color-neutral-900);
  color: white;
  padding: 3rem 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.footer__section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__section ul li {
  margin-bottom: 0.5rem;
}

.footer__section a {
  color: var(--color-neutral-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__section a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid var(--color-neutral-700);
  padding-top: 1rem;
  text-align: center;
  color: var(--color-neutral-400);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding-top: 4rem; /* Меньший отступ на мобильных */
    min-height: 100vh;
  }
  
  .hero__content {
    padding: 0 1rem;
  }
  
  .hero__title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
  
  .hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .nav__links {
    display: none;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .language-selector {
    top: 4.5rem;
    right: 0.5rem;
  }
  
  .language-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .trust-list {
    grid-template-columns: 1fr;
  }
  
  .gallery-filter {
    gap: 0.5rem;
  }
  
  .gallery-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-item__image {
    height: 200px;
  }
  
  .gallery-modal {
    padding: 1rem;
  }
  
  .gallery-modal__content {
    max-height: 85vh;
  }
  
  .gallery-modal__image {
    max-height: 50vh;
  }
  
  .gallery-modal__info {
    padding: 1.5rem;
  }
  
  .gallery-modal__nav {
    padding: 0 0.5rem;
  }
  
  .gallery-modal__prev,
  .gallery-modal__next {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
    padding-top: 3.5rem; /* Еще меньший отступ на очень маленьких экранах */
  }
  
  .hero__content {
    padding: 1rem 0.5rem;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    margin-bottom: 1rem;
  }
  
  .hero__subtitle {
    font-size: clamp(1rem, 4vw, 1.125rem);
    margin-bottom: 1.5rem;
  }
  
  .btn--large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
}

/* Animation for better UX */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.process-step {
  animation: fadeInUp 0.6s ease-out;
}

.contact-method {
  animation: fadeInUp 0.6s ease-out;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn--primary,
  .btn--whatsapp {
    border: 2px solid;
  }
  
  .trust-indicator {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}