/* =======================
   DONATION ACTION AREA
======================= */

.donation-action {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* =======================
   JOIN BUTTON (CLEAN)
======================= */

.join-btn {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    padding: 12px 0;

    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;

    transition:
        width 0.55s cubic-bezier(.22, 1, .36, 1),
        transform 0.55s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.3s ease,
        opacity 0.3s ease;
}

.join-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0.95;
}

/* ACTIVE STATE */
.join-btn.shrink {
    width: 45%;
    transform: translateX(120%);
}

/* =======================
   SHINE EFFECT
======================= */

.join-btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.0) 0%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0.0) 100%);
    transform: skewX(-25deg);
    animation: sweep 3.5s infinite ease-in-out;
}

/* =======================
   DONATION INPUT
======================= */

.donation-input {
    position: absolute;
    left: 0;
    width: calc(55% - 10px);
    /* boşluk payı */
    padding: 12px 15px;

    border-radius: 12px;
    border: 2px solid #ddd;
    background: #fff;

    font-weight: 700;
    font-size: 1rem;

    opacity: 0;
    transform: translateX(-30px);
    pointer-events: none;

    transition:
        opacity 0.45s ease,
        transform 0.55s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.donation-input.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.donation-input:focus {
    border-color: #999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
}

/* =======================
   RELIGION SECTION
======================= */

.religion-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

/* =======================
   RELIGION CARD
======================= */

.religion-card {
    position: relative;
    overflow: hidden;
    padding: 25px;

    background: linear-gradient(145deg, #ffffff, #f7f7f7);
    border-radius: 25px;
    text-align: center;
    color: #1c1c1c;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.religion-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* SHINE CARD */
.religion-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.0) 100%);
    transform: skewX(-25deg);
    animation: sweep 4s infinite ease-in-out;
}

/* =======================
   HEADER
======================= */

.religion-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;

    font-size: 1.2rem;
    font-weight: 700;
}

.religion-header i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.religion-card:hover .religion-header i {
    transform: scale(1.15);
}

/* =======================
   DONATION BOX
======================= */

.donation-box {
    width: 100%;
    margin: 0 auto 20px;
    padding: 12px 0;

    background: #e4e4e4;
    border-radius: 50px;

    font-weight: 700;
    color: #1c1c1c;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
}

/* =======================
   ICON & BUTTON COLORS
======================= */

.islam i {
    color: #f5b700;
}

.islam .join-btn {
    background: #f5b700;
}

.christianity i {
    color: #4da6ff;
}

.christianity .join-btn {
    background: #4da6ff;
}

.hinduism i {
    color: #ff8c00;
}

.hinduism .join-btn {
    background: #ff8c00;
}

.buddhism i {
    color: #ffd54f;
}

.buddhism .join-btn {
    background: #ffd54f;
    color: #1c1c1c;
}

.judaism i {
    color: #6eb5ff;
}

.judaism .join-btn {
    background: #6eb5ff;
}

.atheism i {
    color: #000;
}

.atheism .join-btn {
    background: #000;
}

/* =======================
   ANIMATION
======================= */

@keyframes sweep {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

/* =======================
   RESPONSIVE
======================= */

@media (max-width: 768px) {
    .religion-card {
        padding: 20px;
    }

    .religion-header {
        font-size: 1.1rem;
    }

    .religion-header i {
        font-size: 1.6rem;
    }

    .join-btn {
        font-size: 0.95rem;
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .religion-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}