* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #050505;
  color: #EFEFEF;
  font-family: 'Syne', sans-serif;
}

a {
  color: #EFEFEF;
  text-decoration: none;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #000;
  z-index: 1000;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3vw;
}

.site-title {
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Syne', sans-serif;
  transition: opacity 0.2s ease-in-out;
}

.site-title:hover {
  opacity: 0.75;
}

.nav-menu a {
  margin-left: 2vw;
  font-size: 1rem;
  font-weight: 400;
  transition: opacity 0.2s ease-in-out;
}

.nav-menu a:hover {
  opacity: 0.75;
}

/* MAIN */
main {
  padding-top: 70px;
}

.fullscreen {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.vimeo-wrapper {
  width: 100vw;
  height: 60vh;
  background-color: #050505;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vimeo-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background-color: #050505;
}

/* STATIC TEXT UNDER VIDEO (MAIN PAGE) */
.caption {
  text-align: center;
  margin-top: 2rem;
}

.caption h1 {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  color: #EFEFEF;
}

/* WORKS PAGE – YouTube контейнер */
.video-container {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 2rem auto 1rem auto;
  background: #111;
  overflow: hidden;
  border: none;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.work-info {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  opacity: 0.9;
  padding: 0 1rem;
}

/* MOOD PAGE GRID */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #111;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease-in-out;
}

.video-wrapper video:hover {
  opacity: 1;
}

.video-wrapper video.playing {
  opacity: 1;
}

/* CONTACTS PAGE */
.contacts-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
}

.contacts-list a,
.contacts-list button {
  background: none;
  border: none;
  color: #EFEFEF;
  font-size: 4rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  line-height: 1.2;
}

.contacts-list a:hover,
.contacts-list button:hover {
  opacity: 0.75;
  transform: scale(1.05);
}

/* EMAIL NOTIFICATION */
#email-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #EFEFEF;
  padding: 10px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  font-family: 'Syne', sans-serif;
}

/* ADAPTIVE */
@media (max-width: 768px) {
  .header-wrapper {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.8rem 4vw;
  }

  .site-title {
    font-size: 0.85rem;
  }

  .nav-menu a {
    font-size: 0.85rem;
    margin-left: 1rem;
  }

  .caption h1 {
    font-size: 1.2rem;
  }

  .work-info {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }

  .mood-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .play-icon {
    font-size: 36px;
  }

  .contacts-list a,
  .contacts-list button {
    font-size: 2rem;
  }
}
