/* Hızlı İletişim Widget Stilleri */
.quick-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

.quick-contact-main-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #001a70, #001456);
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 26, 112, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 2s infinite;
}

.quick-contact-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 26, 112, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 26, 112, 0.3), 0 0 0 0 rgba(0, 26, 112, 0.7);
    }
    70% {
        box-shadow: 0 4px 20px rgba(0, 26, 112, 0.3), 0 0 0 10px rgba(0, 26, 112, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 26, 112, 0.3), 0 0 0 0 rgba(0, 26, 112, 0);
    }
}

.quick-contact-options {
    position: absolute;
    bottom: 78px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 22px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-contact-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.quick-contact-options.active .quick-contact-item {
    animation: slideInUp 0.4s ease forwards;
}

.quick-contact-options.active .quick-contact-item:nth-child(1) {
    animation-delay: 0.1s;
}

.quick-contact-options.active .quick-contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.quick-contact-options.active .quick-contact-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-contact-main-btn.active {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 26, 112, 0.4);
}

.quick-contact-title {
    margin: 0 0 16px 0;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 11px;
}

.quick-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-contact-item {
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
}

.quick-contact-item:last-child {
    margin-bottom: 0;
}

.quick-contact-link {
    display: flex;
    align-items: center;
    padding: 13px 16px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.quick-contact-link:hover {
    background: rgba(0, 26, 112, 0.08);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 26, 112, 0.15);
}

.quick-contact-link:hover i {
    transform: scale(1.2);
    color: #001a70;
}

.quick-contact-link:hover span {
    color: #001a70;
    font-weight: 600;
}

.quick-contact-link i {
    width: 26px;
    margin-right: 26px;
    font-size: 19px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-contact-link span {
    transition: all 0.3s ease;
}

.quick-contact-link.phone {
    color: #001a70;
}

.quick-contact-link.phone:hover {
    background: rgba(0, 26, 112, 0.1);
    border-left: 3px solid #001a70;
}

.quick-contact-link.whatsapp {
    color: #001a70;
}

.quick-contact-link.whatsapp:hover {
    background: rgba(0, 26, 112, 0.1);
    border-left: 3px solid #001a70;
}

.quick-contact-link.email {
    color: #001a70;
}

.quick-contact-link.email:hover {
    background: rgba(0, 26, 112, 0.1);
    border-left: 3px solid #001a70;
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .quick-contact-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .quick-contact-main-btn {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }
    
    .quick-contact-options {
        min-width: 270px;
        bottom: 68px;
    }
    
    .quick-contact-title {
        font-size: 15px;
    }
    
    .quick-contact-link {
        padding: 11px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .quick-contact-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .quick-contact-options {
        min-width: 240px;
        padding: 18px;
    }
}

/* Hızlı İletişim Popup Stilleri */
.quick-contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-contact-popup.active {
    opacity: 1;
    visibility: visible;
}

.quick-contact-popup-content {
    background: #fff;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.quick-contact-popup.active .quick-contact-popup-content {
    transform: translateY(0);
}

.quick-contact-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.quick-contact-popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.quick-contact-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-contact-close:hover {
    background: #e9ecef;
    color: #333;
}

.quick-contact-form {
    padding: 25px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
    position: relative;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 14px;
}

.form-group select {
    cursor: pointer;
    color: #333;
}

.form-group select option {
    padding: 10px;
}

.form-group select:invalid {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 150px;
}

.character-count {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 12px;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

.quick-contact-submit {
    width: 100%;
    background: linear-gradient(135deg, #001a70, #001456);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.quick-contact-submit:hover {
    background: linear-gradient(135deg, #001456, #001040);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 26, 112, 0.3);
}

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

.quick-contact-submit i {
    font-size: 14px;
}

/* Responsive Tasarım */
@media (max-width: 480px) {
    .quick-contact-popup {
        padding: 15px;
    }
    
    .quick-contact-popup-content {
        border-radius: 12px;
        max-height: 85vh;
    }
    
    .quick-contact-popup-header {
        padding: 15px 20px;
        border-radius: 12px 12px 0 0;
    }
    
    .quick-contact-popup-header h3 {
        font-size: 16px;
    }
    
    .quick-contact-form {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .quick-contact-submit {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Loading State */
.quick-contact-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.quick-contact-submit.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
}

.success-message.show {
    display: block;
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    display: none;
}

.error-message.show {
    display: block;
}
