.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
    text-align: center;
    overflow: hidden;
    background: var(--dark);
    margin-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5)
    );
    z-index: -1;
}

.glowing-text {
    font-size: 4rem;
    margin-bottom: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.letter {
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.letter::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    filter: blur(25px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.letter:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.letter:hover::before {
    opacity: 0.5;
}

.letter:nth-child(11) {
    margin-right: 0.5em;
}

.subtitle, .role {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

.subtitle {
    animation-delay: 0.3s;
}

.role {
    animation-delay: 0.6s;
}

/* Projects Section */
.projects {
    padding: 4rem 4rem 2rem;
    background: var(--dark);
    color: var(--light);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light);
}

.project-category {
    margin-bottom: 2rem;
    opacity: 1;
    visibility: visible;
    display: block !important;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-header h3 {
    font-size: 2rem;
    color: var(--light);
}

.see-more {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    display: block !important;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    will-change: transform;
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

/* Project Card Styles */
.project-card {
    min-width: 240px;
    width: 240px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    width: 50%;
    position: relative;
}

.project-info h4 {
    font-size: 0.85rem;
    margin: 0;
    color: var(--light);
}

.project-info p {
    font-size: 0.75rem;
    margin: 0.25rem 0;
    line-height: 1.2;
    flex-grow: 1;
}

.take-look {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: absolute;
    bottom: 0.75rem;
}

.take-look .arrow {
    transition: transform 0.3s ease;
}

.take-look:hover .arrow {
    transform: translateX(3px);
}

.project-image {
    width: 50%;
    height: 100px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image a img {
    transform: scale(1.05);
}

/* Skills Section */
.skills {
    padding: 2rem 4rem 4rem;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dots-bg {
    position: absolute;
    top: 80px;
    right: 50px;
    width: 40%;
    height: 70%;
    background-size: 20px 20px;
    opacity: 0.7;
    z-index: 1;
}

.skills .section-title {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.skills-list {
    list-style: none;
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
}

.skills-list li {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    opacity: 1;
    transform: none;
    color: var(--light);
}

.skills-list li::before {
    content: '•';
    color: var(--primary);
    font-size: 2rem;
    margin-right: 1rem;
}

.skills.visible .skills-list li {
    animation: slideUpFade 0.5s forwards;
}

.skills-list li:nth-child(1) { animation-delay: 0.1s; }
.skills-list li:nth-child(2) { animation-delay: 0.2s; }
.skills-list li:nth-child(3) { animation-delay: 0.3s; }
.skills-list li:nth-child(4) { animation-delay: 0.4s; }
.skills-list li:nth-child(5) { animation-delay: 0.5s; }

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    .hero {
        min-height: 40vh;
        padding: 2rem;
        margin-top: 60px;
    }

    .glowing-text {
        min-width: 400px;
        display: flex;
        flex-direction: column;
        gap: 0;
        font-size: 2rem;
        line-height: 1.2;
    }

    .name-line {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 2.2rem;
    }

    .name-line + .name-line {
        margin-top: 0.5rem;
    }

    .letter {
        display: inline;
    }

    .letter:nth-child(11) {
        margin-right: 0;
    }

    .projects {
        padding: 2rem;
    }

    .category-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .category-header h3 {
        font-size: 1.5rem;
    }

    .see-more {
        font-size: 0.9rem;
    }

    .carousel-container {
        overflow-x: auto;
        padding: 0.5rem 0;
    }

    .carousel-track {
        gap: 1rem;
        padding: 0 2rem;
    }

    .project-card {
        min-width: 280px;
        width: 280px;
        height: 140px;
    }

    .project-info {
        padding: 1rem;
        width: 60%;
    }

    .project-image {
        width: 40%;
        height: 140px;
    }

    .project-info h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .project-info p {
        font-size: 0.85rem;
        margin: 0 0 1.5rem 0;
    }

    .take-look {
        font-size: 0.9rem;
        bottom: 1rem;
    }

    .skills {
        padding: 2rem;
        margin-top: 0;
    }

    .dots-bg {
        display: none;
    }

    .skills-list li {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .glowing-text {
        min-width: 400px;
        font-size: 1.8rem;
        gap: 0.3rem;
    }

    .subtitle, .role {
        font-size: 1rem;
    }

    .project-card {
        min-width: 260px;
        width: 260px;
    }
} 