/* Dark background for full page */
.momo-signature-regular {
  font-family: "Momo Signature", cursive;
  font-weight: 400;
  font-style: normal;
}

/* GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}

body {
  /* background: #111; */
  background-color: #000;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: #000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: orangered;
  text-shadow: 0 0 10px orangered;
  font-family: "Momo Signature", cursive;
  font-weight: 400;
  font-style: normal;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: orangered;
  font-size: 16px;
  transition: 0.3s;
  text-shadow: 0 0 5px orangered;
}

.nav-links a:hover {
  letter-spacing: 1px;
  color: white;
  text-shadow: 0 0 5px white;
}

/* ===== Download CV Button in Navbar ===== */
.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px;
  background: orangered;
  color: #fff !important;       /* FIXED */
  font-weight: 600;
  border-radius: 30px!important;
  border: 2px solid orangered;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 12px rgba(255,69,0,0.6);
  animation: pulseGlow 2s infinite ease-in-out;
}

.cv-btn i {
  font-size: 16px;
  color: #fff;      /* FIXED */
}
.cv-btn i:hover{
  font-size: 16px;
  color: rgba(255, 69, 0)!important;      /* FIXED */
}

.cv-btn:hover {
  transform: scale(1.05);
  background: #fff;
  color: rgba(255, 69, 0) !important;      /* visible on white */
  box-shadow: 0 0 22px white;
}




.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: orangered;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid orangered;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 12px rgba(255,69,0,0.6);
  animation: pulseGlow 2s infinite ease-in-out;
}

.cv-btn i {
  font-size: 16px;
}

/* Hover Effect */
.cv-btn:hover {
  transform: scale(1.05);
  background: #fff;
  color: #000;
  box-shadow: 0 0 22px white;
  border-color: #fff;
}

/* Reuse pulseGlow animation from Hero button */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 8px rgba(255,69,0,0.5), 0 0 16px rgba(255,69,0,0.4);
  }
  50% {
    box-shadow: 0 0 18px rgba(255,69,0,0.9), 0 0 28px rgba(255,69,0,0.7);
  }
  100% {
    box-shadow: 0 0 8px rgba(255,69,0,0.5), 0 0 16px rgba(255,69,0,0.4);
  }
}


/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: orangered;
  transition: 0.4s;
  border-radius: 5px;
}

/* HAMBURGER ANIMATION */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* MOBILE MENU */
@media (max-width: 820px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: -100%;
    width: 60%;
    background: #000;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
    text-align: right;
    transition: 0.4s;
  }

  .nav-links.active {
    right: 0;
  }
}
/* ---------------------- */
/* HERO SECTION */
/* ------------------------ */
.hero {
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url(images/herocoverimage1.avif);
  background-repeat: no-repeat;
  background-size: contain;
  /* background: #111; */
  background-position: top;

}

/* Profile Image */
.hero-img img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid orangered;
  box-shadow: 0 0 25px orangered, 0 0 40px rgba(255, 69, 0, 0.7);
  animation: glow 3s infinite alternate;
  margin-bottom: 25px;
}

/* Border glow animation */
@keyframes glow {
  0% { box-shadow: 0 0 15px orangered; }
  100% { box-shadow: 0 0 35px orangered; }
}

/* Heading */
.hero h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h1 span {
  color: orangered;
  text-shadow: 0 0 10px orangered;
}

