/* #region MAIN CSS */
@font-face {
  font-family: 'Rajdhani';
  src: url('./fonts/Rajdhani-Regular.ttf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('./fonts/Rajdhani-Medium.ttf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('./fonts/Rajdhani-Bold.ttf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Karvx';
  src: url('./fonts/Baqoos-Karvx-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Karvx';
  src: url('./fonts/Baqoos-Karvx-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100%;
  font-family: 'Rajdhani', sans-serif;
  background-color: #000;
  color: #ebebeb;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* #endregion MAIN CSS */
/* #region HEADER */
.header {
  position: fixed;
  width: 100%;
  min-height: 56px;
  top: 0;
  padding: 0px 40px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
 }
.logo-picture img {
  display: block;
  width: 300px;
  height: auto;
  padding: 0;
  margin: 0;
  transition: filter 0.5s ease;
}
.logo-picture:hover img {
  filter: brightness(1.4) drop-shadow(0 0 6px #fff);
}
.nav {
  margin-left: auto;
}
.nav-list {
  display: flex;
  gap: 40px;
}
.nav-list a {
  font-family: 'Karvx', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .1s ease;
}
.nav-list a:hover {
  color: #bbb;
}
.burger {
  display: none;
  width: 33px;
  margin-top: -1px;
  fill: #ebebeb;
  cursor: pointer;
}
.right-icons {
  display: flex;
  gap: 20px;
}
.envelope-icon {
  display: none;
  width: 35px;
  fill: #ebebeb;
}
/* #endregion HEADER */
/* #region HERO */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-family: 'Karvx';
  font-style: italic;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-content p {
  font-family: 'Karvx';
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 2px;
  margin-bottom: 30px;
}
.hero-button {
  display: inline-block;
  font-family: 'Karvx';
  letter-spacing: 2px;
  padding: 12px 34px;
  background-color: transparent;
  border-radius: 30px;
  border: 2px solid #ebebeb;
  transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
  transform: scale(1);
}
.hero-button:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: scale(1.01);
}
.hero-slider {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slider .slide.active {
  opacity: 1;
}
/* #endregion HERO */
/* #region VIDEO */
.video-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 2;
}
.video-subsection {
  flex-direction: column;
  padding-left: 20px;
  padding-right: 20px;
  gap: 50px;
  background: rgba(0, 0, 0, 0.6); 
}
.video-grid {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding-left:20px;
  padding-right:20px;
}
.video-grid video {
  border: 2px solid #222;
  background-color: #000;
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  cursor: pointer;
}
.video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 calc(33.333% - 30px);
  max-width: calc(33.333% - 30px);
}
.video-item video {
  width: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16/9;
}
.video-grid video:hover {
  filter: grayscale(0%);
}
.video-text {
  text-align: center;
  max-width: 1200px;
  margin-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 4px;
}
.video-caption {
  width: 100%;
  text-align: center;
  margin-top: 0;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 20px;
  font-weight: 500;
  color: #bebebe;
  background-color: #222;
  text-transform: uppercase;
}
/* #endregion VIDEO */
/* #region LIGHT BOX */
.lightbox {
  display: none;
  position: fixed;
  width: 100%; 
  height: 100%;
  top: 0; 
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.lightbox video {
  max-width: 90%;
  max-height: 80%;
  background: #000;
}
.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  color: #ebebeb;
  font-size: 40px;
  font-weight: bold;
  user-select: none;
  cursor: pointer;
  z-index: 1;
}
.lightbox .close {
  top: 20px;
  right: 30px;
}
.lightbox .prev {
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}
.lightbox .next {
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}
/* #endregion LIGHT BOX */
/* #region ABOUT */      
.about-section {
  position: relative;
  display: flex;
  text-align: center;
  align-items: center;
  min-height: 100vh; 
  padding-left: 20px;
  padding-right: 20px;
  background: rgba(0, 0, 0, 0.6); 
  z-index: 1;
}
.about-container {
  padding-top: 100px;
  padding-bottom: 100px;
}
.about-title {
  font-family: 'Karvx';
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 4px;
}
.about-text {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 4px;
}
.about-section li {
  padding-bottom: 20px;
}
.empty-paragraph {
  height: 100px;
}
/* #endregion ABOUT */
/* #region CONTACTS */
.contact-list {
  font-size: 26px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 2px;
}
.contact-list li a {
  color: gold;
  transition: color 0.3s;
}
.contact-list li a:hover {
  color: goldenrod;
}
.socials a {
  font-size: 40px;
  margin-left: 18px;
  margin-right: 18px;
  transition: color .2s;
}
.socials a:hover {
  color: gold;
}
/* #endregion CONTACTS */
/* #region FOOTER */
.footer {
  position: relative;
  text-align: center;
}
.copyright {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  font-size: 14px;
  color: #aaa;
  z-index: 2;
}
.copyright span {
  font-size: smaller;
}
.made-by {
  cursor: default;
}
.made-by:hover {
  color: #ddd;
}
/* #endregion FOOTER */
/* #region MEDIA */
@media (max-width: 1000px) {
  .nav {
    display: none;
    position: absolute;
    flex-direction: column;
    padding: 15px;
    top: 60px;
    right: 40px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.6);
  }
  .nav.open {
    display: flex;
  }
  .burger {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    gap: 20px;
  }  
  .nav-list a {
    font-size: 20px;
  }
  .envelope-icon {
    display: block;
  }
  .video-item {
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .video-section {
    padding-left: 0px;
    padding-right: 0px;
  }
  .video-text {
    padding-top: 100px;
  }
}
@media (max-width: 480px) {
  .logo-picture img {
    width: 220px;
  }
  .video-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .video-subsection {
    padding-left: 40px;
    padding-right: 40px;
  }
  .video-item {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  .video-text {
    padding-left: 0px;
    padding-right: 0px;
  }
  .video-grid {
    gap: 0px;
  }
}
@media (max-width: 420px) {
  .header {
    padding-left: 20px;
    padding-right: 20px;
  }
  .about-section {
    padding-left: 0px;
    padding-right: 0px;
  }
  .about-text,
  .video-text  {
    font-size: 20px;
  }
  .contact-section .container {
    margin-left: 0;
  }  
  .contact-title {
    text-align: left;
  }
  .contact-list {
    font-size: 20px;
    text-align: left;
  }
  .socials a {
    font-size: 30px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .socials a:first-child {
    margin-left: 0px;
  }
  .video-section {
    padding-left: 0px;
    padding-right: 0px;
  }
  .video-subsection {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* #endregion MEDIA */