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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFFFF; 
    color: #000000; 
    overflow-x: hidden;
}

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

.hero-content {
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(80px, 15vw, 200px);
    font-weight: 400;
    letter-spacing: 15px;
    color: #FF8FB3;
    line-height: 0.85;
    margin: 0;
}

.hero-content .subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(18px, 3vw, 28px);
    letter-spacing: 8px;
    color: #FF8FB3;
    margin-top: 40px;
    font-weight: 400;
}

/* Sobre Mi Section */
.sobre-mi {
    background-color: #FFFFFF;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    max-width: 1600px;
    margin: 0 auto;
}

.sobre-mi-left {
    display: flex;
    flex-direction: column;
    background-color: #000000;
    padding: 40px;
    border-radius: 8px;
}

.sobre-mi-right {
    display: flex;
    align-items: flex-start;
}

/* Estilos del título SOBRE MI */
.sobre-mi-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
    position: relative;
}

.sobre-mi-title h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: #FF8FB3;
    letter-spacing: 4px;
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

.sobre-mi-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background-color: #FF8FB3;
    margin-left: 20px;
    margin-right: 20px;
}

.sobre-mi-title .star {
    font-size: 55px; 
    color: #FF8FB3;
    line-height: 1; 
    flex-shrink: 0;
}

.sobre-mi-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #FFFFFF;
    margin-bottom: 40px;
    font-weight: 300;
}

.profile-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    margin-bottom: 30px;
    display: block;
    align-self: center;
}

.habilidades h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: #FF8FB3;
    margin-bottom: 25px;
    letter-spacing: 3px;
    font-weight: 400;
}

.skills-icons {
    width: 100%;
    margin-bottom: 25px;
}

.skills-icons img {
    width: 100%;
    height: auto;
    display: block;
}

.skills-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.8;
    color: #FFFFFF;
    font-weight: 300;
}

/* Gallery Grid - RECTANGULAR HORIZONTAL */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    transition: opacity 0.4s ease;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #FFFFFF; 
    padding: 40px 60px;
    border-top: 1px solid #CCCCCC; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: #FF8FB3;
    font-weight: 400;
}

.footer-left a {
    color: #FF8FB3;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-left a:hover {
    opacity: 0.7;
}

.footer-right {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: #FF8FB3; 
    font-weight: 300;
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {
    .sobre-mi {
        grid-template-columns: 1fr;
        padding: 60px 30px;
        gap: 40px;
    }

    .sobre-mi-left {
        padding: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .profile-image {
        width: 85%;
        max-width: 320px;
    }

    .footer {
        padding: 30px 40px;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(60px, 12vw, 100px);
        letter-spacing: 8px;
    }

    .hero-content .subtitle {
        font-size: clamp(14px, 2.5vw, 20px);
        letter-spacing: 4px;
        margin-top: 25px;
    }

    .sobre-mi {
        padding: 40px 20px;
        gap: 30px;
    }

    .sobre-mi-left {
        padding: 25px 20px;
    }

    .sobre-mi-title h2 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .sobre-mi-title .star {
        font-size: 40px;
    }

    .sobre-mi-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .habilidades h3 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .skills-text {
        font-size: 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-text {
        font-size: 14px;
        padding: 15px;
    }

    .footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 30px 20px;
    }

    .footer-left {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .footer-right {
        font-size: 10px;
    }
    
    .profile-image {
        width: 90%;
        max-width: 280px;
    }
}

/* RESPONSIVE - SMALL MOBILE */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 50px;
        letter-spacing: 5px;
    }

    .hero-content .subtitle {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .sobre-mi {
        padding: 30px 15px;
    }

    .sobre-mi-left {
        padding: 20px 15px;
    }

    .sobre-mi-title h2 {
        font-size: 28px;
    }

    .sobre-mi-title .star {
        font-size: 32px;
    }

    .sobre-mi-text {
        font-size: 12px;
    }

    .habilidades h3 {
        font-size: 24px;
    }

    .skills-text {
        font-size: 11px;
    }

    .gallery-text {
        font-size: 12px;
    }

    .footer {
        padding: 25px 15px;
    }

    .footer-left {
        font-size: 10px;
        word-break: break-word;
    }
}
