* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

head {
  background: #808080;
}

body {
  background: #161616;
  color: #fff;
}
#header {
  width: 100%;
  height: 100vh;
  background-image: url(website-images/djimini4progrey.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: -58px;
}
.container {
  padding: 10px 10%;
}
nav {
  background: #161616;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-left: 10%;
  margin-right: 10%;
  z-index: 2;
}
.logo {
  width: 140px;
}
nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}
nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #015aff;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}
nav ul li a:hover::after {
  width: 100%;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 10px;
}

.header-text {
  text-align: center;
  margin-top: 9%;
  font-size: 40px;
}
.header-text h1 span {
  color: #015aff;
}

/* First two videos */

#about {
  padding: 80px 0;
  color: #888888;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 9%;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 5vw;
}
.text-col-2 {
  flex-basis: 30%;
}
.text-col-2 h1 {
  color: #fff;
}
.RAW1 {
  position: relative;
  width: 100%;
  margin-top: 20px;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 15px;
  max-width: 700px;
  margin-top: 20px;
}
.RAW1 iframe {
  position: absolute;
  top: -35%;
  left: 0;
  width: 100%;
  height: 170%; /* slightly taller to push black bars offscreen */
  border: 0;
  pointer-events: none;
}

.video-col-1 {
  max-width: 100%;
  flex: 1 1 00px;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;

  border-radius: 30px;
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

/*-- Drifting Video --*/

/*-- .drift {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9%;
  flex-wrap: wrap;
  overflow: hidden;
  margin-left: 15%;
  margin-right: 15%;
}
.donut {
  flex: 1 1 45%;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 30px;
}
.donut iframe {
  padding-top: 56.25%;
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lateral {
  overflow: hidden;
  flex: 1 1 25%;
  position: relative;
  padding-top: 100%;
  border-radius: 30px;
}
.lateral iframe {
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
} --*/

.video-container {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Align bottom edges */
  gap: 5%;
  flex-wrap: wrap;
  max-width: 90vw;
  margin-top: -5%;
  margin-left: 5%;
  height: 40vw; /* shared video height based on screen */
  min-height: 300px;
  padding-bottom: 50px;
}

.video-box {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  flex-shrink: 1;
}

/* 16:9 video */
.donut {
  width: calc(28vw * 16 / 9); /* width based on height */
  max-width: 60vw;
  height: calc(14vw * 16 / 9);
}

/* 9:16 video */
.lateral {
  width: calc(28vw * 9 / 16);
  max-width: 30vw;
  height: calc(14vw * 16 / 9);
}

/* Cropped iframe to hide YouTube bars */
.lateral iframe {
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  height: 160%;
  border: 0;
  pointer-events: none;
}
.donut iframe {
  position: absolute;
  top: -40%; /* was -30% — fine-tune for this specific video */
  left: 0;
  width: 120%;
  height: 160%; /* was 160% — enough to remove black bars, but not overcrop */
  border: 0;
  pointer-events: none;
}

/*--  Drift Text --*/

.drift-text {
  text-align: center;
  margin-bottom: -10%;
}
.drift-text p {
  color: #808080;
}

/*--  Hotel Text --*/

.hotel-text {
  text-align: center;
  padding-top: 10%;
}
.hotel-text p {
  color: #808080;
}

/*--- Contact ---*/

.contact {
  background-color: #202020;
  border-radius: 35px;
  align-items: center;
  text-align: center;
  margin-top: 10%;
}
.contact p {
  margin-top: 20px;
}
.contact p i {
  color: #015aff;
  margin-right: 7px;
  font-size: 15px;
}
.social-icons {
  margin-top: 20px;
  margin-bottom: 18px;
}
.social-icons a {
  text-decoration: none;
  color: #2e77ff;
  font-size: 30px;
  margin-right: 7px;
  display: inline-block;
  transition: transform 0.5s;
}
.social-icons a:hover {
  color: #015aff;
  transform: translateY(-5px);
}

/*-- css for small screen --*/

nav .fa-solid {
  display: none;
}
@media only screen and (max-width: 600px) {
  #header {
    background-image: url(website-images/djimini4progrey.png);
  }
  .header-text {
    margin-top: 75px;
    margin-left: 15%;
    font-size: 16px;
  }
  .header-text h1 {
    font-size: 30px;
  }
  nav {
    margin-left: 30px;
    margin-right: 30px;
  }
  nav .fa-solid {
    margin-right: 20px;
    display: block;
    font-size: 25px;
  }
  nav ul {
    background: #015aff;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s;
  }
  nav ul li {
    display: block;
    margin: 25px;
  }
  nav ul .fa-solid {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }
  .tab-titles {
    display: flex;
    scale: 65%;
    margin: 20px -100px 40px;
  }
  .tab-links {
    font-size: 20px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .about-col-1 {
    scale: 250%;
    margin-top: 170px;
    margin-left: 100px;
    margin-bottom: 150px;
  }
}