/* Subtitle */
.hero p {
  max-width: 600px;
  margin: 0 auto 30px auto;
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.5;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* BUTTON BASE STYLE */
.btn {
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
  border: 2px solid orangered;
}

/* Primary (solid) */
.btn.primary {
  background: orangered;
  color: #000;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
  animation: pulseGlow 2s infinite ease-in-out;
}

.btn.primary:hover {
  background: white;
  transform: translateY(-3px);
  border: 2px solid white;
  box-shadow: 0 0 15px white;
}

/* Secondary (outlined) */
.btn.secondary {
  color: orangered;
  background: transparent;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
  animation: pulseGlow 2s infinite ease-in-out;
}

.btn.secondary:hover {
  background: white;
  color: #000;
  border: 2px solid white;
  transform: translateY(-3px);
  box-shadow: 0 0 15px white;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }

  .hero-img img {
    width: 140px;
    height: 140px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Fade & Slide Up Animation for entire hero section */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero{
  animation: fadeSlideUp 1s ease-in-out;
}

/* ------------------- */
/* ABOUT SECTION */
/* ---------------------- */
.about {
  display: flex;
  width: 100%;
  padding: 80px 10%;
  /* background: #0a0a0a;  */
  background: #000;
  color: white;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: space-between; /* spread content and image */
}

/* Image Section */
.about-img {
  flex: 1;
  min-width: 250px;
  text-align: center;       /* center image in small screens */
}
.about-img img {
  width: 350px;
  border-radius: 15px;
  border: 4px solid orangered;
  box-shadow: 0 0 20px orangered, 0 0 30px rgba(255, 69, 0, 0.6);
  animation: glowImg 3s infinite alternate;
}

/* Glow Animation */
@keyframes glowImg {
  0% { box-shadow: 0 0 15px orangered; }
  100% { box-shadow: 0 0 35px orangered; }
}

/* Text */
.about-content {
  flex: 1;                  /* takes remaining space */
  min-width: 300px;         /* prevents too small */
}
.about-content h2 {
  font-size: 30px;
  margin-bottom: 20px;
  color: orangered;
  text-shadow: 0 0 12px orangered;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
  opacity: 0.9;
}

.highlight {
  color: orangered;
  font-weight: 600;
  text-shadow: 0 0 8px orangered;
}

/* Buttons */
.about-buttons {
  margin-top: 25px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.about-buttons .btn {
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  border: 2px solid orangered;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Primary Button */
.about-buttons .primary {
  background: orangered;
  color: #000;
}

.about-buttons .primary:hover {
  background: white;
  transform: translateY(-3px);
  border-color: white;
}

/* Secondary Button */
.about-buttons .secondary {
  color: orangered;
  background: transparent;
}

.about-buttons .secondary:hover {
  background: white;
  color: #000;
  transform: translateY(-3px);
  border: white;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    width: 260px;
  }

  .about-content h2 {
    font-size: 32px;
  }

  .about-content p {
    font-size: 16px;
  }

  .about-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* Fade & Slide Up Animation for entire about section */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about{
  animation: fadeSlideUp 1s ease-in-out;
}

/* SKILLS SECTION */
.skills {
  width: 100%;
  padding: 80px 10%;
  /* background: #111; */
  color: white;
  text-align: center;
}

.section-title {
  font-size: 30px;
  margin-bottom: 50px;
  color: orangered;
  text-shadow: 0 0 12px orangered;
}

/* Skills container */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* Flip card */
.flip-card {
  background-color: transparent;
  width: 220px;
  height: 260px;
  perspective: 1000px; /* 3D effect */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Flip on hover */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(255,69,0,0.7);
  transition: 0.3s ease;
}

.flip-card-front {
  background: #000;
}

.flip-card-front img {
  width: 60px;
  margin-bottom: 15px;
}

.flip-card-front h3 {
  color: orangered;
  text-shadow: 0 0 8px orangered;
}

.flip-card-back {
  background: #1a1a1a;
  color: #fff;
  transform: rotateY(180deg);
  font-size: 14px;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .skills-container {
    gap: 20px;
  }
  .flip-card {
    width: 180px;
    height: 230px;
  }
  .flip-card-front img {
    width: 50px;
  }
  .flip-card-back {
    font-size: 14px;
  }
}

/* Fade & Slide Up Animation for entire skills section */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.skills{
  animation: fadeSlideUp 1s ease-in-out;
}


/* ----Project Section----- */
.projects-section {
  padding: 80px 40px;
  background: #000;
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: orangered;
  text-shadow: 0 0 10px orangered;
}

/* Filters */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  background: transparent;
  border: 2px solid orangered;
  color: orangered;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: orangered;
  color: #000;
}

/* Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* Card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid orangered;
  box-shadow: 0 0 15px rgba(255,69,0,0.7);
  height: 250px;
  display: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.4s;
}

.project-card:hover img {
  transform: scale(1.1);
}

.show {
  display: block !important;
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
  padding: 20px;
  text-align: center;
}

.project-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  color: orangered;
  text-shadow: 0 0 8px orangered;
  margin-bottom: 10px;
}

.overlay p{
  color: white;
  text-shadow: 0 0 8px white;
  margin-bottom: 10px;
  line-height: 1.5;
}

.overlay-icons a {
  margin: 10px;
  font-size: 20px;
  color: #fff;
  transition: 0.3s;
  line-height: 3;
}

.overlay-icons a:hover {
  color: orangered;
}

/* Button styles */
.explore-container {
  text-align: center;
  margin-top: 25px;
}

#exploreBtn {
  padding: 12px 30px;
  background: orangered;
  border: none;
  color: #000;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
  animation: pulseGlow 2s infinite ease-in-out;
}

#exploreBtn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 15px white;
}

/* ===============================
   RESPONSIVE BREAKPOINT COUNT
   =============================== */

/* -------- Mobile: Show ONLY first 3 cards -------- */
@media (max-width: 600px) {
  :root {
    --initial-cards: 3;
  }
}

/* -------- Tablet: Show first 6 cards -------- */
@media (min-width: 601px) and (max-width: 992px) {
  :root {
    --initial-cards: 6;
  }
}

/* -------- Laptop & Desktop: Show first 6 cards -------- */
@media (min-width: 993px) {
  :root {
    --initial-cards: 8;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: #111;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 500px;
  color: #fff;
}

#closeModal {
  float: right;
  font-size: 26px;
  cursor: pointer;
  color: orangered;
}

.modal-content img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
}

