/* ============================================
   HEADER
   /tema/css/components/components.css
============================================ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 20px;
    /*animation: slideDown 0.6s ease-out;*/
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 52px; /* logo kapsayıcı */
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--bg-logo-zemin);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.logo-img {
        max-height: 48px; /* logo boyutu */
        width: auto;
        display: block;
    }

.logo:active {
    transform: scale(0.95);
}

/* koyu tema için logo arka planı */
[data-theme="dark"] .logo {
    background: var(--bg-logo-zemin);
}

.header-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.app-tagline {
    font-size: 11px;
    color: var(--text-primary);
    font-weight: 500;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.theme-toggle:active {
    transform: scale(0.9);
}

/* ============================================
   BOTTOM NAVIGATION - ALT MENÜ ALANI
============================================ */
.compact-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;             /* 24px biraz geniş, 18 daha derli toplu */
    z-index: var(--z-fixed);
    box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.16);
}

/* Her bir nav item - BUTTON RESET! */
.compact-nav .nav-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    height: 100%;
    position: relative;

    /* buton default stilini öldür */
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* PNG ikonlar */
.compact-nav .nav-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    opacity: 0.78;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

/* Hover */
.compact-nav .nav-item:hover .nav-icon-img {
    opacity: 1;
}

/* Aktif ikon */
.compact-nav .nav-item.active .nav-icon-img {
    opacity: 1;
    transform: scale(1.16);
}

/* Dark mode — siyah PNG’leri beyaza çevir */
html[data-theme="dark"] .compact-nav .nav-icon-img {
    filter: invert(1) brightness(1.15);
    opacity: 0.92;
}

/* Altında nokta göstergesi */
.compact-nav .nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 6px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Label tamamen kapalı */
.compact-nav .nav-label {
    display: none !important;
}

/* Safe-area desteği */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .compact-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ============================================
   CARDS
============================================ */
.hero-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    border-radius: var(--radius-2xl);
    padding: 28px 24px;
    margin-top: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.7s ease-out 0.1s both;
}

.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:active {
    transform: scale(0.98);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

/* ============================================
   SECTION TITLE
============================================ */
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 16px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    margin-top: var(--spacing-lg);
    padding: 14px 12px 18px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* bağlantılar */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.9;
}

/* mobilde tap hedefi yeterli olsun diye */
.footer-links a {
    padding: 4px 6px;
}

/* alt bilgi metni */
.footer-meta {
    text-align: center;
    color: var(--text-tertiary);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer-tagline {
    font-size: 11px;
}

/* Social media links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.75rem 0;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.footer-social-link--instagram {
    color: #e1306c;
    background: rgba(225, 48, 108, 0.08);
}

.footer-social-link--instagram:hover {
    background: rgba(225, 48, 108, 0.15);
    transform: translateY(-1px);
}

/* PWA kur butonu */
.footer-app-button {
    margin-top: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    background: var(--accent-soft, rgba(37, 99, 235, 0.12));
    color: var(--accent, #2563eb);
}

/* hidden attr davranışı */
.footer-app-button[hidden] {
    display: none;
}

/* ======================= FOOTER STİLLERİ SONU ======================= */