/* Hogyan zajlik egy kezelés - Animált komponens CSS */


.step-container {
    width: 50%;
    border: 1px solid #D5D5D5;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.20) 0%, #FFF 48.22%);
    padding: 4rem 4rem 6rem 4rem;
    margin-bottom: 30px;
    transition: all 0.6s ease-in-out;
    position: relative;
    overflow: hidden;
}

.step-container.expanded {
    width: 100%;
}

.step-content {
    text-align: left;
    transition: all 0.6s ease-in-out;
}

.step-container.expanded .step-content {
    text-align: center;
}

.step-icon {
    width: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.step-icon img,
.step-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.column-icon img,
.column-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-container.expanded .step-icon {
    margin-left: auto;
    margin-right: auto;
}

.step-container h3 {
    color: #464648;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 16px;
}

.step-description {
    color: #464648;
    margin-top: 16px;
}

.step-container.expanded .step-description {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

#step2,
#step4 {
    margin-left: auto;
    margin-right: 0;
}

#step1 {
    position: relative;
}

.toggle-link {
    color: #AE7DB2;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.toggle-link:hover {
    color: #8E5D92;
}

.detailed-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease-in-out 0.6s, opacity 0.6s ease-in-out 0.6s, margin-top 0.6s ease-in-out 0.6s;
    margin-top: 0;
}

.detailed-content .button {
    margin-top: 1rem;
}

.step-container.expanded .detailed-content {
    max-height: 2000px;
    opacity: 1;
    margin-top: 4rem;
}

.close-button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #AE7DB2;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    line-height: 1;
    font-size: 2rem;
}

.step-container.expanded .close-button {
    display: flex;
}

.close-button:hover {
    background: #8E5D92;
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #D5D5D5;
}

@media (max-width: 1420px) {
    .three-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .step-container {
        width: 100%;
    }

    .three-columns {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    .step-container.expanded .detailed-content {
        margin-top: 2rem;
    }

    .step-container {
        width: 100%;
        padding: 2rem 2rem;
    }
    .step-container .expanded{
        width: 100%;
        padding: 2rem 2rem 5rem 2rem;
    }
    .booking-button {
        width: 100%;
    }

    .close-button{
        bottom: 35px;
    }

    .step-container.expanded .step-icon,
    .detailed-content .button {
        margin: 0;
    }

    .step-container.expanded .step-content {
        text-align: left;
    }

    .step-container.expanded .step-description {
        width: 100%;
    }
}

@media only screen and (max-width: 682px) {}

.column {
    text-align: left;
}

.column-icon {
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
}

.column p:first-of-type {
    font-weight: 700;
    line-height: normal;
    margin-bottom: 16px;
}

.column ul {
    list-style: none;
    padding-left: 0;
}

.column li {
    padding-left: 20px;
    position: relative;
}

.column li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #AE7DB2;
    font-weight: bold;
}

.booking-button {
    width: 372px;
    max-width: 100%;
    height: 54px;
    border: 1px solid #D8C6F5;
    background: #F1E8FF;
    color: #464648;
    line-height: normal;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 16px;
    transition: background 0.3s ease;
    border-radius: 4px;
}

.booking-button:hover {
    background: #E5D4F7;
}

.cancellation-policy {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-top: 2rem;
}

.policy-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1rem;
}

.policy-content p:first-child {
    font-weight: 700;
    margin-bottom: 12px;
}

.policy-content p {
    color: #464648;
    line-height: 1.5;
    margin-bottom: 12px;
}

.policy-content a {
    color: #AE7DB2;
    font-weight: 700;
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

@media (max-width: 542px) {
    .cancellation-policy {
        flex-direction: column;
        align-items: flex-start;
    }


    .policy-content p,
    .policy-content a {
        text-align: left;
    }
}
@media (max-width: 542px){
    .step-container.expanded{
        padding: 2rem 1.5rem 5rem 1.5rem;
    }
}