/*!
 * @author LvNt
 *
 * Site Extras CSS
 * CSS deÄŸiÅŸkenleri, skip link, cookie banner, dark mode toggle, genel iyileÅŸtirmeler
 */

/* â”€â”€â”€ CSS DeÄŸiÅŸkenleri (Design Tokens) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
    /* Renkler â€” mevcut temaya uygun */
    --color-primary:       #0d47a1;
    --color-primary-dark:  #0a3170;
    --color-primary-light: #1565c0;
    --color-secondary:     #ff6f00;
    --color-accent:        #00bcd4;
    --color-success:       #2e7d32;
    --color-danger:        #c62828;
    --color-warning:       #f9a825;
    --color-info:          #0288d1;

    /* NÃ¶tr renkler */
    --color-text:          #333333;
    --color-text-light:    #666666;
    --color-text-muted:    #999999;
    --color-bg:            #ffffff;
    --color-bg-alt:        #f5f7fa;
    --color-bg-dark:       #1a1a2e;
    --color-border:        #e0e0e0;

    /* Tipografi */
    --font-primary:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Outfit', sans-serif;
    --font-mono:      'Fira Code', 'Courier New', monospace;

    /* Transition */
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border radius */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    /* GÃ¶lge */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg:  0 8px 30px rgba(0,0,0,0.12);
}



/* â”€â”€â”€ Skip Link â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 100000;
    padding: 12px 24px;
    background: var(--color-primary, #0d47a1);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: top var(--transition-base);
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-accent, #00bcd4);
    outline-offset: 2px;
}

/* â”€â”€â”€ Cookie Banner (Sayfa OrtasÄ±nda Alt KÄ±sÄ±mda YÃ¼zen Kart) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: 90%;
    max-width: 540px;
    background: #0e1a2b;
    border: 1px solid rgba(162, 124, 91, 0.35);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    padding: 18px 24px;
    animation: cookieFloatUp 0.4s ease-out;
}
@keyframes cookieFloatUp {
    from { transform: translate(-50%, 30px); opacity: 0; }
    to   { transform: translate(-50%, 0);    opacity: 1; }
}
.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}
.cookie-banner__text {
    color: #e2e8f0;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.cookie-banner__text a {
    color: #d4a017;
    text-decoration: underline;
    font-weight: 500;
}
.cookie-banner__text a:hover {
    color: #ffffff;
}
.cookie-banner__btn {
    white-space: nowrap;
    font-size: 13px;
    padding: 9px 22px;
    border-radius: 8px;
    background: linear-gradient(135deg, #a27c5b 0%, #755338 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(162, 124, 91, 0.3);
    transition: all 0.3s ease;
}
.cookie-banner__btn:hover {
    background: linear-gradient(135deg, #b88d67 0%, #8c6444 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(162, 124, 91, 0.45);
}



/* â”€â”€â”€ Mikro EtkileÅŸimler â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
a,
button,
.btn-one,
.btn-two,
input[type="submit"] {
    transition: all var(--transition-base);
}

/* â”€â”€â”€ Back to Top iyileÅŸtirme â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.scroll-to-top {
    transition: all var(--transition-base);
}
.scroll-to-top:hover {
    transform: translateY(-4px);
}

/* â”€â”€â”€ Genel Ä°yileÅŸtirmeler â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
::selection {
    background: var(--color-primary, #0d47a1);
    color: #fff;
}



/* Focus visible ring */
:focus-visible {
    outline: 3px solid var(--color-accent, #00bcd4);
    outline-offset: 2px;
}

/* â”€â”€â”€ Responsive Cookie Banner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* â”€â”€â”€ Footer Design Credit Logo Fix â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer-design-credit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    position: relative !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.footer-design-credit a {
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

.footer-design-credit img {
    height: 18px !important;
    max-height: 18px !important;
    width: auto !important;
    display: block !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)) !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Mobile Responsiveness & Touch Targets (Madde 5) */
body, html { overflow-x: hidden; width: 100%; }
@media (max-width: 767px) {
    a, button, input[type='submit'], input[type='button'], .btn-one { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
    input[type='text'], input[type='email'], input[type='tel'], textarea, select { min-height: 44px; font-size: 16px; /* Prevents iOS zoom */ }
}

/* Eriþilebilirlik (Madde 5) */
:focus-visible { outline: 2px solid #a27c5b !important; outline-offset: 2px !important; }

