@import url("https://fonts.googleapis.com/css2?family=Pacifico&family=Caveat:wght@700&display=swap");

:root {
  /*--main-yellow: #FFD500;*/
  /*--main-yellow: #F5B416;*/
  /*--main-yellow: #F7A905;*/

  --main-yellow: #fac106;
  --main-pink: #f10f2b;
}

#home {
  background: #000000;
  /* or any color you like */
}

/* Reset and Base Styles */
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  background: rgba(0, 0, 0, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  height: 150px;
  transition: background 0.3s;
}

@media (max-width: 1165px) {
  header {
    padding: 20px 20px !important;
    height: auto !important;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 0px;
}

.tagline-container {
  display: flex;
  align-items: flex-end;
}

.logo-image {
  height: 160px;
  width: auto;
}

.tagline {
  font-size: 30px;
  color: var(--main-yellow);
  font-family: "Pacifico", "Caveat", cursive, sans-serif;
  font-style: normal;
  line-height: 1;
  display: flex;
  align-items: center;
  height: auto;
  padding-left: 7px;
  padding-right: 10px;
  margin-bottom: 35px;
  font-weight: 400;
  /* Add this line, or try 300 for even thinner */
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin-top: 0px;
  margin-bottom: 19px;
  margin-right: 0px;
  z-index: 1001;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.menu a.active {
  color: var(--main-yellow) !important;
}

.menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--main-yellow);
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

/* Video Sections */
.fullscreen-video {
  position: relative;
  width: 100%;
  height: calc(100dvh - 80px);
  margin-top: 80px;
  overflow: hidden;
}

@media (max-width: 700px) {
  .fullscreen-video {
    height: calc(56.5vw + 150px);
    min-height: 250px;
    margin-top: 80px;
  }
}

/*.video-wrapper {
  padding-top: 20px;
  width: 98.5%;
  height: 98.5%;
  margin: 0 auto;
}*/
.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 0;
  margin: 0 auto;
}

.video-wrapper video,
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* Explicitly hide default video controls */
video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-enclosure {
  display: none !important;
}

video {
  -webkit-appearance: none;
  appearance: none;
}

.video-section h2,
.client-section h2 {
  font-family: "Montserrat", "Arial", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--main-yellow);
  letter-spacing: 2.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  text-transform: capitalize;
  position: relative;
  padding-bottom: 16px;
  text-align: center;
  display: inline-block;
}

.video-section {
  text-align: center;
  margin-bottom: 100px;
  margin-top: 100px;
}

.video-section h2::after,
.client-section h2::after {
  content: "";
  display: block;
  margin: 16px auto 0 auto;
  height: 4px;
  background: var(--main-yellow);
  border-radius: 2px;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 600px) {
  .video-section h2,
  .client-section h2 {
    font-size: 2.2rem;
  }
}

.video-grid {
  display: grid;
  grid-template-columns: 0.46fr 0.46fr;
  gap: 60px;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.client-section {
  padding: 60px 20px;
  margin: 60px 0;
  scroll-margin-top: 80px;
  text-align: center;
}

.client-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--main-yellow);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 50px;
  padding: 0 40px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.client-grid .logo-frame {
  position: relative;
  width: 390px;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.client-grid .logo-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 0;
  background: none;
  filter: none;
  border-radius: 0;
  transition: transform 0.3s;
}

.client-grid .logo-frame img:hover {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
}

.video-grid .video-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition:
    transform 0.3s,
    z-index 0.3s;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  z-index: 1;
  background: black;
  border: 1px solid #1d1d1d;
}

.video-grid .video-item:hover {
  z-index: 2;
}

.time-display {
  white-space: nowrap;
}

@media (min-width: 1165px) {
  .video-grid .video-item:hover {
    transform: scale(1.05);
  }
}

.video-grid .video-item .video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-grid .video-item video,
.video-grid .video-item iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Video Controls */
.video-controls {
  position: absolute;
  top: 50px;
  right: 20px;
  z-index: 1002;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  padding: 3px;
}

#sound-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

#sound-toggle:hover {
  transform: scale(1.2);
}

.video-controls-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1002;
  pointer-events: none;
}

.video-item:not(.is-fullscreen):hover .video-controls-bottom,
.fullscreen-video:not(.is-fullscreen):hover .video-controls-bottom {
  opacity: 1;
  pointer-events: auto;
}

.progress-bar {
  flex-grow: 1;
  height: 8px;
  background: #555;
  border-radius: 4px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--main-yellow);
  border-radius: 50%;
  cursor: pointer;
}

.progress-bar::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--main-yellow);
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider {
  width: 80px;
  height: 8px;
  background: #555;
  border-radius: 4px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 700px) {
  .volume-slider {
    display: none !important;
  }
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--main-yellow);
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--main-yellow);
  border-radius: 50%;
  cursor: pointer;
}

.play-pause {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

/* Play Button for Commercials */
/*.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 1001;
  opacity: 1;
  transition: opacity 0.3s;
  border-radius: 5px;
}*/

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  /* <-- Make background transparent */
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 0;
  /* <-- Remove extra padding */
  cursor: pointer;
  z-index: 1001;
  opacity: 1;
  transition: opacity 0.3s;
  border-radius: 0;
  /* <-- Remove border radius */
  pointer-events: none !important;
}

.video-item:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 1;
}

.video-item .play-button:focus {
  outline: none;
  opacity: 1;
}

/* Video playing state */
.video-item.playing .play-button {
  display: none !important;
}

/* Video controls for grid videos */
.video-grid .video-controls-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1002;
  pointer-events: none;
}

.video-grid .video-item:not(.is-fullscreen):hover .video-controls-bottom,
.video-grid .video-controls-bottom.visible {
  opacity: 1;
  pointer-events: auto;
}

