/* =========================================================
   KEZDŐLAP
   ========================================================= */

main {
    background: #f4f6f6;
}

.home-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   KÖZÖS
   ========================================================= */

.section-label {
    display: block;

    margin-bottom: 0.7rem;

    color: #0f766e;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
}


/* =========================================================
   ÜDVÖZLÉS
   ========================================================= */

.welcome-section {
    padding: 3rem 2rem 2rem;

    background: #f4f6f6;
}

.welcome-content {
    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}

.welcome-content h2 {
    margin-bottom: 1.4rem;

    color: #222;

    font-size: 2.25rem;
    line-height: 1.3;
    font-weight: 600;
}

.welcome-content p {
    max-width: 800px;

    margin: 0 auto 1rem;

    color: #666;

    font-size: 0.95rem;
    line-height: 1.8;
}

.welcome-content .welcome-lead {
    color: #555;

    font-size: 1.05rem;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    margin-top: 1.1rem;

    color: #0f766e;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;

    transition: gap 0.2s ease;
}

.home-text-link:hover {
    gap: 0.8rem;
}


/* =========================================================
   SZOLGÁLTATÁSOK
   ========================================================= */

.home-services {
    padding: 3rem 2rem;

    background: #ffffff;
}

.home-section-header {
    max-width: 700px;

    margin: 0 auto 2.8rem;

    text-align: center;
}

.home-section-header h2 {
    margin-bottom: 0.8rem;

    color: #222;

    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
}

.home-section-header p {
    color: #666;

    line-height: 1.7;
}


/* ===== Kártyák ===== */

.services-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1rem;
}

.service-card {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 1.2rem;

    padding: 1.7rem;

    color: inherit;
    background: #f9fafa;

    border: 1px solid #e3e8e7;
    border-radius: 15px;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    background: #ffffff;

    border-color: rgba(15, 118, 110, 0.25);

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);

    transform: translateY(-3px);
}

.service-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);

    border-radius: 50%;
}

.service-content {
    padding-right: 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;

    color: #292929;

    font-size: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;

    font-size: 0.86rem;
    line-height: 1.65;
}

