/* Global */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Sidebar */
#sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 100%;
  background: white;
  color: black;
  padding: 30px 20px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  z-index: 1000;
}

#sidebar .logo img {
  width: 150px;
  height: auto;
  margin-bottom: 40px;
}

#sidebar ul.menu {
  list-style: none;
  padding: 0;
}

#sidebar ul.menu li {
  margin: 20px 0;
}

/* Sidebar pastel underline hover */
#sidebar ul.menu li a {
  position: relative;
  color: black;
  font-weight: 500;
  transition: 0.3s;
}

#sidebar ul.menu li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #ff8ab8, #ffb3d1, #f6d6ff, #a6c1ff, #9affc1, #ffd6a6);
  transition: 0.5s;
  border-radius: 2px;
}

#sidebar ul.menu li a:hover::after {
  width: 100%;
}

/* Hamburger menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1200;
  font-size: 26px;
  cursor: pointer;
  color: black;
  transition: all 0.3s ease;
}

#mobile-menu:hover {
  background: linear-gradient(90deg, #ff8ab8, #ffb3d1, #f6d6ff, #a6c1ff, #9affc1, #ffd6a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.2);
}

/* Main Content */
#main-content {
  margin-left: 220px;
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.hero-buttons a {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  border: 2px solid white;
  background: transparent;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.5s;
}

.hero-buttons a:hover {
  color: black;
  background: linear-gradient(90deg, #ff8ab8, #ffb3d1, #f6d6ff, #a6c1ff, #9affc1, #ffd6a6);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

#contact button {
  display: inline-block;
  margin: 10px auto;
  padding: 12px 24px;
  border: 2px solid #ffb3d1;
  background: transparent;
  color: #ffb3d1;
  font-weight: 600;
  cursor: pointer;
  transition: 0.5s;
}

#contact button:hover {
  color: black;
  background: linear-gradient(90deg, #ff8ab8, #ffb3d1, #f6d6ff, #a6c1ff, #9affc1, #ffd6a6);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

/* About Section */
#about {
  padding: 80px 40px 40px 40px;
  text-align: center;
  background: white;
  color: black;
}

#about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text {
  max-width: 700px;
  margin: 0 auto; 
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555555;
}

/* Showreels Section */
#showreels {
  padding: 40px 40px 60px 40px;
  text-align: center;
  color: black;
  background: #fff8fb;
}

#showreels h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

#showreels h2::after,
#about h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #ff8ab8, #ffb3d1, #f6d6ff, #a6c1ff, #9affc1, #ffd6a6);
  margin: 10px auto 30px;
  border-radius: 2px;
}

.showreel-desc {
  font-size: 1rem;
  color: #555555;
  margin: 10px 0 20px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  text-align: center;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 50px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Contact Section */
#contact {
  padding: 80px 40px;
  text-align: center;
  background: white;
  color: black;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
}

#contact h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #ff8ab8, #ffb3d1, #f6d6ff, #a6c1ff, #9affc1, #ffd6a6);
  margin: 10px auto 30px;
  border-radius: 2px;
}

#contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

#contact input, #contact textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid #ffb3d1;
  border-radius: 4px;
  font-size: 1rem;
}

#contact input:focus, #contact textarea:focus {
  outline: none;
  border-color: #ff8ab8;
}

/* Footer */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: white;
  color: black;
  text-align: center;
}

footer .socials {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  gap: 20px;
}

/* Social media icons - animated gradient on hover, no circle */
footer .socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #ffb3d1; /* fallback color */
  transition: all 0.3s ease;
  text-decoration: none;
  background: none;
  padding: 0;
  border-radius: 0;
}

footer .socials a:hover {
  background: linear-gradient(90deg, #ff8ab8, #ffb3d1, #f6d6ff, #a6c1ff, #9affc1, #ffd6a6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
  transform: scale(1.1);
}

footer p {
  font-size: 0.9rem;
  margin-top: 10px;
  color: #555;
}

/* Fade-in animation */
#hero, #about, #showreels, #contact {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

#hero.in-view, #about.in-view, #showreels.in-view, #contact.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu responsiveness */
@media screen and (max-width: 768px) {
  #sidebar {
    transform: translateX(-100%);
    position: fixed;
    height: 100%;
    z-index: 1100;
  }

  #sidebar.active {
    transform: translateX(0);
  }

  #mobile-menu {
    display: block;
  }

  #main-content {
    margin-left: 0;
  }
}
