@import url("https://fonts.googleapis.com/css2?family=Bangers:wght@400&family=Comic+Neue:wght@300;400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Comic Neue", cursive;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  overflow-x: hidden;
}

/* Comic Book Speech Bubbles */
.speech-bubble {
  background: #fff;
  border: 4px solid #333;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.3);
  transform: rotate(-2deg);
  transition: all 0.3s ease;
}

.speech-bubble:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.4);
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 30px;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
  margin-left: -20px;
  margin-bottom: -4px;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  bottom: -28px;
  left: 30px;
  width: 0;
  height: 0;
  border: 24px solid transparent;
  border-top-color: #333;
  border-bottom: 0;
  margin-left: -24px;
  margin-bottom: -4px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid #333;
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-family: "Bangers", cursive;
  font-size: 2rem;
  color: #ff6b6b;
  text-shadow: 2px 2px 0px #333;
  transform: rotate(-5deg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  background: #ff6b6b;
  color: white;
  border-color: #333;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: "Bangers", cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  color: #fff;
  text-shadow: 4px 4px 0px #333, 8px 8px 0px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 4vw, 2rem);
  color: #ffeb3b;
  text-shadow: 2px 2px 0px #333;
  margin-bottom: 30px;
  animation: slideInUp 1s ease-out;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: #ff6b6b;
  color: white;
  text-decoration: none;
  border: 3px solid #333;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 5px 5px 0px #333;
  transition: all 0.3s ease;
  transform: rotate(-2deg);
}

.cta-button:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 8px 8px 0px #333;
  background: #ff5252;
}

/* Comic Effects */
.comic-burst {
  position: absolute;
  font-family: "Bangers", cursive;
  font-size: 2rem;
  color: #ffeb3b;
  text-shadow: 2px 2px 0px #333;
  animation: pulse 2s infinite;
}

.burst-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.burst-2 {
  top: 70%;
  right: 15%;
  animation-delay: 1s;
}
.burst-3 {
  bottom: 10%;
  left: 20%;
  animation-delay: 0.5s;
}

/* Sections */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: "Bangers", cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-bottom: 50px;
  color: #333;
  text-shadow: 2px 2px 0px #ffeb3b;
  transform: rotate(-1deg);
}

