/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #ffffff;
    color: #000000;
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
}

p {
    line-height: 1.6;
}

::selection {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: #eaa50f;
    
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: none;
}

.cursor-label {
    position: fixed;
    top: 0;
    left: 0;
    background: #155af0;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

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

.nav-logo {
    letter-spacing: -0.025em;
    color: #111827;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateX(4px);
}

.nav-menu-desktop {
    display: none;
    align-items: center;
    gap: 40px;
}

.nav-link {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 14px;
    letter-spacing: 0.025em;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.nav-link:hover {
    color: #111827;
    transform: translateY(-2px);
}

.nav-link-primary {
    color: #111827;
    background-color: rgb(66, 255, 66);
    padding: 4px;
}

.nav-toggle {
    background: none;
    border: none;
    color: #111827;
    padding: 8px;
    display: block;
}

.nav-menu-mobile {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #e5e7eb;
    padding: 24px;
    flex-direction: column;
    gap: 24px;
}

.nav-menu-mobile.active {
    display: flex;
}

.nav-link-mobile {
    background: none;
    border: none;
    color: #6b7280;
    text-align: left;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: #111827;
}

@media (min-width: 768px) {
    .nav-menu-desktop {
        display: flex;
    }
    
    .nav-toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    padding: 8rem 1.5rem;
    text-align: center;
}

.hero-subtitle {
    margin-bottom: 2rem;
    color: #6b7280;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    margin-bottom: 3rem;
    line-height: 1;
    letter-spacing: -0.025em;
    font-weight: 400;
}

.hero-word,
.hero-word-static {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.hero-word {
    transition: background-color 0.5s ease, font-size 0.2s ease;

}

.hero-word:hover {
    font-size: clamp(4rem, 15vw, 8rem);
}

.hero-word-static {
    color: #ef0f0f;
}

.hero-word:nth-child(1) { animation: fadeInUp 0.6s ease 0.3s forwards; }
.hero-word:nth-child(3) { animation: fadeInUp 0.6s ease 0.35s forwards; }
.hero-word:nth-child(5) { animation: fadeInUp 0.6s ease 0.4s forwards; }
.hero-word:nth-child(7) { animation: fadeInUp 0.6s ease 0.45s forwards; }
.hero-word:nth-child(9) { animation: fadeInUp 0.6s ease 0.5s forwards; }
.hero-word:nth-child(11) { animation: fadeInUp 0.6s ease 0.55s forwards; }
.hero-word-static { animation: fadeInUp 0.6s ease 0.6s forwards; }

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    border: none;
    border-bottom: 2px solid #111827;
    padding-bottom: 4px;
    background: none;
    font-size: 16px;
    font-weight: 500;
    transition: gap 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.7s forwards;
}

.hero-button:hover {
    gap: 20px;
    transform: translateY(-4px);
}

/* Projects Section */
.projects {
    padding: 8rem 0;
    background: #ffffff;
}

.projects a {
    text-decoration: none;
}

.projects-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.projects-header {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(20px);
}

.projects-header.visible {
    animation: fadeInUp 0.5s ease forwards;
}

.projects-header-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.projects-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.025em;
    font-weight: 400;
}

.projects-count {
    color: #9ca3af;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 14px;
}

.projects-line {
    width: 6rem;
    height: 1px;
    background: #111827;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem 3rem;
}

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

.project-card {
    opacity: 0;
    transform: translateY(30px);
}

.project-card.visible {
    animation: fadeInUp 0.5s ease forwards;
}

.project-image-wrapper {
    margin-bottom: 1.5rem;
}

.project-image-container {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.project-image-container.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease, transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: #11182735;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

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

.project-overlay-content {
    color: #ffffff;
    text-align: center;
}

.project-overlay-content svg {
    margin: 0 auto 1rem;
}

.project-overlay-content p {
    font-size: 14px;
    opacity: 0.7;
}

.project-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    opacity: 0.05;
    font-weight: 300;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-number.large {
    font-size: 8rem;
}

.project-card:hover .project-number {
    opacity: 0.1;
}

.project-info {
    padding: 0;
}

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

.project-category {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
}

.project-index {
    font-size: 12px;
    color: #9ca3af;
}

.project-title {
    color: #111827;
    letter-spacing: -0.025em;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 20px;
}

.project-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 16px;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: #f9fafb;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-header {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(20px);
}

.about-header.visible {
    animation: fadeInUp 0.5s ease forwards;
}

.about-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.025em;
    font-weight: 400;
    margin-bottom: 1rem;
}

.about-line {
    width: 6rem;
    height: 1px;
    background: #111827;
}

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

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-text {
    opacity: 0;
    transform: translateY(20px);
}

.about-text.visible {
    animation: fadeInUp 0.5s ease forwards;
}

.about-intro {
    color: #111827;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-paragraph {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 16px;
}

.about-decorative-line {
    position: relative;
    padding-top: 3rem;
    margin-top: 3rem;
}

.about-decorative-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}

.about-skills {
    opacity: 0;
    transform: translateY(20px);
}

.about-skills.visible {
    animation: fadeInUp 0.5s ease 0.2s forwards;
}

.about-skills-section {
    margin-bottom: 3rem;
}

.about-skills-title {
    color: #111827;
    letter-spacing: -0.025em;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 18px;
}

.about-skills-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
    opacity: 0;
    transform: translateX(-20px);
}

.about-skill-item.visible {
    animation: fadeInLeft 0.3s ease forwards;
}

.about-skill-number {
    font-size: 12px;
    color: #9ca3af;
    width: 2rem;
}

.about-skill-name {
    font-size: 16px;
}

.about-info-box {
    border-left: 2px solid #111827;
    padding-left: 1.5rem;
}

.about-info-item {
    margin-bottom: 1.5rem;
}

.about-info-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.about-info-value {
    color: #111827;
    font-size: 16px;
}

/* Footer Section */
.footer {
    position: relative;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    overflow: hidden;
}

.footer-decorative-line {
    position: absolute;
    top: 0;
    right: 5rem;
    width: 1px;
    height: 100%;
    background: #e5e7eb;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(20px);
}

.footer-grid.visible {
    animation: fadeInUp 0.5s ease forwards;
}

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

.footer-title {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.025em;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.footer-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 28rem;
    font-size: 16px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    color: #111827;
    border-bottom: 2px solid #111827;
    padding-bottom: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.footer-link:hover {
    transform: translateX(4px);
}

.footer-link span {
    margin-left: 0.5rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #6b7280;
    text-decoration: none;
    letter-spacing: 0.025em;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.footer-social-link.visible {
    animation: fadeInLeft 0.3s ease forwards;
}

.footer-social-link:hover {
    color: #111827;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 14px;
    color: #6b7280;
    opacity: 0;
}

.footer-bottom.visible {
    animation: fadeIn 0.5s ease 0.2s forwards;
}

.highlight {
    background-color: rgb(255, 255, 62);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

body.mobile *:hover {
  transform: none !important;
  filter: none !important;
  transition: none !important;
}
