/* Simple Contact Form Styles */
.scf-form-wrapper {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.scf-form {
    width: 100%;
}

.scf-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    margin-bottom: 20px;
}

.scf-row:last-child {
    margin-bottom: 0;
}

.scf-col {
    flex: 1;
    padding: 0 10px;
    min-width: 250px;
}

.scf-row-full .scf-col {
    flex: 0 0 100%;
    min-width: 100%;
}

.scf-field {
    margin-bottom: 5px;
}

.scf-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.scf-field label .required {
    color: #e74c3c;
}

.scf-field input[type="text"],
.scf-field input[type="email"],
.scf-field input[type="tel"],
.scf-field select,
.scf-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.scf-field input[type="text"]:focus,
.scf-field input[type="email"]:focus,
.scf-field input[type="tel"]:focus,
.scf-field select:focus,
.scf-field textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.scf-field textarea {
    resize: vertical;
    min-height: 120px;
}

.scf-field select {
    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='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.scf-row-submit {
    margin-top: 10px;
    justify-content: flex-start;
}

.scf-submit-btn {
    padding: 14px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.scf-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

.scf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.scf-submit-btn.loading {
    position: relative;
    color: transparent;
}

.scf-submit-btn.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: scf-spin 0.8s linear infinite;
}

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

.scf-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    font-size: 14px;
}

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

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

/* Mobil Uyumluluk */
@media screen and (max-width: 768px) {
    .scf-form-wrapper {
        padding: 20px;
        margin: 0 10px;
    }
    
    .scf-row {
        margin: 0 -5px;
        margin-bottom: 15px;
    }
    
    .scf-col {
        flex: 0 0 100%;
        padding: 0 5px;
        margin-bottom: 15px;
        min-width: 100%;
    }
    
    .scf-col:last-child {
        margin-bottom: 0;
    }
    
    .scf-field label {
        font-size: 13px;
    }
    
    .scf-field input[type="text"],
    .scf-field input[type="email"],
    .scf-field input[type="tel"],
    .scf-field select,
    .scf-field textarea {
        padding: 10px 12px;
        font-size: 16px; /* iOS zoom önleme */
    }
    
    .scf-submit-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

@media screen and (max-width: 480px) {
    .scf-form-wrapper {
        padding: 15px;
        border-radius: 5px;
    }
    
    .scf-field textarea {
        min-height: 100px;
    }
}
