/* === ŞABLON STYLES === */
/* TASARIM SİSTEMİ VE DEĞİŞKENLER */
:root {
    --bg-color: #f2f7fd;
    --body-bg: #e6f4ea;
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-border: rgba(10, 25, 48, 0.10);
    --card-border-glow: rgba(10, 25, 48, 0.08);
    --text-primary: #0f3d82;
    --text-secondary: #1c3150;
    --accent-color: #00b047;
    --accent-gradient: linear-gradient(135deg, #00e676 0%, #00a040 100%);
    --accent-success: #00b047;
    --accent-danger: #ff1744;
    --glow-color: rgba(10, 25, 48, 0.06);
    --nav-link-color: #00b047;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

.logo-text {
    color: #00b047 !important;
}

.logo-app-box {
    background: #00b047 !important;
}

.logo-app-icon {
    color: var(--body-bg) !important;
}

.nav-link,
.lang-toggle-text,
.dropdown-arrow-icon,
.theme-toggle,
.mobile-menu-toggle {
    color: #00b047 !important;
}

/* TEMEL SIFIRLAMA (RESET) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

/* Fare tıklamasında mavi kutu gizle, klavye Tab navigasyonu çalışsın */
*:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none;
}

/* Klavye navigasyonu için yeşil temalı focus göster */
*:focus-visible {
    outline: 2px solid #00b047 !important;
    outline-offset: 2px;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--body-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* BAŞLIKLAR VE AÇIKLAMALAR TİPOGRAFİSİ */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
    font-family: var(--font-heading) !important;
    font-weight: 400 !important;
    color: var(--text-primary);
}

.section-subtitle,
p,
.badge-text {
    font-family: var(--font-body) !important;
    font-weight: 400;
    color: var(--text-secondary);
}

/* YARDIMCI (UTILITY) SINIFLAR */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* BUTONLAR */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 30px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* NAVİGASYON ÇUBUĞU (NAVBAR) */
.navbar {
    position: fixed;
    top: 110px;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    transition: var(--transition-smooth);
    padding-top: 10px;
}

.nav-container {
    position: relative;
    z-index: 99999;
    max-width: 1600px;
    width: 95%;
    height: 80px;
    margin: 45px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex: none;
}

/* Yeşil kutu içinde rota bulma logosu (Uygulama logosu stili) */
.logo-app-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border-radius: 11px;
    padding: 7px;
}

.logo-app-icon {
    width: 100%;
    height: 100%;
    color: var(--body-bg);
    display: block;
}

.logo-icon-svg {
    height: 38px;
    width: auto;
    display: block;
    filter: invert(53%) sepia(93%) saturate(3020%) hue-rotate(85deg) brightness(97%) contrast(105%);
    transition: filter 0.3s ease;
}

.logo-text-wrapper {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.logo-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: #00b047;
}

.logo-letters-row {
    display: flex;
    align-items: flex-end;
    gap: -2px;
    direction: ltr;
}

.logo-letter {
    height: 10px;
    width: auto;
    display: inline-block;
}

.logo-letter.logo-s-large {
    height: 22px;
    margin-right: 0px;
}

.logo-letters-row .logo-letter:nth-child(7),
.logo-letters-row .logo-letter:nth-child(8) {
    margin-left: -3.6px;
}

.logo-letter.logo-mart-letter {
    height: 14px;
    width: auto;
    opacity: 0.9;
    margin-bottom: 2px;
}

.logo-subtext {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-success);
    letter-spacing: 3px;
    text-align: left;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex: 1;
}

.nav-link {
    font-family: 'Nunito', var(--font-heading) !important;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--nav-link-color);
    text-decoration: none;
    transition: var(--transition-smooth) !important;
    padding: 8px 20px;
    border-radius: 30px;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.45) !important;
    color: #00b047 !important;
}

