/* İletişim Formu - Mobil Uyumlu Tasarım */

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-header {
    background: linear-gradient(135deg, #2dce89, #20c997);
    color: white;
    padding: 30px;
    text-align: center;
}

.contact-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.contact-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.contact-body {
    padding: 40px 30px;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: 'Open Sans', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2dce89;
    background: white;
    box-shadow: 0 0 0 4px rgba(45, 206, 137, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    line-height: 1.5;
    width: 100%;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
    min-width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group span {
    flex: 1;
    padding-top: 2px;
}

.checkbox-group a {
    color: #2dce89;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #2dce89, #20c997);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 5px 20px rgba(45, 206, 137, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 206, 137, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        margin: 0 20px;
        border-radius: 15px;
    }
    
    .contact-header {
        padding: 25px 20px;
    }
    
    .contact-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .contact-body {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 40px 0;
    }
    
    .contact-form-container {
        margin: 0 15px;
    }
    
    .contact-header {
        padding: 20px 15px;
    }
    
    .contact-header h2 {
        font-size: 1.6rem;
    }
    
    .contact-body {
        padding: 25px 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .checkbox-group {
        margin-bottom: 25px;
    }
    
    .checkbox-group label {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}