.service-arrow {
    position: absolute;

    right: 1.3rem;
    bottom: 1.3rem;

    color: #0f766e;

    opacity: 0;

    transform: translateX(-5px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;

    transform: translateX(0);
}


/* ===== Gomb ===== */

.home-section-action {
    display: flex;
    justify-content: center;

    margin-top: 2rem;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    padding: 0.7rem 1.1rem;

    color: #0f766e;
    background: transparent;

    border: 1px solid rgba(15, 118, 110, 0.3);
    border-radius: 25px;

    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 500;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.outline-button:hover {
    color: #ffffff;
    background: #0f766e;

    transform: translateY(-2px);
}


/* =========================================================
   RENDELŐ
   ========================================================= */

.home-gallery {
    padding: 3rem 2rem;

    background: #f4f6f6;
}

.gallery-heading {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: end;

    gap: 3rem;

    margin-bottom: 2rem;
}

.gallery-heading h2 {
    color: #222;

    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
}

.gallery-heading p {
    max-width: 500px;

    color: #666;

    line-height: 1.75;
}


/* ===== Galéria ===== */

.gallery-container {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 16px;
}

.gallery-image {
    display: none;

    width: 100%;
    height: 520px;

    object-fit: cover;

    border-radius: 16px;

    cursor: zoom-in;

    user-select: none;
}

.gallery-image.visible {
    display: block;
}


/* ===== Galéria gombok ===== */

.gallery-controls {
    display: flex;
    justify-content: center;

    gap: 0.7rem;

    margin-top: 1rem;
}

.gallery-controls button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0.6rem 1rem;

    color: #0f766e;
    background: #ffffff;

    border: 1px solid rgba(15, 118, 110, 0.25);
    border-radius: 25px;

    font-family: inherit;
    font-size: 0.8rem;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.gallery-controls button:hover {
    color: #ffffff;
    background: #0f766e;

    transform: translateY(-2px);
}


/* =========================================================
   KAPCSOLAT
   ========================================================= */

.home-contact {
    padding: 3rem 2rem;
}

.home-contact-layout {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3e8e7;
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.home-contact-text {
    padding: 3rem;
}

.home-contact-text h2 {
    margin-bottom: 1rem;

    color: #222;

    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
}

.home-contact-text > p {
    max-width: 480px;

    color: #666;

    line-height: 1.75;
}


/* ===== Telefon ===== */

.home-phone {
    display: flex;
    align-items: center;

    gap: 0.8rem;

    margin-top: 1.8rem;

    color: inherit;

    text-decoration: none;
}

.home-phone-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);

    border-radius: 50%;
}

.home-phone > span:last-child {
    display: flex;
    flex-direction: column;
}

.home-phone small,
.home-address small {
    margin-bottom: 0.2rem;

    color: #0f766e;

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-phone strong {
    color: #333;

    font-size: 0.95rem;
    font-weight: 600;
}


/* ===== Cím ===== */

.home-address {
    display: flex;
    align-items: flex-start;

    gap: 0.8rem;

    margin-top: 1rem;
}

.home-address > 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%;
}

.home-address > div {
    display: flex;
    flex-direction: column;
}

.home-address strong {
    color: #333;

    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}


/* ===== Időpontfoglalás ===== */

.home-primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    margin-top: 2rem;

    padding: 0.8rem 1.2rem;

    color: #ffffff;
    background: #0f766e;

    border-radius: 25px;

    text-decoration: none;

    font-size: 0.8rem;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.home-primary-button:hover {
    background: #0b625c;

    transform: translateY(-2px);
}


/* ===== Térkép ===== */

.home-map {
    min-height: 450px;
}

.home-map iframe {
    display: block;

    width: 100%;
    height: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .welcome-section,
    .home-services,
    .home-gallery,
    .home-contact {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .gallery-heading {
        grid-template-columns: 1fr;

        gap: 1rem;
    }

    .home-contact-layout {
        grid-template-columns: 1fr;
    }

    .home-map {
        min-height: 350px;
    }
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 700px) {

    .welcome-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .welcome-content h2 {
        font-size: 1.7rem;
    }

    .welcome-content .welcome-lead {
        font-size: 0.95rem;
    }

    .welcome-content p {
        font-size: 0.88rem;
    }


    .home-services,
    .home-gallery,
    .home-contact {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }


    .home-section-header h2,
    .gallery-heading h2,
    .home-contact-text h2 {
        font-size: 1.65rem;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        padding: 1.3rem;
    }

    .service-arrow {
        display: none;
    }


    .gallery-image {
        height: 350px;
    }


    .home-contact-text {
        padding: 1.7rem;
    }


    .home-primary-button {
        width: 100%;

        justify-content: center;

        text-align: center;
    }


    .home-map {
        min-height: 300px;
    }
}


/* =========================================================
   KIS MOBIL
   ========================================================= */

@media (max-width: 450px) {

    .welcome-section,
    .home-services,
    .home-gallery,
    .home-contact {
        padding-left: 1rem;
        padding-right: 1rem;
    }


    .welcome-content h2 {
        font-size: 1.5rem;
    }


    .home-section-header h2,
    .gallery-heading h2,
    .home-contact-text h2 {
        font-size: 1.45rem;
    }


    .service-card {
        gap: 0.8rem;
    }


    .service-icon {
        width: 42px;
        height: 42px;

        font-size: 0.9rem;
    }


    .service-card h3 {
        font-size: 0.92rem;
    }


    .service-card p {
        font-size: 0.8rem;
    }


    .gallery-image {
        height: 270px;
    }


    .home-map {
        min-height: 270px;
    }
}

/* =========================================================
   RENDELŐ / GALÉRIA
   ========================================================= */

.home-gallery {
    padding: 5rem 2rem;
    background: #f4f6f6;
}

.gallery-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.45fr;
    align-items: center;
    gap: 4rem;
}


/* ===== Galéria ===== */

.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-image {
    display: none;

    width: 100%;
    height: 520px;

    object-fit: cover;
    border-radius: 16px;

    cursor: zoom-in;
    user-select: none;
}

.gallery-image.visible {
    display: block;
}


/* ===== Szöveg ===== */

.gallery-content {
    padding-right: 1rem;
}

.gallery-content h2 {
    margin-bottom: 1.3rem;

    color: #222;

    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
}

.gallery-content p {
    margin-bottom: 1rem;

    color: #666;

    font-size: 0.92rem;
    line-height: 1.8;
}

.gallery-content .home-text-link {
    margin-top: 0.7rem;
}


/* ===== Galéria vezérlők ===== */

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 0.7rem;

    margin-top: 1rem;
}

.gallery-controls button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0.6rem 1rem;

    color: #0f766e;
    background: #ffffff;

    border: 1px solid rgba(15, 118, 110, 0.25);
    border-radius: 25px;

    font-family: inherit;
    font-size: 0.8rem;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.gallery-controls button:hover {
    color: #ffffff;
    background: #0f766e;
    transform: translateY(-2px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .gallery-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-content {
        padding-right: 0;
        max-width: 750px;
    }

    .gallery-content h2 {
        font-size: 1.8rem;
    }

    .gallery-image {
        height: 450px;
    }
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 700px) {

    .home-gallery {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .gallery-layout {
        gap: 1.8rem;
    }

    .gallery-content h2 {
        font-size: 1.65rem;
    }

    .gallery-content p {
        font-size: 0.88rem;
    }

    .gallery-image {
        height: 350px;
    }
}


/* =========================================================
   KIS MOBIL
   ========================================================= */

@media (max-width: 450px) {

    .gallery-content h2 {
        font-size: 1.45rem;
    }

    .gallery-image {
        height: 270px;
    }
}