.nav-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 1;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Mobil Çekmece (Drawer) */
.mobile-drawer {
    position: fixed;
    top: 52px;
    left: 0;
    width: 100%;
    height: 0;
    background: #e6f4ea;
    z-index: 99990;
    overflow-y: auto;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.open {
    height: calc(100vh - 52px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80%;
    gap: 32px;
    padding: 40px 24px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.mobile-link:hover {
    color: var(--text-primary);
}

.mobile-btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 24px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.3 !important;
    border-radius: 16px !important;
}

/* DİL SEÇİCİ KAPLAMA ALANI */
.lang-selector-container {
    position: relative;
    display: inline-block;
}

.lang-toggle-text {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 20px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 30px;
}

.lang-toggle-text:hover {
    color: var(--text-primary);
}

.lang-toggle-text .dropdown-arrow {
    font-size: 0.8em;
    margin-top: 2px;
}

.lang-toggle {
    display: none;
}

/* AÇILIR MENÜ (DROPDOWN) */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 100%;
    min-width: unset;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    outline: none;
    border-radius: 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px) scale(0.97);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0, 176, 71, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown button {
    background: none;
    border: none;
    outline: none;
    text-align: center;
    padding: 8px 20px;
    font-size: 1.05rem;
    font-family: 'Nunito', var(--font-heading) !important;
    font-weight: 700;
    color: #00b047;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition-fast);
    letter-spacing: 0;
    display: block;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
}

.lang-dropdown button:focus,
.lang-dropdown button:focus-visible {
    outline: none;
    box-shadow: none;
}

.lang-toggle-text:focus,
.lang-toggle-text:focus-visible {
    outline: none;
    box-shadow: none;
}

.lang-dropdown button::before {
    display: none;
}

.lang-dropdown button:hover {
    background: rgba(255, 255, 255, 0.45);
    color: #00b047;
}

.lang-dropdown button.active {
    background: rgba(255, 255, 255, 0.45);
    color: #00b047;
    font-weight: 700;
    outline: none;
}

.lang-dropdown button.active::before {
    display: none;
}

/* MOBİL DİL SEÇİCİ SATIRI */
.mobile-lang-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    justify-content: center;
}

.mobile-lang-row {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.mobile-lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-lang-btn:hover,
.mobile-lang-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.mobile-lang-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

/* ALT BİLGİ (FOOTER) */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #e6f4ea;
    padding: 60px 0 30px 0;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--text-primary);
}

/* Özel Alt Bilgi Sosyal İkonları (Smart-PTG SVG'leri) */
.footer-socials-svg-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
}

.footer-social-svg {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
}

.footer-social-svg a {
    color: #146c36;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-social-svg a:hover {
    color: #16a34a;
    opacity: 0.85;
}

/* Özel Alt Bilgi Izgara Bölünmüş Düzeni */
.footer-content-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 48px;
    padding: 0 24px 20px 24px;
    box-sizing: border-box;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    flex: 1;
    margin: 0;
    padding: 0;
}

.footer-section-left {
    align-items: flex-start;
    text-align: left;
}

.footer-section-right {
    align-items: flex-start;
    text-align: left;
}

.footer-section h4 {
    font-family: var(--font-heading) !important;
    font-weight: 900 !important;
    font-size: 1.25rem !important;
    letter-spacing: 1.5px !important;
    color: #146c36 !important;
    margin: 0 0 4px 0;
    text-transform: uppercase !important;
    -webkit-text-stroke: 0.6px #146c36 !important;
    line-height: 1.2;
}

.footer-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.footer-links-vertical a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 8px;
    padding: 2px 8px;
    margin-left: -8px;
    display: inline-block;
    background-color: rgba(18, 76, 42, 0.06);
    outline: 1.5px solid rgba(18, 76, 42, 0.08);
    font-weight: 600;
}

.footer-links-vertical a:hover {
    color: #16a34a;
    background-color: rgba(18, 76, 42, 0.06);
    outline: 1.5px solid rgba(18, 76, 42, 0.08);
}

.footer-socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 44px);
    gap: 12px;
    justify-content: flex-start;
    margin-top: 5px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 9px;
    border-radius: 50%;
    color: #146c36;
    background-color: rgba(20, 108, 54, 0.08);
    transition: color 0.2s ease;
}

.social-icon-link:hover,
.social-icon-link:active {
    color: #16a34a;
}

.social-icon-link img {
    width: 100%;
    height: 100%;
    display: block;
    filter: invert(32%) sepia(61%) saturate(567%) hue-rotate(95deg) brightness(95%) contrast(93%);
    transition: filter 0.2s ease;
}

.social-icon-link:hover img,
.social-icon-link:active img {
    filter: invert(47%) sepia(85%) saturate(471%) hue-rotate(93deg) brightness(95%) contrast(93%);
}

