/* === Общие стили === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #b30000;
  color: #f9f9f9;
  line-height: 1.6;
}
img,
video,
iframe {
  max-inline-size: 100%;
  block-size: auto;
}
/* Montserrat 400 & 600 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/montserrat-v31-cyrillic_latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/montserrat-v31-cyrillic_latin-600.woff2') format('woff2');
}

/* Bebas Neue */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/bebas-neue-v16-latin-regular.woff2') format('woff2');
}
/* === Шапка === */
header {
  background: #b30000;
  padding: 2rem;
  text-align: center;
}
header img {
  max-width: 180px;
  margin-bottom: 1rem;
}
header h1 {
  margin: 0;
  font-size: 4.5rem;
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
}
header a {
  text-decoration: none;
}
header p {
  font-size: 1.2rem;
  color: #f0f0f0;
  opacity: 0.9;
}
h2 {
  text-align: center;
}

/* === Основные секции === */
section {
  padding: 2rem;
  margin: auto;
}
.highlight {
  color: #ffc9c9;
  font-weight: bold;
}
ul li {
  margin-bottom: 0.5rem;
}

.intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-size: 1.2rem;
}
.intro h2 {
  text-align: left;
}
/* === Галерея === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* === Призыв к действию === */
.cta {
  background: #000000;
  text-align: center;
  padding: 2rem;
}
.cta a {
  display: inline-block;
  background: #b30000;
  color: white;
  padding: 1rem 2rem;
  margin-top: 1rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  min-width: 140px;
}
@media only screen and (max-width: 1100px) {
  .cta a {
    display: block;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* === Видео-блок на for-men === */
.video-block {
  text-align: center;
}
.video-js {
  max-width: 40%;
  margin: 20px auto;
  height: 600px;
}
@media only screen and (max-width: 1026px) {
  .video-js {
    max-width: 90%;
  }
}
.vjs-paused .vjs-big-play-button,
.vjs-paused.vjs-has-started .vjs-big-play-button {
  display: block;
}
.vjs-paused .vjs-control-bar {
  display: none;
}

/* === Контакты === */
.main-page .contacts {
  background-color: #a00000;
}
.contacts {
  padding: 2rem 1rem;
  text-align: center;
}
.contacts p {
  margin: 0.5rem 0;
}
.contacts a {
  color: #f9f9f9;
  text-decoration: none;
}

/* === Карта на главной === */
.map {
  width: 100%;
  height: 540px;
}

/* === Подвал === */
footer {
  background-color: #900000;
  color: #eee;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* === Обёртка на for-men === */
.wrapper {
  margin: 0 auto;
  max-width: 1080px;
  background: rgba(0,0,0,0.5);
}
