:root {
    --color-black: #1d1c1c;
    --color-white: #ffffff;
    --color-gray-light: #f8f9fa;
    --color-gray-medium: #6c757d;
    --gradient-primary: linear-gradient(135deg, #1d1c1c 0%, #2c2c2c 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.15);
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Lora', serif;
    --font-script: 'Great Vibes', cursive;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-gray-light);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

/* Sección principal con layout adaptable */
.main-about-section {
    margin-bottom: 6rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Columna de imagen */
.image-column {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-image {
    width: 100%;
    max-width: 456px;
    height: 668px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
}

/* Caja de texto principal superpuesta */
.text-overlay-main {
    position: absolute;
    right: -60px;
    bottom: -40px;
    background: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: 5px;
    box-shadow: var(--shadow-soft);
    max-width: 300px;
    border-left: 4px solid var(--color-black);
    z-index: 10;
}

.text-overlay-main h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.text-overlay-main .quote {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-black);
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

/* Columna de contenido */
.content-column {
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.profession-subtitle {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.about-texto {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.sparkle-decoration {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
    color: var(--color-black);
    opacity: 0.6;
}

/* Cards informativas */
.info-cards {
    margin-top: 4rem;
}

.card-custom {
    background: var(--color-white);
    border: 1px solid rgba(29, 28, 28, 0.1);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-black);
}

.card-custom-content {
    text-align: center;
    width: 100%;
}

.card-custom h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-custom h3 i {
    font-size: 2.2rem;
    color: var(--color-black);
    animation: float 3s ease-in-out infinite;
}

.card-custom p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-black);
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

/* Card especial para transformación */
.transformation-card {
    background: var(--gradient-primary);
    border: 2px solid var(--color-black);
    min-height: 300px;
}

.transformation-card h3 {
    font-size: 2rem;
    color: var(--color-white);
}

.transformation-card h3 i {
    color: var(--color-white);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.transformation-card p {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 600;
    color: var(--color-white);
}

/* Decoraciones */
.star-decoration {
    position: absolute;
    color: var(--color-black);
    opacity: 0.3;
    font-size: 1.5rem;
    z-index: 1;
}

.star-1 {
    top: 10%;
    right: 20%;
}

.star-2 {
    bottom: 15%;
    left: 10%;
}

.star-3 {
    top: 60%;
    right: 5%;
}

/* Animaciones */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) rotate(3deg);
    }

    66% {
        transform: translateY(8px) rotate(-3deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.content-column .show-about-me {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets grandes y laptops pequeñas */
@media (max-width: 1200px) {
    .about-container {
        padding: 3rem 1.5rem;
    }

    .about-layout {
        gap: 3rem;
    }

    .profile-image {
        max-width: 320px;
        height: 400px;
    }

    .text-overlay-main {
        right: -40px;
        bottom: -30px;
        max-width: 280px;
        padding: 1.3rem 1.8rem;
    }

    .section-title {
        font-size: 2.7rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .about-container {
        padding: 2.5rem 1.5rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .image-column {
        order: 1;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .content-column {
        order: 2;
        padding-left: 0;
        max-width: 100%;
    }

    .profile-image {
        max-width: 350px;
        height: 420px;
    }


    /* Reposicionar overlay en tablets */
    .text-overlay-main {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 2rem auto 0;
        max-width: 400px;
        transform: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-texto {
        text-align: center;
    }
}

/* Móviles pequeños */
@media (max-width: 768px) {
    .about-container {
        padding: 1.5rem 0.8rem;
    }

    .about-layout {
        gap: 1.5rem;
    }

    .profile-image {
        max-width: 280px;
        height: 350px;
    }

    .content-column .show-about-me {
        display: block;
    }

    .image-column .text-overlay-main,
    .content-column .section-title {
        display: none;
    }

    .highlight-name {
        /* o el color que prefieras */
        font-size: 1.1em;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .text-overlay-main {
        padding: 1.2rem 1.5rem;
        max-width: 320px;
        margin: 1rem auto 0;
    }

    .text-overlay-main h3 {
        font-size: 1.4rem;
    }

    .text-overlay-main .quote {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 0.8rem;
    }

    .profession-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    .about-texto {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .sparkle-decoration {
        font-size: 1.5rem;
        margin: 1.5rem 0;
    }

    .card-custom {
        padding: 1.8rem 1.2rem;
        min-height: 220px;
        margin-bottom: 1.5rem;
    }

    .card-custom h3 {
        font-size: 1.4rem;
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }

    .card-custom h3 i {
        font-size: 1.8rem;
    }

    .card-custom p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .transformation-card {
        min-height: 250px;
    }

    .transformation-card h3 {
        font-size: 1.5rem;
    }

    .transformation-card p {
        font-size: 1rem;
    }

    .info-cards {
        margin-top: 2.5rem;
    }
}

/* Móviles muy pequeños */
@media (max-width: 576px) {
    .about-container {
        padding: 1rem 0.5rem;
    }

    .profile-image {
        max-width: 353px;
        height: 553px;
    }

    .content-column .show-about-me {
        display: block;
    }

    .image-column .text-overlay-main,
    .content-column .section-title {
        display: none;
    }

    .highlight-name {
        /* o el color que prefieras */
        font-size: 1.1em;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }


    /* Overlay mínimamente superpuesto en móviles muy pequeños */
    .text-overlay-main {
        position: absolute;
        right: 10%;
        bottom: -57px;
        padding: 0.9rem 1.1rem;
        max-width: 220px;
        margin: 0;
    }

    .text-overlay-main h3 {
        font-size: 1.2rem;
    }

    .text-overlay-main .quote {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.7rem;
        margin-top: 1.5rem;
    }

    .card-custom {
        padding: 1.5rem 1rem;
        min-height: 200px;
    }

    .card-custom h3 {
        font-size: 1.3rem;
    }

    .card-custom p {
        font-size: 0.9rem;
    }
}

/* Ajustes para orientación landscape en móviles */
@media (max-height: 400px) and (orientation: landscape) {
    .about-container {
        padding: 1rem;
    }

    .profile-image {
        height: 300px;
    }

    .content-column .show-about-me,
    .image-column .text-overlay-main {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .profession-subtitle {
        margin-bottom: 1rem;
    }

    .about-texto {
        margin-bottom: 0.8rem;
    }

    .card-custom {
        min-height: 180px;
        padding: 1.5rem;
    }
}