/* Ana sayfa — header/footer arası tam ekran orta alan */

.yesilay-main:has(.home-page) {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.home-page {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 2.5vh, 1.75rem) var(--page-padding-x, 1.5rem);
    background-color: var(--yesilay-green-dark, #002d1b);
    background-image: url("/images/arkaplan-bg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow-x: clip;
    overflow-y: auto;
    box-sizing: border-box;
}

/* arkaplan-bg + bisiklet-turu ile uyumlu koyu yeşil filtre */
.home-page__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 45, 27, 0.88) 0%,
            rgba(0, 130, 50, 0.72) 50%,
            rgba(0, 45, 27, 0.92) 100%
        ),
        rgba(0, 30, 18, 0.62);
    pointer-events: none;
}

.home-page__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--content-max, 1100px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.75rem, 4vh, 3rem);
}

.home-page__header {
    text-align: center;
    width: 100%;
}

.home-page__title {
    margin: 0 0 clamp(0.85rem, 2vh, 1.25rem);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--yesilay-white, #fff);
    letter-spacing: 0.06em;
}

.home-page__desc {
    margin: 0 auto;
    max-width: 52rem;
    font-size: clamp(0.875rem, 2.2vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.home-features {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.home-feature {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: clamp(0.65rem, 1.5vw, 1rem);
    min-width: 0;
    padding: 0 clamp(0.65rem, 1.8vw, 1.35rem);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.home-feature:last-child {
    border-right: none;
}

.home-feature__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(52px, 7vw, 64px);
    height: clamp(52px, 7vw, 64px);
    background: var(--yesilay-green-bright, #00b140);
    border: none;
    border-radius: 50%;
    color: var(--yesilay-white, #fff);
    box-shadow: none;
}

.home-feature__icon svg {
    width: clamp(22px, 3vw, 26px);
    height: clamp(22px, 3vw, 26px);
}

.home-feature__text {
    min-width: 0;
}

.home-feature__title {
    display: block;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--yesilay-white, #fff);
    margin-bottom: 0.25rem;
}

.home-feature__desc {
    margin: 0;
    font-size: clamp(0.72rem, 1.4vw, 0.82rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
}

.home-info__inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: clamp(1.25rem, 3.5vh, 2.25rem);
    padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1.25rem, 3vw, 2rem);
    background: rgba(0, 35, 20, 0.55);
    border: 1px solid rgba(0, 182, 80, 0.35);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.home-info__item {
    flex: 1 1 50%;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    padding: 0 clamp(0.5rem, 2vw, 1.25rem);
}

.home-info__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--yesilay-white, #fff);
}

.home-info__icon svg {
    width: 24px;
    height: 24px;
}

.home-info__title {
    display: block;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 700;
    color: var(--yesilay-white, #fff);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.home-info__desc {
    margin: 0;
    font-size: clamp(0.78rem, 1.8vw, 0.88rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.home-info__divider {
    flex-shrink: 0;
    width: 1px;
    align-self: stretch;
    min-height: 3rem;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 0.25rem;
}

@media (max-width: 1023px) {
    .home-features {
        flex-wrap: wrap;
        row-gap: 1.5rem;
    }

    .home-feature {
        flex: 1 1 calc(50% - 1px);
        border-right: none;
        padding: 0 1rem;
    }

    .home-feature:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }

    .home-feature:nth-child(1),
    .home-feature:nth-child(2) {
        padding-bottom: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 767px) {
    .home-page {
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: clamp(1rem, 2.5vh, 1.5rem);
    }

    .home-page__inner {
        gap: clamp(1.5rem, 4vh, 2.5rem);
    }

    .home-info__inner {
        flex-direction: column;
        gap: 1.25rem;
    }

    .home-info__divider {
        width: 100%;
        height: 1px;
        min-height: 0;
        margin: 0;
    }

    .home-info__item {
        padding: 0;
    }
}

@media (max-width: 639px) {
    .home-features {
        flex-direction: column;
        row-gap: 1.25rem;
        max-width: 24rem;
        margin: 0 auto;
    }

    .home-feature {
        flex: 1 1 auto;
        width: 100%;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0 0 1.25rem;
    }

    .home-feature:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-height: 700px) {
    .home-page__inner {
        gap: 1.5rem;
    }

    .home-page__title {
        margin-bottom: 0.75rem;
    }
}
