/* About Block Styles */

.section-about {
    padding: 6rem 0;
    overflow: hidden;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 6rem;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image-col {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.about-image-wrapper {
    position: relative;
    display: inline-block;
    z-index: 2;
}

/* Background Card Effect */
.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--color-secondary);
    border-radius: 30px;
    transform: rotate(5deg);
    z-index: -1;
    background-color: transparent;
    pointer-events: none;
}

.about-image {
    max-width: 320px;
    width: 100%;
    border-radius: 20px;
    transform: rotate(-3deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: block;
}

.about-placeholder {
    width: 320px;
    height: 420px;
    background-color: #eee;
    border-radius: 20px;
    transform: rotate(-3deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.about-content-col {
    flex: 1;
    max-width: 500px;
    text-align: left;
}

.about-subtitle {
    font-family: 'Satisfy', 'Dancing Script', cursive;
    color: var(--color-secondary);
    font-size: 3rem;
    margin-bottom: 0.2rem;
    line-height: 1;
    display: block;
    text-transform: none;
    font-weight: 400;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-weight: 500;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-family: var(--font-body);
}

.about-btn {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.about-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* LAYOUT VARIANTS */

/* Inverted (Image Right) */
.about-layout-inverted .about-grid {
    flex-direction: row-reverse;
}

/* Modern (Centered) */
.about-layout-modern .about-grid {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
}

.about-layout-modern .about-content-col {
    text-align: center;
    max-width: 800px;
    padding: 0;
}

.about-layout-modern .about-image-wrapper {
    margin: 0 auto;
}



/* Classic Round */
.about-layout-classic_round .about-image {
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.about-layout-classic_round .about-image-wrapper {
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .section-about {
        padding: 4rem 0;
    }

    .about-grid,
    .about-layout-inverted .about-grid {
        /* Force column on mobile even for inverted */
        flex-direction: column;
        gap: 3rem;
    }

    .about-content-col {
        text-align: center;
        padding: 0 1rem;
    }

    .about-image {
        max-width: 280px;
    }

    .about-subtitle {
        font-size: 2.5rem;
    }

    .about-title {
        font-size: 2.5rem;
    }
}