/**
 * Acil Faktoring - Landing Page CSS
 * Profesyonel, Kurumsal, Mobil Uyumlu
 */

/* ========================================
   GENEL RESET & BASE
======================================== */
.acil-faktoring-landing {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.acil-faktoring-landing * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.af-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HERO SLIDER SECTION
======================================== */
.af-hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.af-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.af-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.af-slide.active {
    opacity: 1;
    z-index: 1;
}

.af-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.85) 0%, rgba(21, 101, 192, 0.7) 100%);
}

.af-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 40px 20px;
}

.af-slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.af-slide-description {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Slider içindeki butonlar beyaz olmalı */
.af-slide-content .af-btn-primary {
    background: #fff !important;
    color: #1565C0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.af-slide-content .af-btn-primary:hover {
    background: #f5f5f5 !important;
    color: #0D47A1 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* Slider Controls */
.af-slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.af-slider-prev,
.af-slider-next {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.af-slider-prev:hover,
.af-slider-next:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1565C0;
}

.af-slider-dots {
    display: flex;
    gap: 10px;
}

.af-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.af-slider-dot.active,
.af-slider-dot:hover {
    background: #fff;
    transform: scale(1.2);
}

/* ========================================
   BUTTON STYLES
======================================== */
.af-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.af-btn-primary {
    background: #1565C0;
    background: linear-gradient(135deg, #1565C0 0%, #1976D2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.af-btn-primary:hover {
    background: #0D47A1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.4);
}

.af-btn-white {
    background: #fff;
    color: #1565C0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.af-btn-white:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.af-btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.af-btn-block {
    display: block;
    width: 100%;
}

/* Loading durumu - varsayılan */
.af-btn .af-btn-text {
    display: inline !important;
}

.af-btn .af-btn-loading {
    display: none !important;
}

/* Loading durumu - aktif */
.af-btn.loading {
    cursor: not-allowed !important;
    opacity: 0.8;
    pointer-events: none;
}

.af-btn.loading .af-btn-text {
    display: none !important;
}

.af-btn.loading .af-btn-loading {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* ========================================
   ÇEK FORM SECTION
======================================== */
.af-form-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.af-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.af-section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0D47A1;
    text-align: center;
}

.af-section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.af-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.af-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.af-form-group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
}

.af-form-group input[type="tel"]:focus {
    outline: none;
    border-color: #1565C0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

/* Upload Alanı */
.af-form-upload {
    position: relative;
}

.af-form-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
    z-index: -1;
}

.af-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 2px dashed #1565C0;
    border-radius: 8px;
    background: #f0f7ff;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-height: 180px;
}

.af-upload-label:hover {
    background: #e3f2fd;
    border-color: #0D47A1;
}

/* Focus state for accessibility */
.af-form-upload input[type="file"]:focus + .af-upload-label {
    outline: 2px solid #1565C0;
    outline-offset: 2px;
}

.af-upload-label.has-file {
    border-style: solid;
    background: #e8f5e9;
    border-color: #4CAF50;
}

.af-upload-label svg {
    color: #1565C0;
    margin-bottom: 12px;
}

.af-upload-label.has-file svg {
    color: #4CAF50;
}

.af-upload-text {
    font-weight: 600;
    color: #1565C0;
    font-size: 16px;
}

.af-upload-filename {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    display: block;
    word-break: break-word;
}

.af-form-actions {
    margin-top: 30px;
}

.af-form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 6px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.af-form-message.success {
    display: block;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.af-form-message.error {
    display: block;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Spinner */
.af-spinner {
    width: 20px;
    height: 20px;
    animation: af-spin 0.8s linear infinite;
}

@keyframes af-spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   SÜREÇ SECTION
======================================== */
.af-process-section {
    padding: 80px 0;
    background: #fff;
}

.af-process-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.af-process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.af-process-step {
    display: flex;
    gap: 20px;
    align-items: start;
}

.af-step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1565C0 0%, #1976D2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.af-step-title {
    font-size: 22px;
    font-weight: 700;
    color: #0D47A1;
    margin-bottom: 8px;
}

.af-step-description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

.af-process-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   FEATURES (NEDEN ACİL FAKTORİNG) SECTION
======================================== */
.af-features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
    color: #fff;
}

.af-features-section .af-section-title {
    color: #fff;
    margin-bottom: 60px;
}

.af-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.af-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.af-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.af-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.af-feature-icon svg {
    color: #fff;
}

.af-feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.af-feature-description {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ========================================
   HIGHLIGHT (12 YIL) SECTION
======================================== */
.af-highlight-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.af-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.af-highlight-title {
    font-size: 40px;
    font-weight: 700;
    color: #0D47A1;
    margin-bottom: 25px;
    line-height: 1.3;
}

.af-highlight-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

.af-highlight-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   ABOUT (HAKKIMIZDA) SECTION
======================================== */
.af-about-section {
    padding: 80px 0;
    background: #fff;
}

.af-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.af-about-text {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}

.af-about-text p {
    margin-bottom: 20px;
}

.af-about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   FOOTER CTA SECTION
======================================== */
.af-footer-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
    text-align: center;
    color: #fff;
}

.af-cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.af-cta-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Tablet */
@media (max-width: 992px) {
    .af-slide-title {
        font-size: 38px;
    }
    
    .af-slide-description {
        font-size: 18px;
    }
    
    .af-process-grid,
    .af-highlight-grid,
    .af-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .af-highlight-image,
    .af-about-image {
        order: -1;
    }
    
    .af-section-title {
        font-size: 32px;
    }
    
    .af-form-wrapper {
        padding: 40px 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .af-hero-section {
        height: 500px;
    }
    
    .af-slide-title {
        font-size: 32px;
    }
    
    .af-slide-description {
        font-size: 16px;
    }
    
    .af-form-row {
        grid-template-columns: 1fr;
    }
    
    .af-form-wrapper {
        padding: 30px 20px;
    }
    
    .af-section-title {
        font-size: 28px;
    }
    
    .af-section-subtitle {
        font-size: 16px;
    }
    
    .af-features-grid {
        grid-template-columns: 1fr;
    }
    
    .af-highlight-title {
        font-size: 32px;
    }
    
    .af-cta-title {
        font-size: 32px;
    }
    
    .af-slider-prev,
    .af-slider-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .af-process-section,
    .af-features-section,
    .af-highlight-section,
    .af-about-section,
    .af-form-section,
    .af-footer-cta {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .af-hero-section {
        height: 450px;
    }
    
    .af-slide-title {
        font-size: 26px;
    }
    
    .af-slide-description {
        font-size: 15px;
    }
    
    .af-btn-large {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .af-upload-label {
        min-height: 150px;
        padding: 20px 15px;
    }
    
    .af-upload-label svg {
        width: 40px;
        height: 40px;
    }
}

/* Print Styles */
@media print {
    .af-slider-controls,
    .af-form-section {
        display: none;
    }
}