.video-grid .video-controls-bottom .play-pause {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
}

.video-grid .video-controls-bottom .progress-bar {
  flex-grow: 1;
  height: 6px;
  background: #555;
  border-radius: 3px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.video-grid .video-controls-bottom .progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--main-yellow);
  border-radius: 50%;
  cursor: pointer;
}

.video-grid .video-controls-bottom .volume-slider {
  width: 60px;
  height: 6px;
  background: #555;
  border-radius: 3px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.video-grid .video-controls-bottom .volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--main-yellow);
  border-radius: 50%;
  cursor: pointer;
}

.video-grid .video-controls-bottom .fullscreen-btn,
.fullscreen-btn {
  background: none !important;
  border: none !important;
  color: var(--main-yellow) !important;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
}

/* Load More Button */
.load-more-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  margin-bottom: 0;
}

.load-more-btn {
  margin: 0;
  padding: 12px 65px;
  background: var(--main-yellow) !important;
  color: black !important;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem !important;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s;
  text-transform: capitalize !important;
  letter-spacing: 0.1px;
  text-align: center;
  width: fit-content;
}

.load-more-btn:hover {
  transform: scale(1.04);
}

/* Video Navigation */
.video-navigation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
}

.nav-arrow {
  background: transparent !important;
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  height: auto;
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.fullscreen-video:hover .nav-arrow {
  opacity: 1;
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Loading State */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--main-yellow);
  font-size: 16px;
  background: rgba(0, 0, 0, 0.8);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.75);
  color: black;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 25px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}

.scroll-to-top:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  font-size: 14px;
}

.pink-text {
  color: var(--main-yellow);
}

.play-icon {
  width: 210px;
  height: 210px;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45));
  opacity: 0.7;
}

@media (max-width: 2558px) {
  .logo-image {
    height: 120px;
  }

  .menu {
    gap: 15px;
    margin-top: 0px;
  }

  .tagline {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .menu a {
    font-size: 20px;
  }

  .video-section h2,
  .client-section h2 {
    font-size: 2.2rem;
  }

  .load-more-btn {
    font-size: 1.4rem;
    padding: 12px 45px;
  }
}

@media (max-width: 2300px) {
  .client-grid .logo-frame {
    width: 80px;
    height: 80px;
  }

  .client-grid .logo-frame img {
    max-width: 100%;
    max-height: 100%;
  }
}

@media (max-width: 2128px) {
  /*body { background: red !important; }*/

  .video-wrapper {
    position: relative;
    padding-top: 0px;
  }

  .video-controls-bottom {
    position: absolute;
    padding: 0px;
    /* Reduce padding for smaller screens */
  }

  .fullscreen-video {
    margin-top: 70px;
    /* Decrease gap */
  }
}

/* Responsive Design */
@media (max-width: 1165px) {
  .play-icon {
    width: 165px !important;
    height: 165px !important;
  }

  .logo-image {
    height: 120px;
  }

  .menu {
    gap: 15px;
    margin-top: 40px;
  }

  .tagline {
    font-size: 22px;
    padding-left: 2px;
    margin-bottom: 25px;
  }

  .hamburger {
    display: block;
    margin-top: -24px;
  }

  .video-section h2,
  .client-section h2 {
    font-size: 1.6rem;
  }

  .load-more-btn {
    font-size: 1rem;
    padding: 12px 45px;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 20px;
    background: rgba(0, 0, 0, 0.95);
    padding: 15px;
    border-radius: 5px;
  }

  .menu.show {
    display: flex;
  }

  .video-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 20px;
    padding: 0 10px;
  }

  .video-section {
    padding: 40px 10px;
    margin: 40px 0;
  }

  .video-grid .video-item {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
  }
}

@media (max-width: 700px) {
  .play-icon {
    width: 130px !important;
    height: 130px !important;
  }

  .logo-image {
    height: 90px;
  }

  .menu {
    gap: 15px;
    margin-top: 40px;
  }

  .tagline {
    font-size: 20px;
    padding-left: 2px;
    margin-bottom: 17px;
  }

  .video-section h2,
  .client-section h2 {
    font-size: 1.4rem;
  }

  .load-more-btn {
    font-size: 0.8rem;
    padding: 12px 45px;
  }
  .menu.show {
    display: flex;
  }

  .hamburger {
    display: block;
    margin-top: -25px;
  }
}

@media (max-width: 480px) {
  .play-icon {
    width: 110px !important;
    height: 110px !important;
  }
  .tagline {
    font-size: 18px;
    margin-bottom: 18px;
    max-width: 150px;
    padding-left: 4px;
  }

  .menu a {
    font-size: 16px;
  }

  .scroll-to-top {
    width: 33px;
    height: 33px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }
  .hamburger {
    display: block;
    margin-top: -26px;
  }
}

.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1001 !important;
  background-color: #000 !important;
  width: 100dvw !important;
  height: 100dvh !important;
  transform: none !important;
  margin: 0 !important;
}

.is-fullscreen .video-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1002 !important;
  width: 100dvw !important;
  height: 100dvh !important;
  transform: none !important;
}

.is-fullscreen .video-click-catcher {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100dvw !important;
  height: 100dvh !important;
  z-index: 1003 !important;
}

.is-fullscreen .video-click-catcher {
  z-index: 3;
}

.is-fullscreen .video-controls-bottom {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1005 !important;
  pointer-events: auto !important;
}

.is-fullscreen .play-button {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
  z-index: 1002 !important;
}

.fullscreen-video .video-controls-bottom {
  z-index: 5;
}

@media (max-width: 700px) {
  .fullscreen-video:not(.is-fullscreen) .video-controls-bottom {
    opacity: 1 !important;
  }
}
