/* =========================
   WhatsApp Butonu (Sabit)
   ========================= */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 100px;
    /* progress-wrap ile çakışmasın */
    z-index: 100000;
    /* her şeyin üstünde */
    pointer-events: none;
    /* kapsayıcı tıklamayı yutmasın */
}

.whatsapp-float .whatsapp-button {
    pointer-events: auto;
    /* sadece link tıklanabilir */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    width: 56px;
    height: 56px;
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
    border-radius: 50px;
    width: auto;
    padding: 12px 20px;
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-text {
    font-size: 16px;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.3s ease;
}

.whatsapp-button:hover .whatsapp-text {
    max-width: 200px;
    margin-left: 10px;
}

/* Mobil */
@media (max-width: 768px) {
    .whatsapp-float {
        right: 20px;
        bottom: 80px;
    }

    .whatsapp-button {
        padding: 10px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-button:hover {
        border-radius: 50%;
        width: 56px;
        height: 56px;
        padding: 10px;
    }
}

/* =========================
   Çerez Bildirimi (Çakışma Olmasın)
   ========================= */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 500;
    /* WhatsApp ve progress’in altında */
    max-width: 90%;
    width: 800px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.cookie-accept {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: var(--bg-dark);
}

@media (max-width: 576px) {
    .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-accept {
        width: 100%;
        padding: 10px;
    }
}

/* =========================
   Yukarı Çık (Progress Button)
   ========================= */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 56px;
    width: 56px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
    /* Z-index’i yüksek; ama WhatsApp’tan düşük. Overlap zaten yok (bottom 30px vs 100px) */
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 99990;
}

/* Ok ikonu (Font Awesome 6 Pro) */
.progress-wrap::after {
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    content: "\f062";
    text-align: center;
    line-height: 56px;
    font-size: 18px;
    color: var(--primary-color);
    left: 0;
    top: 0;
    height: 56px;
    width: 56px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    content: "\f062";
    text-align: center;
    line-height: 56px;
    font-size: 18px;
    opacity: 0;
    left: 0;
    top: 0;
    height: 56px;
    width: 56px;
    cursor: pointer;
    display: block;
    z-index: 2;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
}

/* SVG progress çemberi için */
.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--primary-color);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}