/* Reset & Body */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}


/* Header & Nav */
/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  z-index: 100;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #ffebcd; /* soft accent color */
  border-bottom: 2px solid #ffebcd;
  padding-bottom: 0.2rem;
}

/* Main Layout */
main {
  padding: 0;
  max-width: 100%;
}

/* Hero Section */
.hero {
  height: 100vh;
  padding-top: 2rem; /* avoid overlap with navbar */
  background: linear-gradient(135deg, #25003d, #3a0161, #d204fc);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}


.hero-content {
  max-width: 700px;
  padding: 0 1rem;
  z-index: 5;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.4;
  font-weight: 400;
}

/* Hero buttons container */
.hero-buttons {
  position: relative;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 10;
}

/* Universal primary button */
.btn-primary {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  cursor: pointer;
  z-index: 10;
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.4);
  border-color: #fff;
  transform: scale(1.05);
}


/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
}

/* About Hero */
.about-hero {
  background: linear-gradient(120deg, #86a8e7, #ff7e5f);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.about-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.highlight {
  font-weight: 700;
  color: #ffe5de;
}

/* Media Section */
.about-media {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
  justify-content: center;
}

.media-block {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.media-block img, .media-block video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-block:hover img,
.media-block:hover video {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* About Details */
.about-details {
  background: linear-gradient(120deg, #e6da77, #55f06f);
  padding: 3rem 2rem;
  text-align: center;
}

.about-details h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-details ul {
  list-style-type: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.about-details li {
  background: white;
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .about-media {
    flex-direction: column;
  }
}

/* Background Shapes */
.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 20s linear infinite;
}

/* Individual shapes */
.shape1 {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  top: 10%;
  left: 15%;
  animation-duration: 25s;
}

.shape2 {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  top: 50%;
  left: 70%;
  animation-duration: 30s;
  animation-delay: 5s;
}

.shape3 {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  top: 70%;
  left: 30%;
  animation-duration: 35s;
  animation-delay: 2s;
}

/* Float animation */
@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) translateX(15px) rotate(45deg);
  }
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
}

/* Ensure content is above shapes */
.about-content {
  position: relative;
  z-index: 1;
}

/* Gallery Section */
.about-gallery {
  background: #f5f5f5;
  padding: 3rem 2rem;
  text-align: center;
}

.gallery {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery-item {
  min-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  text-align: center;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  max-height: 400px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Gallery Buttons */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 2rem;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: transform 0.3s ease;
}

.gallery-btn:hover {
  background: rgba(255,255,255,1);
}

.gallery-btn.prev {
  left: 10px;
}

.gallery-btn.next {
  right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-item img, .gallery-item video {
    max-height: 300px;
  }

  .gallery-btn {
    font-size: 1.5rem;
    padding: 0.2rem 0.5rem;
  }
}

/* Profile Image Section */
.profile-image {
  text-align: center;
  margin: 3rem 0 2rem 0;
}

.profile-image img {
  width: 200px;
  max-width: 40%;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.projects-section {
  padding: 3rem 2rem;
  text-align: center;
}

.projects-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Grid of project cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.project-card {
  position: relative; /* add this */
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 250px;
  height: 250px;
  object-fit: cover;
}

.project-card span {
  padding: 1rem;
  font-weight: 600;
  display: block;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-card h3 {
  margin-top: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.project-card p {
  margin: 0.5rem 0 1rem;
  color: #555;
  line-height: 1.4;
}

.project-card a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #ff7e5f, #86a8e7);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.project-card a:hover {
  opacity: 0.9;
}

/* Genre Badge */
.project-genre {
  position: absolute;
  top: 1rem;
  background: #86a8e7;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px; /* pill shape */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 200;
  overflow-y: auto;
  text-align: center;
}

.project-player img {
  max-width: 600px;   /* limit width */
  max-height: 400px;  /* limit height */
  width: 100%;        /* responsive scaling */
  height: auto;       /* maintain aspect ratio */
  border-radius: 12px;
  margin: 1rem 0;
  object-fit: contain; /* ensures it doesn’t stretch */
}

.project-player .player-header {
  width: 100%;
  max-width: 960px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  margin-bottom: 1rem;
}

.project-player .player-description {
  max-width: 800px;
  color: white;
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

#player-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background-color: #ff7e5f;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

#player-link:hover {
  background-color: #ff995f;
}

#close-player {
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .project-player img {
    max-width: 95%;
  }
}

/* Hero for Projects Page */
.projects-hero {
  height: 50vh;
  background: linear-gradient(135deg, #080268, #1a04df);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.projects-hero .hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.projects-hero .hero-content p {
  font-size: 1.5rem;
  line-height: 1.4;
}

/* Optional: add floating shapes for flair */
.projects-hero::before,
.projects-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  width: 200px;
  height: 200px;
  background: white;
}

.projects-hero::before {
  top: 10%;
  left: 5%;
}

.projects-hero::after {
  bottom: 15%;
  right: 10%;
}

/* Contact Page Hero */
.contact-hero {
  height: 100vh;
  background: linear-gradient(135deg, #f10901, #e09393);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.contact-info {
  font-size: 1.2rem;
  line-height: 1.6;
}

.contact-info a {
  color: white;
  text-decoration: underline;
}

.contact-info a:hover {
  color: #ffe5de;
}
