/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Raleway', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #111;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #555;
  transition: color 0.3s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #111;
  transition: width 0.3s;
}

.nav__links a:hover,
.nav__links a.active {
  color: #111;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #111;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__burger span:nth-child(3) { bottom: 0; }

.nav__burger.open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.open span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 24px;
}

.hero__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 32px;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero__name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 6px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.hero__title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 12px;
  line-height: 1.3;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section--gray {
  background: #fafafa;
}

.section__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section__title {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 8px;
  text-align: center;
  margin-bottom: 48px;
  color: #111;
}

.section__title--sm {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
}

.section__subtitle {
  text-align: center;
  font-size: 15px;
  color: #777;
  max-width: 600px;
  margin: -24px auto 48px;
  line-height: 1.8;
}

/* ===== About ===== */
.about__text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}

.about__text p {
  margin-bottom: 20px;
}

.about__text a {
  color: #111;
  border-bottom: 1px solid #ccc;
  transition: border-color 0.3s;
}

.about__text a:hover {
  border-color: #111;
}

/* ===== Films Grid ===== */
.films-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.film-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: default;
  aspect-ratio: 3 / 4;
}

.film-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.film-card:hover img {
  transform: scale(1.03);
}

.film-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.film-card:hover .film-card__overlay {
  opacity: 1;
}

.film-card__title {
  color: #111;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.4;
}

.film-card__desc {
  color: #555;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  line-height: 1.6;
}

/* ===== Festivals Grid ===== */
.festivals-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.festival {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
}

.festival::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/fly2.gif') no-repeat center / contain;
  mix-blend-mode: multiply;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.festival:hover::after {
  opacity: 1;
}

.festival img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Videos Grid ===== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.video-card {
  border-radius: 4px;
  overflow: hidden;
}

.video-card__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.video-card__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__title {
  font-size: 15px;
  font-weight: 500;
  margin-top: 12px;
  color: #333;
}

.video-card__duration {
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

/* ===== Footer / Contact ===== */
.footer {
  padding: 80px 0 0;
  text-align: center;
  background: #fff;
}

.contact__info {
  margin-bottom: 32px;
}

.contact__link {
  font-size: 15px;
  color: #333;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.contact__link:hover {
  border-color: #333;
}

.contact__text {
  font-size: 15px;
  color: #555;
  margin-top: 8px;
}

.contact__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.ext-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: opacity 0.3s;
}

.ext-link:hover {
  opacity: 0.6;
}

.ext-link svg {
  width: 22px;
  height: 22px;
}

.footer__copy {
  font-size: 12px;
  color: #bbb;
  letter-spacing: 1px;
}

.footer__art {
  display: block;
  max-width: 1100px;
  width: 100%;
  height: auto;
  margin: 40px auto 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .festivals-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__burger {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    font-size: 14px;
  }

  .hero__title {
    font-size: 28px;
    letter-spacing: 6px;
  }

  .hero__photo {
    width: 150px;
    height: 150px;
  }

  .section {
    padding: 64px 0;
  }

  .section__title {
    font-size: 28px;
    letter-spacing: 5px;
    margin-bottom: 32px;
  }

  .festivals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .films-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 22px;
    letter-spacing: 4px;
  }

  .hero__name {
    font-size: 12px;
    letter-spacing: 4px;
  }

  .hero__photo {
    width: 120px;
    height: 120px;
  }

  .festivals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .films-grid {
    grid-template-columns: 1fr;
  }

  .nav__inner {
    height: 56px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .footer__art {
    max-width: 100%;
  }
}