/* About Section */
.about {
  background: radial-gradient(circle, #ff9a9e 0%, #fecfef 100%);
  border-radius: 50px;
  margin: 50px auto;
  position: relative;
}

.about-content {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: 5px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  margin: 0 auto;
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

/* Projects Section */
.projects {
  background: #f8f9fa;
  border-radius: 50px;
  margin: 50px auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card {
  background: white;
  border: 4px solid #333;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  transform: rotate(1deg);
}

.view-project-btn {
  text-decoration: none;
  display: inline-block;
  padding: 12px 25px;
  background: #ff6b6b;
  color: white;
  font-family: "Comic Neue", cursive;
  font-size: 1rem;
  font-weight: bold;
  border: 3px solid #333;
  border-radius: 20px;
  box-shadow: 5px 5px 0px #333;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: rotate(-2deg);
  animation: bounce 2s infinite;
  animation-delay: 0.2s;
}

.view-project-btn:hover {
  background: #ff5252;
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 8px 8px 0px #333;
}

.project-card:nth-child(even) {
  transform: rotate(-1deg);
}

.project-card:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.4);
}

.project-title {
  font-family: "Bangers", cursive;
  font-size: 1.8rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.tech-tag {
  background: #667eea;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.7rem;
  border: 2px solid #333;
}

/* Skills Section */
.skills {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 50px;
  margin: 50px auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.skill-bubble {
  background: white;
  border: 3px solid #333;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
  display: flex;
  flex-direction: column;
}

.skill-bubble:hover {
  transform: scale(1.1);
  background: #ffeb3b;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50px;
  margin: 50px auto;
}

.contact-content {
  text-align: center;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 15px 25px;
  background: #ff6b6b;
  color: white;
  text-decoration: none;
  border: 3px solid #333;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 5px 5px 0px #333;
  transition: all 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0px #333;
}

/* Animations */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    width: 200px;
    height: 200px;
    font-size: 4rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .speech-bubble {
    margin: 10px;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-bubble {
    width: 120px;
    height: 120px;
    font-size: 1rem;
  }
}

.projects-heading-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.projects-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 50px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-title {
  font-family: "Bangers", cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 50px;
  color: #333;
  text-shadow: 2px 2px 0px #ffeb3b;
  transform: rotate(-1deg);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  line-height: 1.2;
}

.section-title .scratch-badge {
  background: #ffeb3b;
  color: #333;
  font-family: "Bangers", cursive;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  padding: 5px 12px;
  border-radius: 10px;
  border: 3px solid #333;
  box-shadow: 4px 4px 0px #333;
  transform: rotate(-2deg);
  text-shadow: 1px 1px 0px #00000020;
  white-space: nowrap;
}
.scratch-badge {
  animation: bounce 2s infinite;
  animation-delay: 0.2s;
}
@media (max-width: 480px) {
  .section-title {
    flex-direction: column;
    gap: 8px;
  }

  .section-title .scratch-badge {
    transform: rotate(0deg);
  }
}

.skill-icon {
  width: 28px;
  height: 28px;
  margin-top: 0.5rem;
}

.cont-icon {
  height: 17px;
}



/* Resume Section */
.resume-section {
  background: radial-gradient(circle, #fdfbfb 0%, #ebedee 100%);
  border-radius: 50px;
  margin: 50px auto;
  padding: 100px 20px;
  max-width: 1200px;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Heading */
.resume-section .section-title {
  font-family: "Bangers", cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  color: #333;
  text-shadow: 2px 2px 0px #ffeb3b;
  margin-bottom: 50px;
  transform: rotate(-1deg);
}

/* Resume Bubble */
.resume-section .speech-bubble {
  background: #fff;
  border: 4px solid #333;
  border-radius: 20px;
  padding: 20px 30px;
  display: inline-block;
  max-width: 500px;
  transform: rotate(1deg);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  margin-bottom: 30px;
  position: relative;
}

.resume-section .speech-bubble:hover {
  transform: rotate(0deg) scale(1.05);
}

/* Resume Bubble Tail */
.resume-section .speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50px;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
  margin-left: -20px;
  margin-bottom: -4px;
}

.resume-section .speech-bubble::before {
  content: "";
  position: absolute;
  bottom: -28px;
  left: 50px;
  width: 0;
  height: 0;
  border: 24px solid transparent;
  border-top-color: #333;
  border-bottom: 0;
  margin-left: -24px;
  margin-bottom: -4px;
}

/* Inner Resume Bubble Title */
.resume-section .speech-bubble h3 {
  font-family: "Bangers", cursive;
  font-size: 1.6rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

/* Resume Downloads */
.resume-downloads {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Resume Button */
.resume-btn {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 25px;
  background: white;
  color: #333;
  text-decoration: none;
  border: 3px solid #333;
  border-radius: 15px;
  font-weight: bold;
  box-shadow: 6px 6px 0px #333;
  transition: all 0.3s ease;
  min-width: 140px;
  transform: rotate(-1deg);
  position: relative;
}

.resume-btn:nth-child(2) {
  transform: rotate(1deg);
}

.resume-btn:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 10px 10px 0px #333;
}

/* Individual Resume Button Styles */
.pdf-btn:hover {
  background: #ff6b6b;
  color: white;
}

.view-btn:hover {
  background: #ffeb3b;
  color: #333;
}

/* Resume Button Inner Text */
.resume-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.resume-text {
  font-size: 1rem;
  margin-bottom: 5px;
}

.resume-size {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Responsive Fixes */
@media (max-width: 480px) {
  .resume-section .speech-bubble {
    transform: rotate(0deg);
    padding: 15px 20px;
  }

  .resume-btn {
    width: 100%;
    min-width: unset;
    transform: rotate(0deg);
  }
}


.rotate-hover {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.6);
  will-change: transform, box-shadow;
}

.rotate-hover:hover {
  transform: rotate(2deg);
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.5);
}



footer {
  background: #000;
  color: #fff;
  font-size: 20px;
  padding: 20px;
  text-align: center;
  font-family: "Comic Neue", cursive;
  border-top: 2px solid #fff;
}

@media (max-width: 480px) {
  footer a {
    display: block;
    margin: 6px 0;
  }
}
