/* CTA Section (Homepage) - Hasene
 * Counts modülü örüntüsü: arka plan inline style,
 * bu dosya sadece yardımcı sınıfları içerir.
 * Build gerektirmez — blade içinde <link> ile yüklenir.
 *
 * Layout: flex row > [text col 7] [button col 5, vertically centered]
 * Buton kendi sütununda, description ile ASLA çakışmaz.
 */

.cta-section {
    padding: 1.5rem 0;
}

.cta-section .cta-card {
    min-height: 220px;
    display: flex;
    align-items: stretch;
    border-radius: 1.5rem;
}

@media (min-width: 768px) {
    .cta-section .cta-card {
        min-height: 240px;
        border-radius: 2rem;
    }
}

@media (min-width: 1200px) {
    .cta-section .cta-card {
        min-height: 280px;
        border-radius: 3rem;
    }
}

/* Gradient overlay */
.cta-section .cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #01a9a6 0%,
        #01a9a6 35%,
        rgba(1, 169, 166, 0.92) 45%,
        rgba(1, 169, 166, 0.55) 60%,
        rgba(1, 169, 166, 0.10) 80%,
        rgba(1, 169, 166, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.cta-section .cta-content {
    z-index: 2;
    width: 100%;
    padding: 1.5rem 1.25rem;
}

@media (min-width: 768px) {
    .cta-section .cta-content {
        padding: 2.5rem 2rem;
    }
}

@media (min-width: 1200px) {
    .cta-section .cta-content {
        padding: 3rem 2.5rem;
    }
}

.cta-section .cta-title {
    font-family: 'Roboto', serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .cta-section .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1200px) {
    .cta-section .cta-title {
        font-size: 2.75rem;
    }
}

.cta-section .cta-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .cta-section .cta-subtitle {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }
}

.cta-section .cta-description {
    max-width: 30rem;
    line-height: 1.5;
    font-size: 0.95rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .cta-section .cta-description {
        font-size: 1.05rem;
        line-height: 1.6;
    }
}

/* Button: absolute positioning.
   - Mobile: bottom-right corner
   - Desktop: middle-right edge (fully flush to the right)
   Text column is constrained (col-lg-7) so the button never overlaps description. */
.cta-section .cta-pdf-btn {
    position: absolute;
    bottom: 1rem;
    right: 1.25rem;
    background: #01918e;
    border: 2px solid #ffffff;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    gap: 0.5rem;
    z-index: 4;
}

@media (min-width: 768px) {
    .cta-section .cta-pdf-btn {
        bottom: auto;
        top: 50%;
        right: 2rem;
        transform: translateY(-50%);
        padding: 0.85rem 1.75rem;
        font-size: 1.05rem;
    }
}

@media (min-width: 1200px) {
    .cta-section .cta-pdf-btn {
        right: 2.5rem;
    }
}

.cta-section .cta-pdf-btn:hover,
.cta-section .cta-pdf-btn:focus {
    background: #017a78;
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .cta-section .cta-pdf-btn:hover,
    .cta-section .cta-pdf-btn:focus {
        transform: translateY(-50%) scale(1.03);
    }
}

.cta-section .cta-pdf-btn .bi {
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .cta-section .cta-pdf-btn .bi {
        font-size: 1.4rem;
    }
}

/* Hidden on mobile (kept in DOM, no space) */
@media (max-width: 767.98px) {
    .cta-section .cta-btn-col {
        display: none;
    }
}
