/**
 * FONT VE OKUNABILIRLIK DUZELTMESI
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Nunito:wght@400;500;600;700&display=swap");

/* GENEL FONT AYARLARI */
html {
    font-size: 16px !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

body,
body.wp-theme-listable,
.site-content,
article,
p,
span,
div,
li,
td,
th,
label {
    font-family: "Inter", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #1e293b !important;
    line-height: 1.7 !important;
    letter-spacing: 0.01em !important;
}

/* BASLIKLAR */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.archive-title,
.widget-title,
.section-title {
    font-family: "Nunito", "Inter", sans-serif !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

h1, .entry-title { font-size: 2.25rem !important; }
h2 { font-size: 1.75rem !important; }
h3 { font-size: 1.5rem !important; }
h4 { font-size: 1.25rem !important; }
h5 { font-size: 1.125rem !important; }
h6 { font-size: 1rem !important; }

/* PARAGRAFLAR */
p,
.entry-content p,
.page-content p,
article p,
.widget p,
.card__content p {
    font-size: 1.0625rem !important;
    color: #334155 !important;
    line-height: 1.8 !important;
    margin-bottom: 1.25em !important;
}

/* LINKLER */
a,
a:visited {
    color: #ea580c !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

a:hover,
a:focus {
    color: #c2410c !important;
    text-decoration: underline !important;
}

/* Menu linkleri beyaz kalsin */
.primary-menu a,
.main-navigation a,
.site-header a,
header a,
.menu-item a {
    color: white !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.primary-menu a:hover,
.main-navigation a:hover {
    color: #F7941D !important;
}

/* LISTELER */
ul, ol {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: #334155 !important;
}

li {
    margin-bottom: 0.5em !important;
    font-size: inherit !important;
}

/* KUCUK METINLER - BUYUTME */
small,
.small,
.meta,
.entry-meta,
.post-meta,
.card__meta,
.listing-meta,
time,
.date,
.byline,
.author,
figcaption,
caption {
    font-size: 0.9375rem !important;
    color: #475569 !important;
    font-weight: 500 !important;
}

/* KARTLAR VE LISTINGLER */
.card,
.listing-card,
.job_listing,
article.card {
    font-size: 1rem !important;
}

.card__title,
.listing-card-title,
.card__title a,
.listing-card-title a {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
}

.card__title a:hover,
.listing-card-title a:hover {
    color: #ea580c !important;
}

.card__content,
.listing-card-content {
    font-size: 1rem !important;
    color: #334155 !important;
    line-height: 1.7 !important;
}

/* FOOTER */
footer,
.site-footer,
.footer-widgets,
#colophon {
    font-size: 0.9375rem !important;
}

footer a,
.site-footer a,
.footer-widgets a,
.widget--footer a {
    color: #fbbf24 !important;
    font-weight: 500 !important;
}

footer p,
.site-footer p,
.widget--footer p {
    color: #e2e8f0 !important;
    font-size: 0.9375rem !important;
}

footer h3,
footer h4,
.widget--footer h3,
.widget--footer .widget-title {
    color: #ffffff !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
}

footer li,
.widget--footer li {
    color: #e2e8f0 !important;
}

/* SIDEBAR */
.widget,
.sidebar .widget {
    font-size: 1rem !important;
}

.widget-title,
.widget h2 {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 1rem !important;
}

.widget li,
.widget p {
    font-size: 0.9375rem !important;
    color: #334155 !important;
    line-height: 1.7 !important;
}

.widget a {
    color: #ea580c !important;
    font-weight: 500 !important;
}

/* FORM ELEMANLARI */
input,
textarea,
select,
button,
.button,
.btn {
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8 !important;
    font-size: 0.9375rem !important;
}

button,
.button,
.btn,
input[type="submit"] {
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
}

/* TABLOLAR */
table {
    font-size: 0.9375rem !important;
}

th {
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
}

td {
    font-size: 0.9375rem !important;
    color: #334155 !important;
    line-height: 1.6 !important;
}

/* HERO VE BANNER */
.kdk-hero h1,
.hero h1,
.banner h1 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5) !important;
}

.kdk-hero p,
.hero p,
.banner p {
    font-size: 1.125rem !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4) !important;
}

/* BREADCRUMBS */
.breadcrumbs,
.rank-math-breadcrumb,
.breadcrumb {
    font-size: 0.875rem !important;
    color: #64748b !important;
}

.breadcrumbs a,
.rank-math-breadcrumb a {
    color: #ea580c !important;
    font-weight: 500 !important;
}

/* ARCHIVE HEADER */
.archive-header h1,
.page-header h1,
.archive-title {
    font-size: 2rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

.archive-header p,
.archive-description {
    font-size: 1.0625rem !important;
    color: #e2e8f0 !important;
}

/* TEK YAZI SAYFASI */
.single .entry-title,
.single-post .entry-title {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.single .entry-content,
.single-post .entry-content {
    font-size: 1.125rem !important;
    line-height: 1.9 !important;
    color: #334155 !important;
}

.single .entry-content p {
    font-size: 1.125rem !important;
    margin-bottom: 1.5em !important;
}

/* TEK LISTING SAYFASI */
.single-job_listing .entry-title,
.single-listing h1 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.single-job_listing .entry-content,
.listing-description {
    font-size: 1.0625rem !important;
    line-height: 1.8 !important;
    color: #334155 !important;
}

/* Listing info box */
.listing-info,
.job-listing-info,
.info-box {
    font-size: 1rem !important;
}

.listing-info strong,
.info-box strong {
    font-weight: 700 !important;
    color: #0f172a !important;
}

.listing-info small,
.info-box small {
    font-size: 0.8125rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* BADGE VE ETIKETLER */
.badge,
.tag,
.category-badge,
.listing-card-badge,
.listing-cat {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* GRI RENKLERI KOYU YAP */
.text-muted,
.text-secondary {
    color: #475569 !important;
}

/* LISTABLE TEMA SPESIFIK */
.card--listing .card__title,
.grid__item .card__title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

.card--listing .card__content,
.grid__item .card__content {
    font-size: 1rem !important;
}

/* Section basliklari */
.kdk-section-title,
.section-title,
.kadikoy-hakkinda h2,
.kadikoy-gezilecek h2,
.kadikoy-ulasim h2,
.kadikoy-etkinlikler h2,
.kadikoy-mekanlar h2 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

/* ARAMA SONUCLARI */
.search-results .entry-title {
    font-size: 1.5rem !important;
}

.search-results .entry-summary {
    font-size: 1rem !important;
    color: #334155 !important;
}

/* MOBIL OPTIMIZASYON */
@media (max-width: 768px) {
    html {
        font-size: 15px !important;
    }

    h1, .entry-title {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    p, .entry-content p {
        font-size: 1rem !important;
    }

    .kdk-hero h1 {
        font-size: 1.75rem !important;
    }

    .kdk-hero p {
        font-size: 1rem !important;
    }
}
