* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
}

.cta-component {
    position: relative;
    padding: 4rem 1rem;
    background-image: url("/static/frontend/images/footerimage.jpeg"); /* Arka plan resmi direkt burada */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.cta-component::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(23, 37, 84, 0.3); /* Overlay efekti */
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    height: 200px;
    min-height: 150px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

/* Başlık */
.cta-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.cta-title.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Alt başlık */
.cta-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.cta-subtitle.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Butonlar */
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.cta-buttons.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 1.25rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

/* Birincil buton */
.primary-btn {
    background-color: #ffaf00;
    color: #fff;
}

.primary-btn:hover {
    background-color: #cc8c00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 175, 0, 0.3);
}

/* İkincil buton */
.secondary-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.secondary-btn:hover {
    background-color: #fff;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Ok ikonu */
.btn-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Responsive tasarım */
@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
    .cta-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 4rem;
        line-height: 5rem;
    }
}

@media (max-width: 639px) {
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }
}

/* Ripple animasyonu */
.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.cta-btn:hover::before {
    transform: translateX(100%);
}

/* Focus halleri */
.cta-btn:focus {
    outline: 2px solid rgba(255, 175, 0, 0.5);
    outline-offset: 2px;
}

.secondary-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Loading hali */
.cta-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.cta-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


