/* base.css - FonScoop | Temel stiller */

/* Body & Container */
body {
    background-color: var(--background-color);
    /* background-image:
        linear-gradient(rgba(241, 243, 245, 0.92), rgba(241, 243, 245, 0.92)),
        url('../assets/images/5577112.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

[data-theme="dark"] body {
    /* background-image:
        linear-gradient(rgba(30, 39, 46, 0.94), rgba(30, 39, 46, 0.94)),
        url('../assets/images/5577112.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-primary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--dark-color);
    margin-bottom: var(--space-4);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--gray-800);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}



h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-sm {
    font-size: var(--space-3);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-2xl {
    font-size: var(--text-2xl);
}

.text-3xl {
    font-size: var(--text-3xl);
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-normal {
    font-weight: 400;
}

.font-light {
    font-weight: 300;
}

/* Images & Media */
figure {
    margin-bottom: var(--space-6);
}

figcaption {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-2);
}

/* Horizontal Rule */
hr {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: var(--space-6) 0;
}

/* Selection */
::selection {
    background-color: var(--primary-light);
    color: var(--dark-color);
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Scrollbar - sade çizgiler */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--border-radius);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--border-radius);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--gray-100);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--gray-300);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Print */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    a {
        color: black !important;
        text-decoration: underline !important;
    }

    .no-print {
        display: none !important;
    }
}

.text-xss {
    font-size: 10px;
    line-height: 1.2;
}

.nav-user-slot {
    width: 200px;
    display: flex;
    justify-content: flex-end;
}

.hidden {
    display: none !important;
}

.auth-loading {
    visibility: hidden;
}

.desktop-nav ul {
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
}

/* User dropdown */
#userDropdown ul {
    display: none;
}

#userDropdown.open ul {
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav {
        display: none;
    }

    .mobile-nav.active {
        display: block;
    }
}