/* Site geneli — erişilebilirlik, WhatsApp, güvenli görünüm */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 0.75rem 1.25rem;
    background: #103C3B;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 6px 0;
}

.skip-link:focus {
    left: 0;
}

/* Sabit float butonların kesilmemesi — ana-stil body/html overflow geçersiz */
html,
body {
    overflow-x: visible !important;
    overflow-y: auto !important;
    width: 100%;
    max-width: 100%;
}

/* Sabit iletişim grubu — sağ alt, üstten alta: WhatsApp → Form → Telefon */
.fixed-contact-stack {
    position: fixed;
    inset: 0;
    z-index: 100500;
    pointer-events: none;
    overflow: visible;
}

.fixed-contact-stack__bottom {
    position: fixed;
    right: calc(1.5rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    overflow: visible;
    pointer-events: none;
}

.fixed-contact-stack__bottom > * {
    pointer-events: auto;
    flex-shrink: 0;
    opacity: 1;
    visibility: visible;
}

.fixed-contact-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-height: 52px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    overflow: visible;
    cursor: pointer;
    text-decoration: none !important;
    color: #fff !important;
    font-family: var(--body-font, "DM Sans", Helvetica, Arial, sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease,
        filter 0.28s ease,
        gap 0.28s ease,
        padding 0.28s ease;
}

.fixed-contact-btn__icon-wrap {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
}

.fixed-contact-btn__text {
    position: relative;
    z-index: 2;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    padding-right: 0;
    transition:
        max-width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease,
        padding 0.32s ease;
}

.fixed-contact-btn:hover,
.fixed-contact-btn:focus-visible {
    transform: translateY(-3px);
    gap: 0.15rem;
    padding-right: 1.1rem;
    outline: none;
}

.fixed-contact-btn:hover .fixed-contact-btn__text,
.fixed-contact-btn:focus-visible .fixed-contact-btn__text {
    max-width: 11rem;
    opacity: 1;
    padding-right: 0.15rem;
}

.fixed-contact-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Form / teklif — altın gradient + nabız halkası */
.fixed-contact-btn--form {
    background: linear-gradient(145deg, #d4a876 0%, #b07e50 52%, #96663a 100%);
}

.fixed-contact-btn--form:hover,
.fixed-contact-btn--form:focus-visible {
    filter: brightness(1.06);
    box-shadow:
        0 14px 32px rgba(176, 126, 80, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.fixed-contact-btn__pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    border: 2px solid rgba(176, 126, 80, 0.55);
    opacity: 0;
    pointer-events: none;
    animation: fixed-contact-pulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.fixed-contact-btn__pulse--2 {
    animation-delay: 1.2s;
}

.fixed-contact-btn__pulse--tel {
    border-color: rgba(229, 57, 53, 0.62);
}

@keyframes fixed-contact-pulse {
    0% {
        transform: scale(1);
        opacity: 0.65;
    }
    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

/* WhatsApp */
.fixed-contact-btn--wa {
    background: linear-gradient(145deg, #2fd36f 0%, #25d366 45%, #128c7e 100%);
}

.fixed-contact-btn--wa:hover,
.fixed-contact-btn--wa:focus-visible {
    box-shadow:
        0 14px 32px rgba(18, 140, 126, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Telefon — kırmızı gradient + nabız + hafif titreme */
.fixed-contact-btn--tel {
    background: linear-gradient(145deg, #ff6b6b 0%, #e53935 52%, #c62828 100%);
    animation: fixed-contact-tel-glow 2.6s ease-in-out infinite;
}

.fixed-contact-btn--tel .fixed-contact-btn__icon-wrap i {
    display: inline-block;
    transform-origin: 50% 15%;
    animation: fixed-contact-tel-ring 2.8s ease-in-out infinite;
}

.fixed-contact-btn--tel:hover,
.fixed-contact-btn--tel:focus-visible {
    filter: brightness(1.08);
    animation: none;
    box-shadow:
        0 14px 32px rgba(229, 57, 53, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fixed-contact-btn--tel:hover .fixed-contact-btn__icon-wrap i,
.fixed-contact-btn--tel:focus-visible .fixed-contact-btn__icon-wrap i {
    animation: none;
}

@keyframes fixed-contact-tel-glow {
    0%, 100% {
        box-shadow:
            0 8px 22px rgba(229, 57, 53, 0.38),
            inset 0 1px 0 rgba(255, 255, 255, 0.24);
    }
    50% {
        box-shadow:
            0 12px 28px rgba(229, 57, 53, 0.55),
            0 0 0 5px rgba(229, 57, 53, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }
}

@keyframes fixed-contact-tel-ring {
    0%, 72%, 100% {
        transform: rotate(0deg);
    }
    8% {
        transform: rotate(-14deg);
    }
    16% {
        transform: rotate(14deg);
    }
    24% {
        transform: rotate(-10deg);
    }
    32% {
        transform: rotate(10deg);
    }
    40% {
        transform: rotate(0deg);
    }
}

/* Eski sınıflar — geriye dönük */
.iletisim-float {
    position: relative;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-sizing: border-box;
    cursor: pointer;
    color: #fff;
    background: #b5ad6c;
    box-shadow: 0 4px 14px rgba(120, 108, 70, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.iletisim-float__icon {
    display: block;
    flex-shrink: 0;
    width: 1.45rem;
    height: 1.45rem;
    font-size: 1.45rem;
    line-height: 1;
    overflow: visible;
    pointer-events: none;
}

.iletisim-float:hover {
    transform: translateY(-2px);
    background: #c0b878;
    box-shadow: 0 6px 18px rgba(120, 108, 70, 0.34);
}

.iletisim-float:active {
    transform: translateY(0);
    background: #a89f62;
}

.wa-float {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem 0.65rem 0.75rem;
    background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(18, 140, 126, 0.45);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float i {
    font-size: 1.35rem;
}

.wa-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(18, 140, 126, 0.55);
    color: #fff !important;
}

.wa-float__label {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .fixed-contact-stack__bottom {
        right: calc(1rem + env(safe-area-inset-right, 0px));
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        gap: 0.65rem;
    }

    .fixed-contact-btn {
        min-height: 48px;
    }

    .fixed-contact-btn__icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .fixed-contact-btn__pulse {
        width: 48px;
        height: 48px;
        margin: -24px 0 0 -24px;
    }

    .fixed-contact-btn__text {
        display: none;
    }

    .fixed-contact-btn:hover,
    .fixed-contact-btn:focus-visible {
        padding-right: 0;
        gap: 0;
    }

    .iletisim-float {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
    }

    .iletisim-float__icon {
        width: 1.35rem;
        height: 1.35rem;
        font-size: 1.35rem;
    }

    .wa-float {
        padding: 0.75rem;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }

    .wa-float__label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fixed-contact-btn__pulse {
        animation: none !important;
    }

    .fixed-contact-btn--tel,
    .fixed-contact-btn--tel .fixed-contact-btn__icon-wrap i {
        animation: none !important;
    }

    .fixed-contact-btn,
    .fixed-contact-btn__text {
        transition: none !important;
    }
}

/* S.S.S. */
.sss-hero {
    min-height: 420px;
}

.sss-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.sss-item {
    border: 1px solid rgba(16, 60, 59, 0.12);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sss-item.is-open {
    border-color: rgba(176, 126, 80, 0.45);
    box-shadow: 0 8px 28px rgba(16, 60, 59, 0.08);
}

.sss-soru {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #103C3B;
    cursor: pointer;
    line-height: 1.45;
}

.sss-soru:hover {
    color: #b07e50;
}

.sss-ikon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 60, 59, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.25s ease, background 0.2s ease;
}

.sss-item.is-open .sss-ikon {
    transform: rotate(45deg);
    background: rgba(176, 126, 80, 0.15);
}

.sss-cevap {
    display: none;
    padding: 0 1.25rem 1.15rem;
    color: rgba(0, 0, 0, 0.72);
    line-height: 1.75;
    font-size: 0.98rem;
}

.sss-item.is-open .sss-cevap {
    display: block;
}

.sss-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 60, 59, 0.06) 0%, rgba(176, 126, 80, 0.08) 100%);
}

/* Açık zemin: outline buton (btn-line) okunaklı */
a.btn-main.btn-line-light,
a.btn-main.btn-line-light:visited {
    color: #103C3B !important;
    border: 1px solid rgba(16, 60, 59, 0.45) !important;
    background: rgba(255, 255, 255, 0.92);
}

a.btn-main.btn-line-light span {
    color: inherit;
}

a.btn-main.btn-line-light:hover,
a.btn-main.btn-line-light:focus {
    color: #fff !important;
    background: var(--primary-color, #b07e50) !important;
    border-color: var(--primary-color, #b07e50) !important;
}

.footer-tel a {
    line-height: 1.6;
}

.teklif-cta-kutu {
    background: linear-gradient(135deg, rgba(16, 60, 59, 0.04) 0%, rgba(176, 126, 80, 0.06) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .fixed-contact-stack,
    .fixed-contact-btn,
    .iletisim-float,
    .wa-float,
    .sss-ikon,
    .sss-item,
    .cerez-banner {
        transition: none;
    }
}

/* Yasal sayfalar */
.yasal-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.yasal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-top: 1rem;
}

.yasal-nav__link {
    color: #103C3B;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(176, 126, 80, 0.35);
    padding-bottom: 2px;
}

.yasal-nav__link:hover {
    color: #b07e50;
}

.yasal-bolum {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(16, 60, 59, 0.1);
}

.yasal-bolum:last-child {
    border-bottom: none;
}

.yasal-bolum__baslik {
    color: #103C3B;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.yasal-bolum__icerik {
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.75;
}

.yasal-bolum__icerik h4 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: #103C3B;
}

.yasal-bolum__icerik ul {
    padding-left: 1.25rem;
}

/* Çerez banner */
.cerez-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    padding: 1rem;
    background: rgba(16, 60, 59, 0.97);
    color: #fff;
    transform: translateY(110%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.cerez-banner--visible {
    transform: translateY(0);
}

.cerez-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cerez-banner__text {
    margin: 0;
    flex: 1 1 280px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.cerez-banner__text a {
    color: #e8c9a0;
    text-decoration: underline;
}

.cerez-banner__actions {
    flex-shrink: 0;
}

.cerez-banner__btn {
    border: none;
    cursor: pointer;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.cerez-banner__btn--accept {
    background: linear-gradient(135deg, #c9a06c 0%, #b07e50 100%);
    color: #fff;
}

.cerez-banner__btn--accept:hover {
    filter: brightness(1.05);
}

@media (max-width: 480px) {
    .cerez-banner {
        bottom: 4.5rem;
    }
}
