/*
 *  /\_/\  
 * ( o.o ) 
 *  > ^ <
 * Portfolio Styles
 */

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 192, 203, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 218, 224, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Header - Centered Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
  background: transparent;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navigation Container - Transparent Background */
.nav-container {
  display: flex;
  gap: 0.8rem;
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(255, 182, 193, 0.15);
  border-radius: 30px;
  backdrop-filter: none;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container:hover {
  background: transparent;
  border-color: rgba(255, 182, 193, 0.25);
  box-shadow: none;
}

/* Navigation Buttons */
.nav-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 182, 193, 0.2), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover::before {
  left: 100%;
}

.nav-btn:hover {
  background: rgba(255, 182, 193, 0.15);
  color: #ff69b4;
  border-color: rgba(255, 182, 193, 0.3);
  transform: translateY(-1px);
  box-shadow: none;
  text-shadow: 0 0 8px rgba(255, 182, 193, 0.4);
}

/* Active state for navigation */
.nav-btn.active {
  background: rgba(255, 182, 193, 0.2);
  color: #ff69b4;
  border-color: rgba(255, 182, 193, 0.4);
  box-shadow: none;
}

/* Language button */
.language-btn {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 8rem 2vw 6rem 2vw;
  position: relative;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 182, 193, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 4rem;
  background: linear-gradient(45deg, #ff69b4, #ffb6c1, #ffe4e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  text-shadow: 0 0 50px rgba(255, 182, 193, 0.3);
  position: relative;
  z-index: 1;
  animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-text {
  position: relative;
  display: inline-block;
}

.typing-text::after {
  content: '|';
  position: absolute;
  right: -8px;
  top: 0;
  color: #ff69b4;
  font-weight: 900;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

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

.hero p {
  font-size: 1.3rem;
  color: #cccccc;
  margin-bottom: 3rem;
  font-weight: 400;
  animation: slideInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

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

.hero-buttons {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-buttons .btn {
  display: inline-block;
  margin: 0 1rem 1rem 0;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(45deg, #ff69b4, #ffb6c1);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 182, 193, 0.3);
}

.btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.primary:hover::before {
  left: 100%;
}

.btn.primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(255, 182, 193, 0.4);
}

.btn.secondary {
  background: transparent;
  color: #ff69b4;
  border: 2px solid #ff69b4;
  box-shadow: 0 0 20px rgba(255, 182, 193, 0.2);
}

.btn.secondary:hover {
  background: #ff69b4;
  color: #ffffff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(255, 182, 193, 0.4);
}

/* Sections */
section {
  max-width: 1200px;
  margin: 0 auto 6rem auto;
  padding: 3rem 2vw;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff69b4, transparent);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

section:hover::before {
  width: 150px;
}

h2 {
  background: linear-gradient(45deg, #ff69b4, #ffb6c1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

h2:hover {
  transform: scale(1.05);
}

/* About section centering */
#about {
  text-align: center;
}

#about p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Contact section centering */
#contact {
  text-align: center;
  padding-bottom: 6rem;
}

#contact p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Modern Badges */
.badge {
  display: inline-block;
  background: rgba(255, 182, 193, 0.1);
  color: #ff69b4;
  border: 1px solid rgba(255, 182, 193, 0.3);
  border-radius: 25px;
  padding: 0.4em 1em;
  font-size: 0.9em;
  margin: 0.3em;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.badge:hover {
  background: rgba(255, 182, 193, 0.2);
  border-color: #ff69b4;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.3);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 182, 193, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

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

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff69b4, #ffb6c1);
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover::before {
  height: 5px;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(255, 182, 193, 0.3);
  box-shadow: 0 25px 60px rgba(255, 182, 193, 0.15);
}

.card h3 {
  color: #ff69b4;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover h3 {
  transform: scale(1.05);
}

.card p {
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover p {
  color: #ffffff;
}

.card-link {
  color: #ff69b4;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
}

.card-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-link:hover::after {
  transform: translateX(8px);
}

.card-link:hover {
  color: #ffb6c1;
  text-shadow: 0 0 15px rgba(255, 182, 193, 0.6);
  transform: translateX(5px);
}

/* Social Links */
.socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.socials a {
  color: #ff69b4;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 182, 193, 0.3);
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 182, 193, 0.05);
  position: relative;
  overflow: hidden;
}

.socials a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.socials a:hover::before {
  left: 100%;
}

.socials a:hover {
  background: #ff69b4;
  color: #ffffff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 182, 193, 0.4);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  padding: 3rem 0;
  color: #888888;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 182, 193, 0.1);
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 4rem;
}

footer:hover {
  border-top-color: rgba(255, 182, 193, 0.2);
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  header {
    padding: 1rem 0;
  }
  
  .nav-container {
    gap: 0.4rem;
    padding: 0.4rem 1.2rem;
  }
  
  .nav-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 6rem 1vw 3rem 1vw;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .card {
    padding: 2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .nav-container {
    gap: 0.2rem;
    padding: 0.3rem 0.8rem;
  }
  
  .nav-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
  
  .socials {
    flex-direction: column;
    align-items: center;
  }
}
