/* Crystal Clear Window Cleaning Theme Styles */
/* Material Design with Crisp Blues and Orange Accents */

/* === ГЛОБАЛЬНЫЕ СТИЛИ === */
:root {
  /* Цветовая палитра - Голубые основные + Оранжевые акценты */
  --primary-blue: #2196F3;
  --primary-blue-dark: #1976D2;
  --primary-blue-light: #BBDEFB;
  --secondary-blue: #03A9F4;
  --accent-orange: #FF5722;
  --accent-orange-light: #FFCCBC;
  --neutral-white: #FFFFFF;
  --neutral-gray-50: #FAFAFA;
  --neutral-gray-100: #F5F5F5;
  --neutral-gray-200: #EEEEEE;
  --neutral-gray-300: #E0E0E0;
  --neutral-gray-500: #9E9E9E;
  --neutral-gray-700: #616161;
  --neutral-gray-900: #212121;
  
  /* Типографика */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  
  /* Тени */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
  
  /* Градиенты */
  --gradient-hero: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-orange) 0%, #FF7043 100%);
  
  /* Отступы */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  --spacing-section: 4rem;
}

/* === БАЗОВЫЕ СТИЛИ === */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--neutral-gray-900);
  background-color: var(--neutral-white);
  margin: 0;
  padding: 0;
}

/* === HERO СЕКЦИЯ === */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255,255,255,0.1) 50%, 
    transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: var(--spacing-xxl) 0 var(--spacing-xl) 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* === КНОПКИ === */
.btn-primary {
  background: var(--accent-orange);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #E64A19;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid #6c757d;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
  min-height: 48px;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-blue);
  transform: translateY(-2px);
  text-decoration: none;
  border: 2px solid #E64A19;
}

.section-dark .btn-secondary {
  color: white;
  border: 2px solid white;
}

.section-dark .btn-secondary:hover {
  color: var(--primary-blue);
  border: 2px solid #E64A19;
}

/* === НАВИГАЦИЯ === */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-md) 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-blue) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--neutral-gray-700) !important;
  font-weight: var(--font-weight-medium);
  margin: 0 var(--spacing-sm);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue) !important;
}

.navbar-toggler {
  border: none;
  color: var(--primary-blue);
}

/* === СЕКЦИИ === */
.section {
  padding: var(--spacing-section) 0;
}

.section-gray {
  background: var(--neutral-gray-50);
}

.section-dark {
  background: var(--gradient-hero);
  color: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--neutral-gray-900);
}

.section-dark .section-title {
  color: white;
}

/* === КАРТОЧКИ === */
.service-card {
  background: white;
  border-radius: 12px;
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
  border: 1px solid var(--neutral-gray-200);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 2rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: var(--neutral-gray-900);
}

.service-description {
  color: var(--neutral-gray-700);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.service-price {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--accent-orange);
  margin-bottom: var(--spacing-lg);
}

/* === ФОРМЫ === */
.form-control {
  border: 2px solid var(--neutral-gray-300);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
  color: var(--neutral-gray-900);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
  outline: none;
}

.form-label {
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-sm);
  color: var(--neutral-gray-700);
}

/* === ОТЗЫВЫ === */
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  border-left: 4px solid var(--primary-blue);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  color: var(--neutral-gray-700);
  line-height: 1.6;
}

.testimonial-author {
  font-weight: var(--font-weight-bold);
  color: var(--primary-blue);
  margin-bottom: var(--spacing-xs);
}

.testimonial-location {
  color: var(--neutral-gray-500);
  font-size: 0.9rem;
}

/* === КОМАНДА === */
.team-member {
  text-align: center;
  padding: var(--spacing-xl);
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-lg);
  border: 4px solid var(--primary-blue-light);
}

.team-name {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--neutral-gray-900);
  margin-bottom: var(--spacing-sm);
}

.team-position {
  color: var(--primary-blue);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-md);
}

/* === ГАЛЕРЕЯ === */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

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

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

/* === COOKIE БАННЕР === */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--neutral-gray-900);
  color: white;
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  max-width: 400px;
  z-index: 10000;
  display: block;
  opacity: 1;
}

.cookie-consent-banner.hidden {
  display: none;
}

.cookie-banner-title {
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

.cookie-banner-text {
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}

.cookie-btn.accept {
  background: var(--accent-orange);
  color: white;
}

.cookie-btn.decline {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-btn:hover {
  opacity: 0.8;
}

/* Additional utility classes */
.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}

/* === FOOTER === */
.footer-section {
  background: var(--neutral-gray-900);
  color: white;
  padding: var(--spacing-section) 0 var(--spacing-xl);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
  color: white;
}

.footer-link {
  color: var(--neutral-gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: var(--spacing-sm);
}

.footer-link:hover {
  color: var(--primary-blue-light);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--neutral-gray-700);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  text-align: center;
  color: var(--neutral-gray-500);
}

/* === МОБИЛЬНОЕ МЕНЮ === */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--neutral-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
  }
  
  .navbar-nav .nav-link {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--neutral-gray-200);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card,
  .team-member {
    margin-bottom: var(--spacing-lg);
  }
  
  .cookie-consent-banner {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .navbar-custom {
    padding: var(--spacing-sm) 0;
  }
}