/* Scrollbar styling for better UX */
* {
    /* Keep default scrollbar behavior */
}

/* Rólam oldal stílusai */
.cover-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    /* height: 100vh; */
    object-fit: cover;
    object-position: center top;
    /* filter: brightness(0.7); */
    z-index: 0;
    pointer-events: none;
    padding-top: 100px;
}

header, .about-section, #contact, footer {
    position: relative;
    z-index: 2;
}

.about-section {
    /* background: rgba(255,255,255,0.92); */
    backdrop-filter: blur(1px);
    border-radius: 0 0 30px 30px;
    /* box-shadow: 0 8px 32px rgba(0,0,0,0.08); */
    padding: 40px 0 80px;
    margin-top: 320px; /* nagyobb képernyőn a cover image alatt kezdődik */
    /* Pull up the section to overlap with the cover image */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.about-section h1 {
    padding-top: 40px;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.about-section .about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-image {
    position: sticky;
    top: 120px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.expectations {
    background-color: var(--secondary-color-1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.expectations h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expectations ul {
    list-style: none;
    padding-left: 0;
}

.expectations ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    text-align: left;
}

.expectations ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.motto {
    background-color: var(--secondary-color-2);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.motto h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.motto blockquote {
    font-size: 1.3rem;
    color: var(--text-color);
    margin: 0;
}

.about-section a[href*='linkedin'] {
    color: #815494 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    transition: color 0.2s !important;
}

.about-section a[href*='linkedin']:hover {
    color: #9983a3 !important;
    text-decoration: underline !important;
}

body {
    background: none !important;
}

/* Rólam oldal reszponzív stílusok */
@media (max-width: 1200px) {


    .about-section .about-content {
        gap: 3rem;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .about-section {
        margin-top: 220px;
    }


    .about-section .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }

    .profile-image {
        position: static;
        max-width: 250px;
        margin: 0 auto 2rem;
    }

    .about-text h2 {
        text-align: center;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        margin-top: 140px;
    }



    .about-section h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-section .about-content {
        padding: 0 15px;
    }

    .profile-image {
        max-width: 200px;
    }

    .about-text {
        font-size: 1rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .motto blockquote {
        font-size: 1.1rem;
    }

    .expectations,
    .motto {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .about-section {
        margin-top: 90px;
    }


    .about-section .about-content {
        padding: 0 12px;
        gap: 1.5rem;
    }

    .profile-image {
        max-width: 180px;
    }

    .about-text {
        font-size: 0.95rem;
    }

    .about-text h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .expectations,
    .motto {
        padding: 1.2rem;
        margin: 1.2rem 0;
        border-radius: 10px;
    }

    .expectations h3,
    .motto h3 {
        font-size: 1.1rem;
    }

    .motto blockquote {
        font-size: 1rem;
    }

    .expectations ul li {
        margin-bottom: 0.6rem;
        padding-left: 1.2rem;
    }
}

@media (max-width: 360px) {


    .about-section .about-content {
        padding: 0 10px;
    }

    .profile-image {
        max-width: 150px;
    }

    .about-text {
        font-size: 0.9rem;
    }

    .expectations,
    .motto {
        padding: 1rem;
        margin: 1rem 0;
    }
}
