/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

body {
  font-family: 'Inter', sans-serif;
  background: 
    linear-gradient(135deg, rgba(255,238,248,0.7) 0%, rgba(240,248,255,0.7) 50%, rgba(255,245,238,0.7) 100%),
    url("/img/fondo.jpg") no-repeat center center fixed;
  background-size: cover;
  line-height: 1.6;
    color: #000; 
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 5rem 0;
}


.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1100px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-in-out;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


/* ===== NAVEGACIÓN ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 182, 193, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.logo::after {
  content: '✨';
  position: absolute;
  right: -25px;
  top: -5px;
  animation: sparkle 2s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-links a:hover {
  color: #ff6b9d;
  background: rgba(255, 107, 157, 0.1);
  transform: translateY(-2px);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(90deg, #ff6b9d, #c44569);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 80%;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ff6b9d;
}

/* ===== HERO SECTION ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    rgba(255, 182, 193, 0.3) 0%, 
    rgba(255, 218, 185, 0.3) 25%,
    rgba(255, 240, 245, 0.3) 50%,
    rgba(230, 230, 250, 0.3) 75%,
    rgba(240, 248, 255, 0.3) 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
}
/* Capa que se oscurece al hacer scroll */
.hero-dim-overlay{
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--hero-dim);
  pointer-events: none;
  z-index: 1;       
  transition: opacity 0.12s linear; 
 
}

/* Contenido por encima de todo */
.hero-content{ z-index: 2; position: relative; }


.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.floating-particles::before,
.floating-particles::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.floating-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-particles::after {
  bottom: 20%;
  right: 10%;
  animation-delay: 4s;
}

.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: floatRotate 12s ease-in-out infinite;
}

.shape-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #ff9ff3, #f368e0);
  border-radius: 50% 20% 50% 20%;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #a8e6cf, #88d8c0);
  border-radius: 50%;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #ffd93d, #ff9ff3);
  border-radius: 30px;
  bottom: 25%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #74b9ff, #0984e3);
  border-radius: 50% 0 50% 0;
  top: 30%;
  right: 25%;
  animation-delay: 1s;
}

.shape-5 {
  width: 90px;
  height: 90px;
  background: linear-gradient(45deg, #fd79a8, #e84393);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 70%;
  left: 60%;
  animation-delay: 3s;
}

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

.hero-image-container {
  margin-bottom: 2rem;
}

.hero-image-wrapper {
  position: relative;
  display: inline-block;
  animation: fadeInScale 1s ease-out;
}

.hero-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
  position: relative;
  z-index: 2;
}

.image-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b9d, #c44569, #74b9ff);
  opacity: 0.3;
  filter: blur(20px);
  animation: pulse 3s ease-in-out infinite;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.highlight {
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b9d, #c44569);
  border-radius: 2px;
  animation: underlineExpand 1s ease-out 1.5s both;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #666;
  margin-bottom: 1.5rem;
  height: 2rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.scroll-btn {
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.8s both;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.scroll-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6);
}

.btn-icon {
  animation: bounce 2s ease-in-out infinite;
}

/* ===== SECCIONES ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #333;
  margin-bottom: 1rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.title-decoration {
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

.section-line {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b9d, #c44569);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SOBRE MÍ ===== */
.about-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  text-align: center;
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
}

.profile-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

.image-border {
  position: absolute;
  inset: -15px;
  border: 3px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b9d, #c44569, #74b9ff);
  background-clip: border-box;
  z-index: 1;
}

.image-shadow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  opacity: 0.2;
  filter: blur(30px);
  animation: pulse 4s ease-in-out infinite;
}

.about-content {
  animation: slideInRight 1s ease-out;
}

.about-paragraph {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  position: relative;
  padding-left: 1rem;
}

.about-paragraph::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  border-radius: 2px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff6b9d;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* ===== TECNOLOGÍAS ===== */
.tech-container {
  display: grid;
  gap: 3rem;
}

.tech-category {
  background: white;
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tech-category:hover {
  transform: translateY(-10px);
}

.category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b9d, #c44569);
  border-radius: 2px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.tech-item {
  background: linear-gradient(135deg, #fff 0%, #ffeef8 100%);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.tech-item:hover {
  transform: translateY(-5px);
  border-color: #ff6b9d;
  box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent);
  transition: left 0.5s ease;
}

.tech-item:hover::before {
  left: 100%;
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

.tech-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.tech-level {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.level-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff6b9d, #c44569);
  border-radius: 4px;
  transition: width 2s ease-in-out;
  position: relative;
}

.level-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

/* ===== PROYECTOS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.project-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.9), rgba(196, 69, 105, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  background: white;
  color: #ff6b9d;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-link:hover {
  background: #ff6b9d;
  color: white;
  transform: translateY(-3px);
}

.project-content {
  padding: 2rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #333;
  margin: 0;
}

.project-status {
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.project-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: linear-gradient(135deg, #ffeef8, #f0f8ff);
  color: #ff6b9d;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 107, 157, 0.2);
}

.project-stats {
  display: flex;
  gap: 1.5rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.stat-icon {
  font-size: 1.2rem;
}

#contact {
  background: linear-gradient(135deg, #ffeef8 0%, #f0f8ff 50%, #fff5ee 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(255, 107, 157, 0.2);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent);
  transition: left 0.5s ease;
}

.contact-card:hover::before {
  left: 100%;
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-text {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-link {
  color: #ff6b9d;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  display: inline-block;
  background: rgba(255, 107, 157, 0.1);
}

.contact-link:hover {
  color: white;
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  transform: translateY(-2px);
}

/* Formulario */
.contact-form-container {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff6b9d, #c44569, #74b9ff);
  border-radius: 25px 25px 0 0;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #f0f0f0;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafafa;
  font-family: 'Inter', sans-serif;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ff6b9d;
  background: white;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
  transform: translateY(-2px);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  border: none;
  border-radius: 50px;
  padding: 1.2rem 3rem;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.6);
}

.form-submit:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .form-submit {
    padding: 1rem 2rem;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  color: white;
  padding: 3rem 0 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 20 Q25 0 50 10 T100 15 V20 Z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") repeat-x;
  background-size: 100px 20px;
  animation: wave 8s ease-in-out infinite;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-text p {
  font-size: 1rem;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: white;
  color: #ff6b9d;
  transform: translateY(-5px);
}

.footer-decoration {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.decoration-item {
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

.decoration-item:nth-child(2) { animation-delay: 0.5s; }
.decoration-item:nth-child(3) { animation-delay: 1s; }
.decoration-item:nth-child(4) { animation-delay: 1.5s; }

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

@keyframes floatRotate {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  50% { 
    transform: translateY(-30px) rotate(180deg); 
  }
}

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

@keyframes sparkle {
  0%, 100% { 
    transform: rotate(0deg) scale(1); 
  }
  25% { 
    transform: rotate(90deg) scale(1.2); 
  }
  50% { 
    transform: rotate(180deg) scale(1); 
  }
  75% { 
    transform: rotate(270deg) scale(1.2); 
  }
}

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

@keyframes underlineExpand {
  from { 
    width: 0; 
    left: 50%; 
  }
  to { 
    width: 100%; 
    left: 0; 
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

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

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }
}
