/* Poppins Font Face Declarations */
@font-face {
    font-family: 'Poppins';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/poppins-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/poppins-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/poppins-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/poppins-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/poppins-700.woff2') format('woff2');
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    font-size: 18px;
}

main {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    /* margin-bottom: 0; */
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    font-weight: 300;
    color: #000;
}

/* Projects Section */
.projects {
    margin-bottom: 80px;
}

.projects h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 48px;
    border-bottom: 2px solid #000;
    padding-bottom: 12px;
}

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

.project-link {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 32px;
    border: 2px solid #000;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000;
    transition: left 0.3s ease;
    z-index: 1;
}

.project-link:hover::before {
    left: 0;
}

.project-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.project-link:hover .project-content {
    color: #fff;
    z-index: 2;
    position: relative;
}

.project-link:hover .project-name,
.project-link:hover .project-tagline,
.project-link:hover .project-arrow {
    color: #fff;
}

.project-content {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.project-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.project-link:hover .project-icon {
    transform: scale(1.1);
}

.project-text {
    flex: 1;
}

.project-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.project-tagline {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    opacity: 0.8;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.project-arrow {
    font-size: 28px;
    font-weight: 300;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.project-link:hover .project-arrow {
    transform: translateX(8px) scale(1.2);
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    border-bottom: 1px solid #000;
    padding-bottom: 8px;
    display: inline-block;
}

.contact p {
    font-size: 18px;
    color: #000;
}

.email-link {
    color: #fff;
    background: #000;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 40px 16px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .projects h2,
    .contact h2 {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .project-link {
        padding: 24px;
        border-radius: 6px;
    }

    .project-content {
        gap: 16px;
    }

    .project-icon {
        width: 40px;
        height: 40px;
    }

    .project-name {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .project-tagline {
        font-size: 14px;
    }

    .project-arrow {
        font-size: 24px;
    }

    .project-link:hover {
        transform: translateY(-2px);
    }
}
