﻿/* Modern Contact Page Styles */
.contact-hero {
    text-align: center;
    margin-bottom: 1rem;
    animation: slideInDown 0.8s ease-out;
}

/* Modern Alerts */
.modern-alert {
    padding: 1.5rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    animation: slideInDown 0.5s ease-out;
    position: relative;
}

    .modern-alert i:first-child {
        font-size: 1.5rem;
        margin-right: 1rem;
    }

    .modern-alert.success {
        background: rgba(34, 197, 94, 0.2);
        color: #bbf7d0;
        border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .modern-alert.error {
        background: rgba(239, 68, 68, 0.2);
        color: #fecaca;
        border: 1px solid rgba(239, 68, 68, 0.3);
    }

.alert-content {
    flex: 1;
}

    .alert-content h6 {
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .alert-content p {
        margin-bottom: 0;
    }

.alert-close {
    background: none;
    border: none;
    color: inherit;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .alert-close:hover {
        background: rgba(255, 255, 255, 0.1);
    }

/* Contact Form Card */
.contact-form-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out;
}

.form-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-icon {
    width: 70px;
    height: 70px;
    background: var(--default-button);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-right: 1.5rem;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.form-title h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-title p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Form Sections */
.form-section-modern {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

    .section-header i {
        color: #4ade80;
    }

/* Form Controls - Same as other pages */
.form-group-modern {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control-modern {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    outline: none;
    backdrop-filter: blur(10px);
    resize: none;
}

    .form-control-modern:focus {
        border-color: var(--input-control-focus-color);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.1);
    }

        .form-control-modern:focus + .form-label-modern,
        .form-control-modern:not(:placeholder-shown) + .form-label-modern {
            top: -0.5rem;
            left: 0.75rem;
            background: var(--input-control-focus-color);
            padding: 0 0.5rem;
            font-size: 0.875rem;
            color: white;
            font-weight: 600;
            border-radius: 8px;
        }

    .form-control-modern::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

.message-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-label-modern {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
}

    .form-label-modern i {
        margin-right: 0.5rem;
        color: rgba(255, 255, 255, 0.5);
    }

.validation-message {
    color: #fecaca;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.char-counter {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-modern-primary {
    padding: 1.25rem 3rem;
    background: var(--default-button);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--default-button-shadow)
}

    .btn-modern-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--default-button-shadow-hover);
    }

.btn-text {
    transition: opacity 0.3s ease;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-modern-primary.loading .btn-text {
    opacity: 0;
}

.btn-modern-primary.loading .btn-loader {
    opacity: 1;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-security-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Contact Info Section */
.contact-info-section {
    position: sticky;
    top: 100px;
}

.info-header {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: slideInRight 0.8s ease-out;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    box-shadow: 0 8px 32px rgba(240, 147, 251, 0.3);
}

.info-title h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-title p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: slideInRight 0.8s ease-out;
}

    .contact-info-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
        background: rgba(255, 255, 255, 0.3);
    }

.contact-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-right: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.contact-details h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

    .contact-value a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .contact-value a:hover {
            color: white;
        }

.contact-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

    .contact-actions .btn {
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-size: 0.8rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .contact-actions .btn:hover {
            transform: translateY(-2px);
        }

/* Quick Contact Section */
.quick-contact-section {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem;
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.quick-contact-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-center: center;
}

.quick-contact-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.quick-contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .quick-contact-btn:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.2);
        color: white;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .quick-contact-btn i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .quick-contact-btn span {
        font-size: 0.9rem;
        font-weight: 500;
    }

    .quick-contact-btn.phone:hover {
        background: rgba(34, 197, 94, 0.3);
        border-color: rgba(34, 197, 94, 0.5);
    }

    .quick-contact-btn.email:hover {
        background: rgba(239, 68, 68, 0.3);
        border-color: rgba(239, 68, 68, 0.5);
    }

    .quick-contact-btn.whatsapp:hover {
        background: rgba(37, 211, 102, 0.3);
        border-color: rgba(37, 211, 102, 0.5);
    }

/* Gradient Classes */
.bg-gradient-success {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%) !important;
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-info-section {
        position: static;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 2rem;
    }

    .form-header {
        flex-direction: column;
        text-align: center;
    }

    .form-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-form-card, .info-header, .contact-info-card, .quick-contact-section {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero-content {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .form-control-modern {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    }

    .quick-contact-buttons {
        grid-template-columns: 1fr;
    }
}
.kvkk-checkbox-group.has-error {
    border-left: 3px solid #dc3545;
    padding-left: 10px;
    background-color: rgba(220, 53, 69, 0.1);
}

.kvkk-error {
    display: block !important;
    margin-top: 5px;
    font-size: 14px;
}

.field-validation-error {
    color: #dc3545 !important;
    display: block !important;
}

.field-validation-valid {
    display: none !important;
}

.custom-checkbox {
    position: relative;
}