* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
  background: #fff;
  color: #333;
  overflow-x: hidden;
}
/* Fixed Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 60px;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.logo {
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  font-size: 14px;
  text-transform: uppercase;
}

.nav a:hover {
  color: #f1c40f;
}
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 25px;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .nav a {
    display: block;
    padding: 8px 0;
  }

  .video-banner .overlay {
    width: 90%;
    padding: 25px;
  }
}
.video-banner {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen height */
  overflow: hidden;
}

.video-banner video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* dark overlay for readability */
  z-index: 1;
}

.video-banner .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 20px;
  max-width: 90%;
}

.video-banner h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.video-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f5f5f5;
}

.video-banner .btn {
  background-color: #fff;
  color: #000;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.video-banner .btn:hover {
  background-color: #f1c40f;
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .video-banner h1 {
    font-size: 2.5rem;
  }
  .video-banner p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .video-banner {
    height: 90vh;
  }
  .video-banner h1 {
    font-size: 2rem;
  }
  .video-banner p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .video-banner h1 {
    font-size: 1.6rem;
  }
  .video-banner p {
    font-size: 0.9rem;
  }
}

/* ABOUT */
.about {
  text-align: center;
  padding: 80px 20px;
  background: #f9f9f9;
}
.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .about {
    padding: 40px 20px;
  }
  .about h2 {
    font-size: 30px;
  }
}
.about p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: #555;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 450px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Hover overlay */
.port-caption-v2 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  color: #fff;
  text-align: center;
}
.gallery-item:hover .port-caption-v2 {
  opacity: 1;
}
.port-caption-v2 h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: capitalize;
}
.portfolio-categ {
  list-style: none;
  margin: 0;
  padding: 0;
}
.portfolio-categ li {
  font-size: 1rem;
  letter-spacing: 1px;
  color: #ddd;
}

/* Hide sub-images */
.sub-images {
  display: none;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: opacity 0.3s;
  z-index: 1001;
}
.lightbox .close {
  top: 30px;
  right: 40px;
  transform: none;
  font-size: 2rem;
}
.lightbox .prev {
  left: 40px;
}
.lightbox .next {
  right: 40px;
}
.lightbox button:hover {
  opacity: 0.7;
}

/* Slide animations */
@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* TESTIMONIALS (Parallax Background) */
.testimonials {
  position: relative;
  font-family: "Cormorant", serif;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
  background-image: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.testimonial {
  position: relative;
  z-index: 1;
  display: none;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  font-size: 30px;
  line-height: 1.6;
}
.testimonial.active {
  display: block;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
}
.dot.active {
  background: #fff;
}

/* MORE STORIES */
.more-stories {
  background: #fafafa;
  padding: 80px 20px;
  text-align: center;
}
.more-stories h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-transform: uppercase;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 40px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
@media (max-width: 768px) {
  .more-stories {
    padding: 40px 20px;
  }
  .more-stories h2 {
    font-size: 30px;
  }
  .story-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.story-box {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.story-box:hover {
  transform: translateY(-5px);
}
.story-box img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.story-box .content {
  padding: 20px;
}
.story-box h3 {
  margin-bottom: 10px;
}
.hidden {
  display: none;
  opacity: 0;
  transform: translateY(30px);
}
#showMoreBtn {
  margin-top: 20px;
  padding: 12px 30px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
}
#showMoreBtn:hover {
  background: #f1c40f;
}

/* FOOTER */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}
footer h3 {
  margin-bottom: 10px;
}
footer p {
  margin: 5px 0;
  color: #aaa;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .header {
    text-align: center;
  }
  .logo {
    width: 100%;
    text-align: center;
  }
  .nav {
    display: none;
  }
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* === MUSIC BUTTON === */
.music-player {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.music-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgb(0 0 0 / 20%);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(129 129 129 / 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.music-btn:hover {
  background: rgb(0 0 0 / 20%);
  transform: scale(1.1);
}

#musicIcon {
  font-size: 22px;
  color: #fff;
  transition: opacity 0.3s ease;
}
@media (max-width: 600px) {
  .music-btn {
    width: 40px;
    height: 40px;
    bottom: 10px;
  }
  #musicIcon {
    font-size: 15px;
  }
}
/* === Equalizer Bars === */
.equalizer {
  display: none;
  align-items: flex-end;
  justify-content: space-between;
  width: 20px;
  height: 20px;
}

.equalizer span {
  display: block;
  width: 3px;
  height: 5px;
  background: #fff;
  border-radius: 1px;
  animation: equalize 1s infinite ease-in-out;
  animation-play-state: paused;
}

.equalizer span:nth-child(1) {
  animation-delay: 0s;
}
.equalizer span:nth-child(2) {
  animation-delay: 0.2s;
}
.equalizer span:nth-child(3) {
  animation-delay: 0.4s;
}
.equalizer span:nth-child(4) {
  animation-delay: 0.6s;
}

/* === When Music is Playing === */
.music-btn.playing #musicIcon {
  display: none;
}

.music-btn.playing .equalizer {
  display: flex;
}

.music-btn.playing .equalizer span {
  animation-play-state: running;
}

@keyframes equalize {
  0% {
    height: 4px;
  }
  25% {
    height: 18px;
  }
  50% {
    height: 8px;
  }
  75% {
    height: 14px;
  }
  100% {
    height: 4px;
  }
}
