/* ========== ШРИФТ «Charlie and the Chocolate Factory» ========== */
@font-face {
  font-family: "Charlie Chocolate";
  src: url("fonts/CharlieChocolateFactory.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========== БАЗА ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
}

/* ========== НАВБАР ========== */
.navbar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 16px 16px;
  background: #fff;
}

.navbar__name {
  font-family: "Charlie Chocolate", "Comic Sans MS", cursive;
  font-weight: normal;
  text-align: center;
  line-height: 1;

  /* размер тянется под ширину экрана (адаптивно) */
  font-size: clamp(1.8rem, 6.5vw, 3.6rem);
  letter-spacing: 1px;

  /* оранжевый текст */
  color: #f59000;

  /* аккуратная тёмная обводка */
  -webkit-text-stroke: 2px #7a3b00;
  paint-order: stroke fill; /* сначала обводка, потом заливка — края чище */

  /* мягкая тень от текста */
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

/* на мобилках обводку чуть тоньше, чтобы буквы не «слипались» */
@media (max-width: 480px) {
  .navbar__name {
    -webkit-text-stroke-width: 1.4px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  }
}

/* ========== СЛАЙДЕР-ХЕДЕР ========== */
:root {
  --hero-height: 50vh;   /* высоту слайдера подбираем тут */
}

.hero {
  position: relative;
  width: 100%;
  height: var(--hero-height);
  overflow: hidden;
}

.hero__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.hero__slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;  /* опускаем фото, чтобы голова не срезалась */
  background-repeat: no-repeat;
}

/* стрелки */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.hero__arrow:hover { background: rgba(0, 0, 0, 0.6); }
.hero__arrow--prev { left: 14px; }
.hero__arrow--next { right: 14px; }

/* точки */
.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}
.hero__dot.is-active { background: #fff; }

/* на мобилке стрелки чуть меньше */
@media (max-width: 480px) {
  .hero__arrow { width: 36px; height: 36px; font-size: 1.1rem; }
}

/* ========== БУМАЖНЫЙ ФОН ========== */
.page-bg {
  /* светло-голубой полупрозрачный слой поверх бумаги — осветляет и даёт голубой тон */
  background-image:
    linear-gradient(rgba(186, 226, 245, 0.5), rgba(186, 226, 245, 0.5)),
    url("images/paper.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* бумага не «едет» при скролле */
}

/* ========== ЛЕНТА INSTAGRAM ========== */
.insta {
  width: 100%;
}

.insta iframe {
  display: block;
  width: 100%;
}

/* ========== 5 КНОПОК-ССЫЛОК ========== */
.links {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;          /* расстояние между кнопками */
}

.link {
  width: 225px;            /* ширина = под самый длинный текст (CASTING NETWORKS) */
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.link__label {
  font-family: "Charlie Chocolate", "Comic Sans MS", cursive;
  font-size: 1.15rem;
  line-height: 1.1;
  white-space: nowrap;     /* текст в одну строку */
  text-align: center;
  color: #f59000;
  -webkit-text-stroke: 1.2px #7a3b00;
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.link__img {
  width: 100%;
  aspect-ratio: 1 / 1;     /* ровный квадрат */
  overflow: hidden;
  border: 3px solid #7a3b00;
  border-radius: 8px;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.3);
}

.link__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}

.link:hover .link__img img {
  transform: scale(1.06);
}

/* ========== ВИДЕО (YouTube) ========== */
.videos {
  max-width: 760px;     /* на десктопе столбик не растягивается на весь экран */
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;            /* расстояние между роликами */
}

.video__title {
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

/* контейнер держит соотношение 16:9, iframe тянется внутри */
.video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== ПОЛОСКА С ФОТО (над футером) ========== */
.photo-strip {
  width: 100%;
  height: 260px;        /* полоска уже */
  /* затемнение ~50% поверх фото */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/jules-stool-strip.png");
  background-size: cover;
  background-position: center 16%;  /* ниже */
  background-repeat: no-repeat;

  /* текст по центру полосы */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.photo-strip__text {
  color: #fff;
  text-align: center;
  font-size: clamp(1.3rem, 4.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 900px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

/* ========== КОНТАКТЫ / ФУТЕР ========== */
.contact {
  /* фото на фоне + светлый слой поверх, чтобы текст читался.
     Закинь фото в images/contact-bg.jpg */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url("images/contact-bg.jpg");
  background-size: cover;
  background-position: center;
}

.contact__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.contact__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.contact__card {
  flex: 1 1 320px;       /* две колонки на десктопе, в столбик на мобилке */
  max-width: 440px;
  text-align: center;
}

.contact__logo {
  max-width: 240px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.contact__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.contact__phone {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 14px;
}

.contact__phone a {
  color: #333;
  text-decoration: none;
}

.contact__address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}

.contact__btn {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #9b3a4a;
  border-radius: 4px;
  color: #9b3a4a;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.contact__btn:hover {
  background: #9b3a4a;
  color: #fff;
}
