﻿

:root {
    color-scheme: light !important;
}

html {
    color-scheme: light !important;
}

body {
    color-scheme: light !important;
    background-color: #ffffff !important;
    color: #212529 !important;
    padding-top: 55px; /* Navbar yüksekliği kadar padding */
}

/* Navbar Fixed Position */
.navbar.sticky-top {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030 !important;
}

input, textarea, select, button {
    color-scheme: light !important;
}

.form-control, .form-select, .btn, .card, .dropdown-menu {
    color-scheme: light !important;
}

.site-footer {
    color-scheme: dark !important;
}

.card {
    background-color: #ffffff !important;
    color: #212529 !important;
}

.form-control {
    background-color: #ffffff !important;
    color: #212529 !important;
    border: 1px solid #ced4da !important;
}

.dropdown-menu {
    font-size: 13px;
}

.dropdown-header {
    font-size: 13px;
}

.auth-buttons .btn {
    padding: 5px 10px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Loading Spinner */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

    .loading-overlay.show {
        display: flex;
    }

.loading-spinner {
    text-align: center;
    color: white;
}

    .loading-spinner .spinner-border {
        width: 3rem;
        height: 3rem;
        border-width: 0.3rem;
    }

    .loading-spinner p {
        margin-top: 1rem;
        font-size: 1.1rem;
    }

/* Modern Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    font-size: 0.875rem;
    position: relative;
}

    .site-footer::before {
        content: '';
        position: absolute;
        top: 10%;
        right: 5%;
        width: 50%;
        height: 50%;
        border-radius: 50%;
        background: rgba(37, 99, 235, 0.3);
        filter: blur(80px);
        pointer-events: none;
        z-index: 0;
    }

    .site-footer::after {
        content: '';
        position: absolute;
        bottom: 10%;
        left: 5%;
        width: 40%;
        height: 40%;
        border-radius: 50%;
        background: rgba(99, 102, 241, 0.3);
        filter: blur(70px);
        pointer-events: none;
        z-index: 0;
    }

    .site-footer .container,
    .site-footer .row,
    .site-footer .col-lg-2,
    .site-footer .col-lg-3,
    .site-footer .col-lg-4,
    .site-footer .col-md-6,
    .site-footer .col-6,
    .site-footer .btn,
    .site-footer h5,
    .site-footer h6,
    .site-footer p,
    .site-footer a,
    .site-footer ul,
    .site-footer li,
    .site-footer hr {
        position: relative;
        z-index: 10;
    }

    .site-footer .btn {
        background: #292d4d !important;
        transition: all 0.3s ease;
    }

        .site-footer .btn:hover {
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
            transform: translateY(-2px);
        }

    .site-footer h5 {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .site-footer h6 {
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        color: #fff;
    }

.footer-links {
    font-size: 0.8125rem;
}

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: #b0b0b0;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-block;
    }

        .footer-links a:hover {
            color: #fff;
            padding-left: 5px;
            transform: translateX(3px);
        }

.footer-contact a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

    .footer-contact a:hover {
        color: #dc3545;
    }

.site-footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #e0e0e0;
    transition: all 0.3s ease;
}

    .site-footer .btn-outline-light:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: #5b8aff;
        color: #fff;
        transform: translateY(-2px);
    }

.border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.site-footer .text-muted {
    color: #8a8a8a !important;
    font-size: 0.8125rem;
}

@media (max-width: 768px) {
    .site-footer {
        font-size: 0.8125rem;
    }

        .site-footer h6 {
            font-size: 0.8125rem;
        }

    .footer-links {
        font-size: 0.75rem;
    }

    .site-footer .text-muted {
        font-size: 0.75rem;
    }
}

/* Vaka Form Stilleri */
.complaint-form {
    font-size: 13px;
}

    .complaint-form .form-control,
    .complaint-form .form-select {
        font-size: 13px;
    }

        .complaint-form .form-control::placeholder {
            font-size: 13px;
        }

    .complaint-form .form-label {
        font-size: 13px;
        font-weight: 500;
    }

    .complaint-form .form-text,
    .complaint-form small {
        font-size: 11px;
    }

    .complaint-form .btn {
        font-size: 13px;
    }

    .complaint-form textarea.form-control {
        font-size: 13px;
    }

    .complaint-form .alert {
        font-size: 13px;
    }

    .complaint-form .form-check-label {
        font-size: 13px;
    }

/* Checkbox validation styles */
.form-check-input.is-invalid {
    border-color: #dc3545;
}

    .form-check-input.is-invalid ~ .form-check-label {
        color: #dc3545;
    }

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

    .invalid-feedback.d-block {
        display: block !important;
    }

/* Bildirim İkonları */
#notificationBell,
#notificationBellMobile,
#contactRequestIcon,
#contactRequestIconMobile {
    color: #6c757d;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}

@media (max-width: 991.98px) {
    #navbarMain {
        width: 100%;
        margin-top: 0.5rem;
    }
}

