/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts */
@font-face {
  font-family: 'Praktika';
  src: url(urlfonts/Praktika-Light.otf) format('truetype');
}

/* Base */
body {
  font-family: 'Bebas Neue', sans-serif;
  background-color: #0d0d0d;
  color: white;
  overflow-x: hidden;
}

.video-background {
  position: relative;
  width: 100%;
  height: 60vh; /* Only top portion, adjust as needed */
  overflow: hidden;
  z-index: 1; /* Above particle canvas */
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Adjust as needed */
  pointer-events: none;
  animation: fadeIn 2s ease-out forwards;
  opacity: 0;
}
@keyframes fadeIn {
  to {
    opacity: 0.2;
  }
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2; /* Fade-out layer */
  pointer-events: none;
}

/* Background */
#particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -10;
}

/* Header */
.hero-header {
  text-align: left;
  padding: 2rem 5rem;
  position: relative;
}

.site-title {
  font-size: 3rem;
  color: #ffc4c4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.site-summary {
  font-family: 'Poiret One';
  font-size: 1rem;
}

/* Nav */
.nav-bar {
  display: flex;
  justify-content: right;
  gap: 3rem;
  padding: 1rem;
  font-size: 1.2rem;
  position: relative;
}

.nav-bar a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-bar a:hover {
  color: #ff9999;
}

/* Intro */
.intro-section {
  padding: 8rem 1rem;
  max-width: 800px;
  margin: auto;
  text-align: center;
  position: relative;
}

.section-title,
.intro-box {
  font-family: 'Lucida Sans', sans-serif;
}

.section-title {
  font-size: 5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.intro-box {
  font-size: larger;
  border-radius: 10px;
  padding: 1.5rem;
  line-height: 1.6;
}

/* Reel Button */
.reel-button-wrapper {
  margin-top: 2rem;
  text-align: center;
}

.reel-button {
  background: transparent;
  color: #ffc4c4;
  padding: 12px 40px;
  border: 2px solid #ffc4c4;
  border-radius: 40px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Bebas Neue', sans-serif;
  box-shadow: 0 0 8px rgba(255, 196, 196, 0.5);
}

.reel-button:hover {
  background: #ffc4c4;
  color: #0d0d0d;
  box-shadow: 0 0 15px rgba(255, 196, 196, 0.8);
}

/* About Section */
.about-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  position: relative;
}

.about-container {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-content {
  flex: 1;
}

.about-text {
  font-family: 'Praktika', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  position: relative;
  max-width: 400px;
}

.profile-photo {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(255, 120, 0, 0.3);
  background: white;
  padding: 10px;
  object-fit: contain;
}

.experience-box {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  background: rgba(13, 13, 13, 0.8);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid #ff6600;
}

.exp-item {
  text-align: center;
}

.exp-years {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff6600;
  line-height: 1;
}

.exp-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Skills Section */
.skills-section {
  margin: 2rem 0;
}

.skills-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffc4c4;
  font-family: 'Bebas Neue', sans-serif;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  background: rgba(255, 120, 0, 0.1);
  padding: 1rem;
  border-radius: 10px;
  border-left: 3px solid #ff6600;
}

.skill-category h4 {
  margin-bottom: 0.5rem;
  color: #ff9999;
}

.skill-category ul {
  list-style-type: none;
}

.skill-category li {
  padding: 0.3rem 0;
  position: relative;
  padding-left: 1.2rem;
}

.skill-category li:before {
  content: "•";
  color: #ff6600;
  position: absolute;
  left: 0;
}

/* Education Section */
.education-section {
  margin-top: 4rem;
}

.education-section h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #ffc4c4;
  font-family: 'Bebas Neue', sans-serif;
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #ff6600;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-date {
  width: 45%;
  padding: 1rem;
  text-align: right;
  font-weight: bold;
  color: #ff9999;
}

.timeline-content {
  font-family: 'Praktika', sans-serif;
  width: 45%;
  padding: 1rem;
  background: rgba(255, 120, 0, 0.05);
  border-radius: 10px;
  border-left: 2px solid #ff6600;
}

