/* ===== Kapcsolat oldal ===== */

.contact-page {
    min-height: auto;
    padding: 4rem 2rem 5rem;
    background: #f4f6f6;
}


/* ===== Fejléc ===== */

.contact-header {
    max-width: 750px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 0.7rem;

    color: #0f766e;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.contact-header h1 {
    margin-bottom: 1rem;

    color: #222;
    font-size: 2.2rem;
    font-weight: 600;
}

.contact-header p {
    color: #666;
    line-height: 1.7;
}


/* ===== Időpontfoglalás ===== */

.contact-card {
    max-width: 900px;
    margin: 0 auto 4rem;

    display: flex;
    align-items: flex-start;
    gap: 1.5rem;

    padding: 2rem;

    background: #fff;
    border: 1px solid #e3e8e7;
    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.contact-card-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #0f766e;
    background: rgba(15, 118, 110, 0.09);
    border-radius: 50%;

    font-size: 1.1rem;
}

.contact-card-content {
    flex: 1;
}

.contact-card-label {
    display: block;
    margin-bottom: 0.4rem;

    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.contact-card h2 {
    margin-bottom: 0.7rem;

    color: #222;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-card p {
    max-width: 700px;
    margin-bottom: 1.2rem;

    color: #666;
    line-height: 1.65;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    padding: 0.75rem 1.1rem;

    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);
    border-radius: 25px;

    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.contact-phone:hover {
    background: rgba(15, 118, 110, 0.14);
    transform: translateY(-2px);
}

.contact-note {
    display: block;
    margin-top: 0.8rem;

    color: #777;
    font-size: 0.8rem;
}


/* ===== Szekció ===== */

.contact-section {
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.contact-section-heading {
    margin-bottom: 1.5rem;
}

.contact-section-heading h2 {
    color: #222;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-section-heading p {
    max-width: 700px;
    margin-top: 0.6rem;

    color: #666;
    line-height: 1.6;
}


/* ===== Cím ===== */

.address-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;

    background: #fff;
    border: 1px solid #e3e8e7;
    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.address-content {
    padding: 2rem;
}

.address-main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;

    margin-bottom: 1.5rem;
}

.address-main > i {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);
    border-radius: 50%;
}

.address-label {
    display: block;
    margin-bottom: 0.3rem;

    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.3px;
}

.address-main strong {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.address-content > p {
    margin-bottom: 1.5rem;

    color: #666;
    line-height: 1.65;
}


/* ===== Tömegközlekedés ===== */

.transport-info {
    padding: 1.2rem;

    background: rgba(15, 118, 110, 0.05);
    border-left: 3px solid #0f766e;
    border-radius: 7px;
}

.transport-info h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;

    margin-bottom: 0.5rem;

    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

.transport-info h3 i {
    color: #0f766e;
}

.transport-info p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}


/* ===== Térkép linkek ===== */

.map-links {
    display: flex;
    gap: 0.7rem;

    margin-top: 1.5rem;
}

.map-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    padding: 0.6rem 0.9rem;

    color: #0f766e;
    border: 1px solid rgba(15, 118, 110, 0.25);
    border-radius: 20px;

    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.map-links a:hover {
    color: white;
    background: #0f766e;
}


/* ===== Képek ===== */

.contact-image-wrapper {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.contact-image {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 350px;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.contact-image-wrapper:hover .contact-image {
    transform: scale(1.03);
}

.image-hint {
    position: absolute;
    left: 1rem;
    bottom: 1rem;

    display: flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0.5rem 0.8rem;

    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;

    font-size: 0.75rem;

    pointer-events: none;
}


/* ===== Térkép ===== */

.map-card {
    overflow: hidden;

    background: white;
    border: 1px solid #e3e8e7;
    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.map-card iframe {
    display: block;
}


/* ===== Utcakép ===== */

.street-card {
    overflow: hidden;

    background: white;
    border: 1px solid #e3e8e7;
    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.street-card .contact-image {
    height: 500px;
}


/* ===== Kép modal ===== */

.image-modal {
    display: none;

    position: fixed;
    z-index: 2000;

    inset: 0;

    align-items: center;
    justify-content: center;

    padding: 2rem;

    background: rgba(0, 0, 0, 0.85);
}

.image-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;

    object-fit: contain;

    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;

    color: white;
    font-size: 2.5rem;
    line-height: 1;

    cursor: pointer;

    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #0f766e;
}


/* ===== Mobil ===== */

@media (max-width: 800px) {

    .contact-page {
        padding: 3rem 1rem 4rem;
    }

    .contact-header {
        margin-bottom: 2.5rem;
    }

    .contact-header h1 {
        font-size: 1.8rem;
    }

    .contact-header p {
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 1.4rem;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .contact-card-icon {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }

    .contact-card h2 {
        font-size: 1.1rem;
    }

    .contact-card p {
        font-size: 0.85rem;
    }

    .contact-phone {
        font-size: 0.9rem;
    }

    .contact-section {
        margin-bottom: 3rem;
    }

    .address-card {
        grid-template-columns: 1fr;
    }

    .address-content {
        padding: 1.4rem;
    }

    .contact-image {
        min-height: 280px;
        height: 280px;
    }

    .street-card .contact-image {
        height: 350px;
    }

    .map-card iframe {
        height: 320px;
    }

    .map-links {
        flex-wrap: wrap;
    }
}


/* ===== Kis mobil ===== */

@media (max-width: 500px) {

    .contact-card {
        flex-direction: column;
    }

    .contact-card-icon {
        margin-bottom: 0.2rem;
    }

    .contact-phone {
        width: 100%;
        justify-content: center;
    }

    .address-main {
        gap: 0.8rem;
    }

    .address-main strong {
        font-size: 0.9rem;
    }

    .map-links {
        flex-direction: column;
    }

    .map-links a {
        justify-content: center;
    }

    .image-hint {
        font-size: 0.7rem;
    }
}