.footer-bottom-row {
    margin-top: 40px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-top: 20px !important;
    padding-bottom: 10px !important;
    text-align: center !important;
    width: 100% !important;
}

.footer-bottom-row p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-row a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom-row a:hover {
    color: var(--text-primary);
}

/* Duyarlı Alt Bilgi (Footer) */
@media (max-width: 768px) {
    .footer-content-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-section {
        align-items: center;
        text-align: center;
    }

    .footer-section-right {
        align-items: center;
        text-align: center;
    }

    .footer-socials-grid {
        justify-content: center;
    }

    .footer-links-vertical {
        align-items: center;
    }
}

/* Geliştirici Bilgi Kutusu Stili */
.developer-info-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 5px;
    max-width: 100%;
    box-sizing: border-box;
}

.developer-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.developer-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background-color: #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #124c2a;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(18, 76, 42, 0.15);
}

.developer-avatar-img {
    width: 40px;
    height: 40px;
    display: block;
}

.developer-name {
    color: #146c36;
    font-weight: 700;
    font-size: 34px;
    line-height: 1.2;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    white-space: pre-line;
}

.developer-email {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    background-color: rgba(18, 76, 42, 0.07);
    outline: 1.5px solid rgba(18, 76, 42, 0.15);
    border-radius: 8px;
    padding: 2px 8px;
    display: inline-block;
    transition: background-color 0.2s, color 0.2s;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.developer-email:hover {
    background-color: rgba(18, 76, 42, 0.14);
}



/* DUYARLILIK (RESPONSIVENESS) */
@media (max-width: 991px) {
    .nav-container {
        margin: 4px auto 0 !important;
        height: 48px !important;
        padding: 0 16px !important;
        position: relative !important;
        z-index: 99999 !important;
    }

    .logo-text-wrapper {
        display: none !important;
    }

    .logo-app-box {
        width: 32px !important;
        height: 32px !important;
        padding: 5px !important;
        border-radius: 8px !important;
    }

    /* Mobilde nav-cta görünür kalır, hamburger gizlenir */
    .nav-cta {
        display: flex !important;
    }

    .nav-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    /* Mobilde dil seçici tuşunu biraz küçült */
    .lang-toggle-text {
        padding: 6px 12px !important;
        font-size: 0.92rem !important;
    }

    /* Dropdown mobilde tuşla aynı genişlikte */
    .lang-dropdown {
        right: 0;
        left: 0;
        width: 100% !important;
        min-width: unset !important;
    }
}

/* === CONTENT STYLES === */
:root {
    --bg-color: #f2f7fd;
    --body-bg: #e6f4ea;
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-border: rgba(10, 25, 48, 0.10);
    --card-border-glow: rgba(10, 25, 48, 0.08);
    --text-primary: #0f3d82;
    --text-secondary: #1c3150;
    --accent-color: #00b047;
    --accent-gradient: linear-gradient(135deg, #00e676 0%, #00a040 100%);
    --accent-success: #00b047;
    --accent-danger: #ff1744;
    --glow-color: rgba(10, 25, 48, 0.06);
    --nav-link-color: #00b047;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* TEMEL SIFIRLAMA (RESET) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--body-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* BAŞLIKLAR VE AÇIKLAMALAR TİPOGRAFİSİ */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
    font-family: var(--font-heading) !important;
    font-weight: 400 !important;
    color: var(--text-primary);
}

.section-subtitle,
p,
.badge-text {
    font-family: var(--font-body) !important;
    font-weight: 400;
    color: var(--text-secondary);
}

.legal-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px var(--glow-color);
}
.back-link {
    display: none; /* Hidden by default, only shown if referred from home page */
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 30px;
    transition: var(--transition-fast);
}
.back-link:hover {
    opacity: 0.8;
    transform: translateX(-4px);
}
.legal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}
.legal-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(10, 25, 48, 0.1);
    padding-bottom: 15px;
}
.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 12px;
}
.legal-content p {
    margin-bottom: 16px;
    font-size: 0.98rem;
    color: var(--text-secondary);
    text-align: justify;
}
.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
}
.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}
@media (max-width: 600px) {
    .legal-page {
        padding: 24px;
        margin: 20px auto;
    }
    .legal-title {
        font-size: 1.7rem;
    }
}