.timeline-content h4 {
  color: #ffc4c4;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.modal.visible {
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  background: #0a0a0a;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Video takes about 60% width */
.modal-content video {
  width: 60%;
  max-height: 70vh;
  border-radius: 10px;
  background: black;
  box-shadow: 0 0 15px #ff6600;
}

/* Description text box on right side */
.modal-description {
  width: 35%;
  color: #ff6600;
  font-family: 'Poiret One', cursive;
  font-size: 1.25rem;
  line-height: 1.4;
  user-select: none;
  text-align: left;
  padding-right: 10px;
  overflow-y: auto;
  max-height: 70vh;
}

/* Close button remains the same */
.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #ff6600;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: #ffaa33;
}

/* Chibi */
.chibi-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
}

.chibi-img {
  position: absolute;
  top: 630px;
  right: 0;
  width: 500px;
  border-radius: 12px;
  transform: scaleX(-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

/* Social */
.social-buttons {
  position: absolute;
  bottom: 35px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.social-btn {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.linkedin {
  background: linear-gradient(135deg, #0077b5, #66a6d9);
}
.linkedin:hover {
  transform: scale(1.05) translateY(-4px);
  background: linear-gradient(135deg, #005983, #80c1f3);
}

.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.instagram:hover {
  transform: scale(1.05) translateY(-4px);
  background: linear-gradient(135deg, #e1306c, #fd1d1d);
}

.youtube {
  background: linear-gradient(135deg, #ff0000, #ff6565);
}
.youtube:hover {
  transform: scale(1.05) translateY(-4px);
  background: linear-gradient(135deg, #cc0000, #ff4444);
}

.social-btn.cv {
  background: linear-gradient(135deg, #058800,  #00ff62);
}
.social-btn:hover {
  transform: scale(1.05) translateY(-4px);
  opacity: 0.85;
}

/* Project Section */
.projects-title {
  font-size: 2.5rem !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
  color: #ffc4c4 !important;
  font-family: 'Bebas Neue', sans-serif !important;
}

.projects-grid-section {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.project-thumbnail {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(255, 196, 196, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-thumbnail:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 196, 196, 0.5);
}

.project-thumbnail img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Projects grid with 3 columns and 2 rows */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 30px;
  padding: 20px 40px;
  max-width: 960px;
  margin: 0 auto;
}

/* Bigger thumbnails */
.project-thumbnail {
  cursor: pointer;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 10px #ff6600;
  transition: transform 0.3s ease;
  min-height: 180px;
  min-width: 280px;
}

.project-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
}

.project-thumbnail .hover-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
}

.project-thumbnail:hover .hover-text {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }
  
  .about-image {
    max-width: 100%;
    order: -1;
  }
  
  .timeline:before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-date,
  .timeline-content {
    width: 100%;
    text-align: left;
  }
  
  .timeline-date {
    padding-left: 3rem;
    padding-bottom: 0;
  }
  
  .timeline-content {
    margin-left: 3rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-content {
    flex-direction: column;
  }

  .modal-content video,
  .modal-description {
    width: 100%;
  }

  .hero-header {
    padding: 2rem 1rem;
  }

  .nav-bar {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .chibi-img {
    width: 300px;
    top: 700px;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 3.5rem;
  }

  .about-text {
    font-size: 1rem;
  }
}

.awards-section {
  padding: 60px 20px;
  text-align: center;
  color: #222;
}

.awards-section .section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.awards-intro {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-family: 'Poiret One', cursive;
  color: #ffffff;
}

.awards-image img {
  width: 75%;
  max-width: 960px;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.awards-video .video-link {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #d6249f;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-bottom: 40px;
}

.awards-video .video-link:hover {
  background-color: #a31b7d;
}

.award-details {
    font-family: Arial, sans-serif;
    margin: 2em 0;
      color: #fff;
  }

  .award-details h3 {
    font-size: 1.5em;
    margin-bottom: 1em;
  }

  .award-details ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em 3em; /* row gap 2em, column gap 3em */
  }

  .award-details li {
    margin-bottom: 1em;
  }

  .award-link {
    display: inline-block;
    margin-top: 0.5em;
    padding: 0.5em 1em;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
  }

  .award-link:hover {
    background-color: #0056b3;
  }

  /* Optional: Make it responsive */
  @media (max-width: 600px) {
    .award-details ul {
      grid-template-columns: 1fr;
    }
  }