#notificationBell:hover,
#notificationBellMobile:hover {
    background-color: #f8f9fa;
    color: #dc3545;
    transform: scale(1.1);
}

#contactRequestIcon:hover,
#contactRequestIconMobile:hover {
    background-color: #f8f9fa;
    transform: scale(1.1);
}

#contactRequestIcon i,
#contactRequestIconMobile i {
    transition: transform 0.3s ease;
    color: #6c757d;
}

    #contactRequestIcon i.text-info,
    #contactRequestIconMobile i.text-info {
        color: #0dcaf0 !important;
    }

#notificationBell i,
#notificationBellMobile i,
#contactRequestIcon i,
#contactRequestIconMobile i {
    transition: transform 0.3s ease;
}

#notificationBell:hover i,
#notificationBellMobile:hover i {
    animation: bellRing 0.5s ease-in-out;
}

#contactRequestIcon:hover i,
#contactRequestIconMobile:hover i {
    animation: envelopeShake 0.5s ease-in-out;
}

@keyframes bellRing {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(15deg);
    }
}

@keyframes envelopeShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

#notificationBadge,
#notificationBadgeMobile,
#contactRequestBadge,
#contactRequestBadgeMobile {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 3rem;
    opacity: 0.9;
    animation: cookieBounce 2s infinite;
}

@keyframes cookieBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

    .cookie-text h6 {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .cookie-text p {
        font-size: 0.9rem;
        opacity: 0.9;
        margin-bottom: 0.5rem;
    }

.cookie-link {
    color: #4dabf7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

    .cookie-link:hover {
        color: #74c0fc;
        text-decoration: underline;
    }

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

    .cookie-buttons .btn {
        padding: 0.5rem 1.5rem;
        font-weight: 500;
        transition: all 0.3s;
    }

        .cookie-buttons .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-icon {
        font-size: 2.5rem;
    }

    .cookie-text {
        min-width: auto;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

        .cookie-buttons .btn {
            width: 100%;
        }
}

/* Contact Form in Footer */
.contact-form-footer .form-control,
.contact-form-footer .form-select {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    background-color: #00000038 !important;
    color: #878787 !important;
}

    .contact-form-footer .form-control::placeholder {
        color: #b0b0b0 !important;
    }

    .contact-form-footer .form-select option {
        background-color: #2d3748 !important;
        color: #ffffff !important;
    }

    .contact-form-footer .form-control:focus,
    .contact-form-footer .form-select:focus {
        background-color: #00000050 !important;
        border-color: #4299e1 !important;
        color: #878787 !important;
        box-shadow: 0 0 0 0.2rem rgba(66, 153, 225, 0.25);
    }

.contact-info a:hover {
    color: #fff !important;
}

.contact-info i {
    width: 20px;
}

.btn:hover {
    color: #c4ffe8 !important;
}

