/**
 * Eğitim Talep Formu CSS
 */

/* Hero Section - SSS tarzı */
.talep-hero {
    background: linear-gradient(135deg, #1e3a6e 0%, #2a5298 100%);
    padding: 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.talep-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 50%);
    animation: talepHeroRotate 30s linear infinite;
}

@keyframes talepHeroRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.talep-hero .hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.talep-hero h1 {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 8px !important;
}

.talep-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin: 0!important;
}

/* Form Section */
.talep-form-section {
    padding: 50px 20px 80px;
    background: #f8fafc;
    min-height: 60vh;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.success-icon i {
    font-size: 40px;
    color: #fff;
}

.success-message h2 {
    color: #1e293b;
    font-size: 28px;
    margin: 0 0 15px;
}

.success-message p {
    color: #64748b;
    font-size: 16px;
    margin: 0 0 30px;
}

/* Error Box */
.error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.error-box i {
    color: #ef4444;
    font-size: 20px;
    margin-top: 2px;
}

.error-box ul {
    margin: 0;
    padding-left: 20px;
    color: #b91c1c;
    font-size: 14px;
}

.error-box li {
    margin-bottom: 5px;
}

/* Form Styles */
.talep-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.form-group .required {
    color: #ef4444;
}

.form-control {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #1e293b;
    background: #fff;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Phone Input with Flag */
.phone-input {
    /* intl-tel-input için hazırlık */
}

/* Consent Section */
.consent-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: #2a5298;
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-label .label-text a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label .label-text a:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2a5298 0%, #1e3a6e 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a6e 0%, #162d54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.3);
}

.btn-submit {
    min-width: 150px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .talep-hero h1 {
        font-size: 28px;
    }
    
    .talep-hero p {
        font-size: 16px;
    }
    
    .form-actions {
        justify-content: center;
    }
    
    .btn-submit {
        width: 100%;
    }
}

/* Breadcrumb Override */
body:has(.talep-hero) .breadcrumb-section {
    background: linear-gradient(147deg, #4f92dc38 0%, #b9c9e600 100%);
    border-bottom: none;
}

body:has(.talep-hero) .breadcrumb-section .breadcrumb-list li:last-child {
    color: #333;
}

