@font-face {
  font-family: GeistMono;
  src: url(./assets/GeistMono-VariableFont_wght.ttf);
}

@font-face {
    font-family: WindSong;
    src: url(./assets//WindSong-Regular.woff2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: GeistMono, 'Courier New', monospace;
    background-color: #f5f5f5;
    color: #000;
    overflow-x: hidden;
    font-weight: normal;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

.loading-content {
    width: 100%;
    max-width: 64rem;
    padding: 0 2rem;
}

.loading-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.loading-text {
    text-align: center;
    margin-bottom: 4rem;
}

.loading-title {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.loading-subtitle {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
}

.loading-progress-text {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.progress-bar-container {
    width: 100%;
    height: 1px;
    background-color: #d1d5db;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.progress-bar {
    height: 100%;
    background-color: #000;
    width: 0%;
    position: relative;
}

.progress-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.5), transparent);
    animation: shimmer 2.5s infinite ease-in-out;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}


/* Main Content */
.main-content {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.main-content.loaded {
    opacity: 1;
}

/* Custom Cursor */
/* .cursor {
  position: fixed;
  width: 25px;
  height: 25px;
  border: 2px solid #222;
  background-color: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  opacity: 1;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: #222;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  left: 50%;
  top: 50%;
  opacity: 1;
}

.cursor.hover {
  width: 40px;
  height: 40px;
  border-width: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.cursor.click {
  width: 16px;
  height: 16px;
  border-width: 3px;
}

.cursor-dot.click {
  width: 6px;
  height: 6px;
}

@media (max-width: 768px) {
  body {
      cursor: auto;
  }
  
  .cursor,
  .cursor-dot {
      display: none;
  }

} */


/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #000;
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1001;
}


/* utils class */

.underline-util-class {
  position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s ease;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transform: translateY(-100px);
}

.nav-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

.logo {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-script {
    font-family: WindSong, cursive;
    font-weight: 500;
}

.logo-underline {
    position: absolute;
    top: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s ease;
}

.logo:hover .logo-underline {
    width: 100%;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.nav-link {
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.7;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 320px) {
  .nav-links {
    font-size: 0.675rem;
  }
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    transform: translateY(2px);
}

.nav-link-underline {
    position: absolute;
    top: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-link:hover .nav-link-underline,
.nav-link.active .nav-link-underline {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 2.5rem;
    /* letter-spacing: 0.1em; */
    margin-bottom: 2rem;
    overflow: hidden;
    font-weight: normal;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (max-width: 380px) {
  .hero {
    padding: 10.5rem 2rem 5rem;

  }
}

.hero-title span {
    display: inline-block;
    transform: translateY(100px);
    opacity: 0;
}

.hero-subtitle {
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    margin-bottom: 3rem;
    max-width: 45rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #374151;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(30px);
}

.hero-btn {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    text-decoration: none;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.hero-btn-underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    transition: transform 0.3s ease;
}

.hero-btn:hover .hero-btn-underline {
    transform: scaleX(1.1);
}

.hero-btn-bg {
    position: absolute;
    inset: -8px;
    background-color: rgba(0,0,0,0.05);
    border-radius: 4px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.hero-btn:hover .hero-btn-bg {
    opacity: 1;
    transform: scale(1);
}

.hero-floating-dot {
    position: absolute;
    top: 10rem;
    right: 5rem;
    width: 8px;
    height: 8px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 50%;
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 72rem;
    margin: 0 auto;
}

.section-title {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    z-index: 20;
    opacity: 0;
    transform: scale(0.95);
    font-weight: normal;
}

/* Work Section */
.work-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.work-item {
    border-top: 1px solid #d1d5db;
    padding-top: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.work-item:hover {
    background-color: rgba(0,0,0,0.02);
    transform: translateX(10px);
}

.work-item-content {
    padding: 2rem;
    margin: -2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: block;
}

.work-item-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .work-item-header {
        flex-direction: row;
        align-items: center;
        margin-bottom: 0;
    }
}

.work-item-info {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .work-item-info {
        margin-bottom: 0;
    }
}

.work-item-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.work-item-title {
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: normal;
    color: black;
}

.work-item:hover .work-item-title {
    color: #6b7280;
    transform: translateX(5px);
}

.work-item-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.work-item-status.live {
    background-color: #dcfce7;
    color: #166534;
}

.work-item-status.archived {
    background-color: #f3f4f6;
    color: #6b7280;
}

.work-item:hover .work-item-status {
    transform: scale(1.05);
}

.work-item-tech {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.work-item:hover .work-item-tech {
    transform: translateX(5px);
}

.work-item-year {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.work-item:hover .work-item-year {
    transform: scale(1.05);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skills-category {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
}

.skills-category-title {
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-item {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: #6b7280;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
    opacity: 0;
    transform: translateX(-20px);
}

.skill-item:hover {
    color: #000;
    transform: scale(1.05) translateX(5px);
}

/* About Section */
.about-container {
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
    /* opacity: 0; */
}

.about-paragraph {
    color: #374151;
    opacity: 0;
    /* transform: translateY(30px); */
    overflow: hidden;
    text-transform: uppercase;
}

.highlight {
    position: relative;
    display: inline-block;
    padding: 0 0.25rem;
    border-radius: 4px;
}

.highlight-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin {
  display: inline-block;
  animation: spin 2s linear infinite;
}


.music-link {
  background-color: #fef08a;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 500;
}

.tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.84);
  color: white;
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.music-link:hover .tooltip {
  opacity: 1;
}


/* Contact Section */
.contact-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    /* opacity: 0; */
}

.contact-text {
    color: #374151;
    opacity: 0;
    /* transform: translateY(30px); */
    overflow: hidden;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    /* opacity: 0; */
    /* transform: translateY(30px); */
}

.contact-link {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    /* opacity: 0; */
    /* transform: translateY(20px); */
}

.contact-link:hover {
    transform: translateY(-3px) scale(1.05);
}

.contact-link-underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    transition: transform 0.3s ease;
}

.contact-link:hover .contact-link-underline {
    transform: scaleX(1.1);
}

.contact-link-bg {
    position: absolute;
    inset: -8px;
    background-color: rgba(0,0,0,0.05);
    border-radius: 4px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.contact-link:hover .contact-link-bg {
    opacity: 1;
    transform: scale(1);
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    /* opacity: 0;
    transform: translateY(50px); */
}

.footer-container {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.footer-copyright {
    position: relative;
    transition: transform 0.3s ease;
}

.footer-copyright:hover {
    transform: scale(1.05);
}

.footer-name {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
    opacity: 0;
}

.footer-name-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform-origin: left;
    transform: scaleX(0);
}

.footer-location {
    transition: transform 0.3s ease;
}

.footer-location:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
