/* Fade out elements close to sticky headline */
.fade-fade {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(.77,0,.175,1);
}
.fade-fade.faded {
  opacity: 0;
  pointer-events: none;
}
/* === RESET & BASE === */

body, html {
  background: #000;
  color: #fff;
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(.77,0,.175,1);
}

/* === STICKY HEADER === */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.95) 70%, rgba(0,0,0,0) 100%);
  padding: 20px 0 40px 0;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.sticky-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -2px;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  transition: font-size 0.3s cubic-bezier(.77,0,.175,1);
}

.sticky-header.shrunk .sticky-name {
  font-size: 2rem;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 10px;
}

/* === HERO SECTION === */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image-wrapper {
  position: relative;
}

.profile-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transition: transform 0.5s cubic-bezier(.77,0,.175,1), box-shadow 0.5s;
  position: relative;
  background: rgba(255,255,255,0.03);
}

.profile-image:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s cubic-bezier(.77,0,.175,1);
}

.profile-img-main {
  z-index: 1;
  opacity: 1;
}

.profile-img-hover {
  z-index: 2;
  opacity: 0;
}

.profile-image:hover .profile-img-hover {
  opacity: 1;
}
.profile-image:hover .profile-img-main {
  opacity: 0;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  color: #fff;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 0;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.8;
  margin: 0;
}

.hero-bio {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #fff;
  opacity: 0.85;
  margin: 16px 0 24px 0;
  max-width: 600px;
}

.hero-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(.77,0,.175,1);
}

.social-link:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}
/* Spacer for vertical centering */
/* === GRID & STRUCTURE === */
.profile-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 0;
}
.profile-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-links a {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 2em;
  background: rgba(255,255,255,0.04);
  margin: 0 4px;
  transition: background 0.2s, color 0.2s;
}
.profile-links a:hover {
  background: #fff;
  color: #000;
}
.divider {
  width: 100%;
  max-width: 900px;
  border: 0;
  border-top: 2px solid #fff;
  opacity: 0.12;
  margin: 48px 0 32px 0;
}
.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px auto;
}

/* === SECTIONS === */
section {
  margin-bottom: 36px;
/* removed extra closing brace */
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
}

.section-title-small {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
}

/* === GRID LAYOUTS === */
.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  width: 100%;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  width: 100%;
}

/* === CARDS === */
.project-card, .skill-card, .info-card {
  background: #181818;
  border-radius: 16px;
  padding: 18px 14px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
/* removed extra closing brace */
}

.project-card:hover, .skill-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.project-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 0 8px 0;
  color: #fff;
  letter-spacing: 0.5px;
}

.project-meta {
  font-size: 0.95rem;
  color: #fff;
  opacity: 0.6;
  margin: 8px 0;
  font-weight: 600;
}

.project-desc {
  font-size: 1.1rem;
  color: #fff;
  opacity: 0.85;
  margin: 16px 0 0 0;
  line-height: 1.6;
}

.project-tags {
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.7;
  margin: 12px 0 0 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.skill-card {
  font-size: 1.3rem;
  font-weight: 900;
  text-align: center;
  padding: 24px;
  letter-spacing: 0.5px;
}

/* === TWO COLUMN LAYOUT === */
.two-column-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.column-section {
  display: flex;
  flex-direction: column;
}

.info-title {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 0 8px 0;
  color: #fff;
}

.info-meta {
  font-size: 0.95rem;
  color: #fff;
  opacity: 0.6;
  margin: 4px 0 12px 0;
  font-weight: 600;
}

.info-desc {
  font-size: 1.05rem;
  color: #fff;
  opacity: 0.85;
  margin: 0;
  line-height: 1.6;
}

.lang-item {
  font-size: 1.1rem;
  margin: 8px 0;
  opacity: 0.85;
}

/* === TAGS === */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  padding: 10px 20px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(.77,0,.175,1);
}

.tag:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.05);
}

/* === DIVIDER === */
.divider {
  width: 100%;
  border: 0;
  border-top: 2px solid rgba(255,255,255,0.1);
  margin: 60px 0;
}

/* === HIGHLIGHT === */
.highlight {
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 2px 8px;
  letter-spacing: 0.5px;
}

/* === FOOTER === */
.footer {
  text-align: center;
  padding: 60px 0 40px 0;
  margin-top: 80px;
}

.footer-text {
  font-size: 1.5rem;
  color: #fff;
  opacity: 0.8;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-email {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  border-bottom: 3px solid #fff;
  padding-bottom: 4px;
  display: inline-block;
  margin-bottom: 32px;
  transition: all 0.3s;
}

.footer-email:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.5;
  margin-top: 32px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.77,0,.175,1), transform 0.8s cubic-bezier(.77,0,.175,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



body, html {
  background: #000;
  color: #fff;
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100vh;
}

main, .container, header, section, footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h1, h2, h3, h4, h5, h6, p, a {
  color: #fff;
  text-align: center;
}

/* === CUSTOM CURSOR === */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid #fff;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background 0.2s, border 0.2s, width 0.2s, height 0.2s, opacity 0.4s cubic-bezier(.77,0,.175,1);
  mix-blend-mode: difference;
  box-shadow: 0 0 32px 12px rgba(255,255,255,0.18), 0 0 8px 2px rgba(255,255,255,0.12);
}

.custom-cursor::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 80%, transparent 100%);
  transform: translate(-50%, -50%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 700px) {
  .container {
    padding: 32px 8px 16px 8px;
  }
}
/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-right {
    align-items: center;
  }
  
  .hero-bio {
    max-width: 100%;
  }
  
  .hero-links {
    justify-content: center;
  }
  
  .profile-image {
    width: 220px;
    height: 220px;
  }
  
  .two-column-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 20px 16px 40px 16px;
  }
  
  .sticky-name {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-bio {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-title-small {
    font-size: 1.4rem;
  }
  
  .grid-list {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .profile-image {
    width: 180px;
    height: 180px;
  }
  
  .project-card, .skill-card, .info-card {
    padding: 24px;
  }
  
  .footer-email {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .sticky-name {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .social-link {
    width: 100%;
    justify-content: center;
  }
}
