/* Цветовая схема: #f5e79c (кремовый) и #fb9bb7 (розовый) */
:root {
  --cream: #f5e79c;
  --pink: #fb9bb7;
  --pink-dark: #e88aa5;
  --cream-light: #fef9e6;
}

body {
  background-color: #ffffff;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}

/* Прижимаем футер к низу */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 100% высоты viewport */
}

main {
    flex: 1 0 auto; /* Растягивается, занимая все доступное пространство */
}

footer {
    flex-shrink: 0; /* Не сжимается */
    width: 100%;
}

/* Навигация */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(251, 155, 183, 0.1);
}
.navbar-brand {
  color: var(--pink) !important;
  font-weight: 700;
}
.navbar-brand span {
  color: #4a4a4a;
}
.nav-link {
  color: #4a4a4a !important;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--pink) !important;
}

/* Hero секция с фоновым изображением */
.hero-section {
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
}

/* Затемнение поверх фона в ваших цветах */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Контейнер с текстом выше затемнения */
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Текст на фоне */
.hero-title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.3);
  font-size: 3.5rem;
  font-weight: 800;
}

.hero-section .lead {
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
  font-size: 1.3rem;
}

/* Кнопка на фоне */
.hero-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--pink);
  border: none;
  padding: 14px 40px;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
  background: white;
  color: var(--pink-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Секции */
.section-cream {
  background-color: var(--cream-light);
}
.section-white {
  background-color: white;
}
.section-title {
  color: #4a4a4a;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}
.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--cream), var(--pink));
  border-radius: 2px;
}

/* Карточки услуг */
.service-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  background-color: white;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(251, 155, 183, 0.15);
}
.card-img-placeholder {
  background: linear-gradient(45deg, var(--cream-light), var(--cream));
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--pink);
}

/* Товары */
.product-card {
  border: 1px solid #ffe4ec;
  border-radius: 15px;
  transition: all 0.2s;
  background-color: white;
}
.product-card:hover {
  border-color: var(--pink);
  box-shadow: 0 5px 15px rgba(251, 155, 183, 0.1);
}
.product-price {
  color: var(--pink);
  font-weight: 700;
}

/* Таблица цен */
.price-table-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.table thead th {
  background-color: var(--cream);
  color: #4a4a4a;
  border-bottom: 2px solid var(--pink);
}
.table tbody tr:hover {
  background-color: #fff5f9;
}

/* Форма */
.form-card {
  border: none;
  border-radius: 30px;
  background: white;
  box-shadow: 0 20px 40px rgba(251, 155, 183, 0.1);
}
.form-control,
.form-select {
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 12px 15px;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 0.2rem rgba(251, 155, 183, 0.1);
}
.btn-submit {
  background: linear-gradient(135deg, var(--pink) 0%, #ffa8c0 100%);
  border: none;
  border-radius: 50px;
  padding: 14px;
  font-weight: 600;
  color: white;
  transition: transform 0.2s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(251, 155, 183, 0.3);
}

/* Контакты */
.contact-item {
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--cream);
  height: 100%;
}

/* Футер */
footer {
  background-color: #343a40;
  color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-section {
    padding: 80px 0;
  }
}

/* Дополнительные стили для новой формы */
.alert {
  border-radius: 15px;
  padding: 15px;
}

.form-text {
  color: #6c757d;
  font-size: 0.875rem;
}

/* Улучшение читаемости в hero */
.hero-section .lead {
  font-size: 1.4rem;
  font-weight: 500;
}

/* Для блока с важной информацией */
.bg-white.rounded-3.shadow-sm {
  border: 1px solid var(--cream);
}

/* Адаптивность для маленьких экранов */
@media (max-width: 768px) {
  #belpost-fields, #europost-fields {
    margin-left: 0 !important;
  }
  
  .col-md-3 {
    margin-bottom: 15px;
  }
}


/* Стили для модального окна загрузки */
.modal-content {
  border: none;
  border-radius: 30px;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--cream);
}

.upload-area {
  border: 2px dashed var(--cream);
  border-radius: 20px;
  background-color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover {
  border-color: var(--pink);
  background-color: rgba(251, 155, 183, 0.05);
}

.file-item {
  transition: all 0.2s ease;
}

.file-item:hover {
  background-color: #fff5f9 !important;
  border-color: var(--pink) !important;
}

/* Анимация для иконки загрузки */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.upload-area i.bi-cloud-arrow-up {
  animation: bounce 2s infinite ease-in-out;
}

/* Индикатор загрузки */
#fileCount {
  transition: color 0.3s ease;
}


  .contact-item {
        background: white;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      }
      .contact-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        background: linear-gradient(135deg, #fff, #fef5e8);
      }
      .contact-icon {
        transition: transform 0.3s ease;
        display: inline-block;
      }
      .contact-item:hover .contact-icon {
        transform: scale(1.1);
      }
      @media (max-width: 576px) {
        .contact-item {
          padding: 0.75rem !important;
        }
        .contact-icon {
          font-size: 1.5rem !important;
        }
        h5.h6 {
          font-size: 0.75rem !important;
        }
        p.small {
          font-size: 0.65rem !important;
        }
      }


/* ========== ПОЛНОЭКРАННЫЙ ВИДЕО-БЛОК ========== */
.fullscreen-video-section {
    position: relative;
    width: 100%;
    min-height: 500px; /* минимальная высота */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.fullscreen-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* видео покрывает весь блок без искажений */
    object-position: center;
}

.fullscreen-bg-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* затемнение - регулируй прозрачность */
    z-index: 1;
}


.fullscreen-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
}

.fullscreen-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.fullscreen-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.fullscreen-btn {
    background-color: var(--pink);
    color: white;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.fullscreen-btn:hover {
    background-color: #e0558a;
    transform: scale(1.05);
    color: white;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .fullscreen-title {
        font-size: 2rem;
    }
    
    .fullscreen-subtitle {
        font-size: 1rem;
    }
    
    .fullscreen-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }
    
    .fullscreen-video-section {
        min-height: 500px;
    }
}