/* Fade & Slide Up Animation for entire projects-section section */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.projects-section{
  animation: fadeSlideUp 1s ease-in-out;
}



/* CONTACT SECTION */
.contact {
  width: 100%;
  padding: 80px 10%;
  background: #0a0a0a;
  color: white;
  text-align: center;
}

.contact-subtitle {
  max-width: 600px;
  margin: 10px auto 40px auto;
  font-size: 18px;
  opacity: 0.9;
}

/* Contact Container */
.contact-container {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

/* Contact Form */
.contact{
  background-color: #000;

}
.contact h2{
  font-size: 30px;
}
.contact p{
  font-size: 16;
  line-height: 1.5;
}
.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid orangered;
  background: #111;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: orangered;
  box-shadow: 0 0 10px orangered;
}

.contact-form button {
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid orangered;
  background: orangered;
  color: #000;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: orangered;
  transform: translateY(-3px);
}

/* Social Media Section */
.contact-social {
  flex: 0.6;
  min-width: 220px;
  text-align: center;
}

.contact-social h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: orangered;
  text-shadow: 0 0 8px orangered;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-icons a img {
  width: 40px;
  transition: 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px orangered);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-form, .contact-social {
    max-width: 100%;
  }

  .social-icons {
    gap: 15px;
  }

  .contact-form button {
    width: 100%;
  }
}

/* Fade & Slide Up Animation for entire contact section */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact {
  animation: fadeSlideUp 1s ease-in-out;
}

/* Floating effect */
@keyframes floatIcon {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.social-icons a img {
  animation: floatIcon 3s infinite ease-in-out;
}


/* -------- FOOTER STYLES ------------- */

.footer {
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 20px 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-col h3,
.footer-col h4 {
  font-size: 22px;
  margin-bottom: 10px;
  color: orangered;
}

.footer-col h3{
  font-family: "Momo Signature", cursive;
  font-weight: 400;
  font-style: normal;
}

.footer-col p,
.footer-col a,
.footer-bottom p {
  color: orangered;
  font-size: 14px;
  line-height: 1.6;
  text-shadow: 0 0 8px orangered;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 6px 0;
}

.footer-col ul li a {
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: white;
  text-shadow: 0 0 8px white;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  font-size: 40px;
  color: orangered;
  transition: 0.3s;
}

.social-icon:hover {
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}




