/* =========================================================
   EVİNKİRADA PREMIUM TASARIM SİSTEMİ
   Düzenlenmiş ortak CSS
========================================================= */


:root {
    --ek-navy: #23466B;
    --ek-navy-2: #315B83;
    --ek-blue: #23466B;
    --ek-blue-2: #315B83;
    --ek-gold: #FF9F43;
    --ek-bg: #f5f7fa;
    --ek-white: #fff;
    --ek-text: #172b3a;
    --ek-muted: #667085;
    --ek-line: #e5eaf0;
    --ek-soft: #eef5fb;
    --ek-shadow: 0 12px 35px rgba(35,70,107,.08);
    --ek-shadow-lg: 0 22px 55px rgba(35,70,107,.14);
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--ek-bg);
    color: var(--ek-text);
    font-family: Inter, Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

/* ÜST SABİT MENÜ */
.ek-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    min-height: 82px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--ek-line);
    box-shadow: 0 4px 24px rgba(16,42,67,.06);
}

.ek-site-nav {
    width: min(1240px, calc(100% - 32px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* LOGO */
.ek-site-nav > .ek-brand {
    flex: 0 0 auto;
    display: inline-block;
    margin: 0 8px 0 0;
    text-decoration: none;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.8px;
    line-height: 1.2;
    color: var(--ek-navy);
    white-space: nowrap;
}

.ek-brand span {
    color: var(--ek-blue);
}

/* MASAÜSTÜ MENÜ */
.ek-site-nav > .ek-menu {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

.ek-menu > a {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 5px;
    border-radius: 10px;
    text-decoration: none;
    color: #243b53;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}

.ek-menu > a:hover,
.ek-menu > a.active {
    background: #eef6fc;
    color: var(--ek-blue);
}

.ek-menu > a.cta {
    margin-left: 4px;
    padding: 11px 12px;
    color: #fff;
    background: var(--ek-navy);
    box-shadow: 0 7px 18px rgba(16,42,67,.16);
}

.ek-menu > a.cta:hover {
    color: #fff;
    background: var(--ek-navy-2);
}

/* ÜYE BİLGİSİ */
.ek-user-box {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin-left: 2px;
    padding-left: 8px;
    border-left: 1px solid var(--ek-line);
}

.ek-user-name {
    color: var(--ek-navy);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
}

.ek-user-name:hover {
    color: var(--ek-blue);
}

.ek-user-dot {
    color: #20a464;
    font-size: 10px;
    margin-right: 4px;
}

.ek-menu .ek-logout {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 9px !important;
    border-radius: 8px !important;
    background: #f4f6f8 !important;
    color: #667085 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.ek-menu .ek-logout:hover {
    background: #fff0f0 !important;
    color: #b42318 !important;
}

.ek-menu > a.ek-header-listing {
    padding: 10px 12px;
    border-radius: 9px;
    background: var(--ek-blue);
    color: #fff;
    font-weight: 800;
}

.ek-menu > a.ek-header-listing:hover {
    background: var(--ek-navy);
    color: #fff;
}

/* HAMBURGER BUTONU: MOBİLDE GÖRÜNÜR */
.ek-mobile-button {
    display: none;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ek-line);
    border-radius: 11px;
    background: #fff;
    color: var(--ek-navy);
    font-size: 22px;
    cursor: pointer;
}

/* GENEL SAYFA ALANLARI */
.ek-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ek-section {
    padding: 58px 0;
}

.ek-section-title {
    margin-bottom: 28px;
}

.ek-section-title h1,
.ek-section-title h2 {
    margin: 0 0 10px;
    color: var(--ek-navy);
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -.7px;
}

.ek-section-title p {
    margin: 0;
    color: var(--ek-muted);
    line-height: 1.6;
}

.ek-card {
    background: #fff;
    border: 1px solid var(--ek-line);
    border-radius: 18px;
    box-shadow: var(--ek-shadow);
}

/* BUTONLAR */
.ek-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 11px;
    background: var(--ek-navy);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease;
}

.ek-button:hover {
    background: var(--ek-navy-2);
    box-shadow: 0 9px 20px rgba(16,42,67,.14);
}

.ek-button.blue {
    background: var(--ek-blue);
}

.ek-button.blue:hover {
    background: #125b93;
}

.ek-button.gold {
    background: var(--ek-gold);
    color: #fff;
}

.ek-button.light {
    background: #fff;
    color: var(--ek-navy);
    border: 1px solid var(--ek-line);
}

/* FORM ALANLARI */
.ek-input,
.ek-select {
    width: 100%;
    height: 48px;
    border: 1px solid #d8e0e8;
    border-radius: 11px;
    background: #fff;
    color: var(--ek-text);
    padding: 0 14px;
    font: inherit;
    outline: none;
}

.ek-input:focus,
.ek-select:focus {
    border-color: #75a9cf;
    box-shadow: 0 0 0 4px rgba(23,105,170,.10);
}

/* ALT BİLGİ ALANI */
.ek-footer {
    margin-top: 70px;
    background: var(--ek-navy);
    color: #dbe7f0;
}

.ek-footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 26px;
}

.ek-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
}

.ek-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
}

.ek-footer p,
.ek-footer a {
    color: #b9c9d7;
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
}

.ek-footer a:hover {
    color: #fff;
}

.ek-footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
    color: #9fb2c2;
}

/* TABLET VE DAR EKRAN: MENÜ HAMBURGER OLUR */
@media (max-width: 1100px) {
    .ek-site-header {
        min-height: 70px;
    }

    .ek-site-nav {
        position: relative;
        width: calc(100% - 28px);
        min-height: 70px;
        justify-content: space-between;
        gap: 12px;
    }

    .ek-site-nav > .ek-brand {
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100% - 60px);
        font-size: 23px;
        letter-spacing: -1px;
    }

    .ek-mobile-button {
        display: inline-flex;
    }

    .ek-site-nav > .ek-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: -14px;
        right: -14px;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        padding: 12px 16px 18px;
        background: #fff;
        border-bottom: 1px solid var(--ek-line);
        box-shadow: 0 15px 30px rgba(16,42,67,.12);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 2px;
    }

    .ek-site-nav > .ek-menu.open {
        display: flex;
    }

    .ek-menu > a {
        flex: 0 0 auto;
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
        white-space: normal;
    }

    .ek-menu > a.cta {
        margin: 4px 0 0;
    }

    .ek-user-box {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: 0;
        border-top: 1px solid var(--ek-line);
        margin: 4px 0 0;
        padding: 12px 0 0;
        width: 100%;
        justify-content: space-between;
    }

    .ek-user-name {
        font-size: 13px;
    }

    .ek-menu .ek-logout {
        font-size: 12px !important;
    }
}

/* SAYFA İÇERİKLERİ: MOBİL */
@media (max-width: 820px) {
    .ek-page {
        width: calc(100% - 28px);
    }

    .ek-section-title h1,
    .ek-section-title h2 {
        font-size: 28px;
    }

    .ek-footer-inner {
        width: calc(100% - 28px);
    }

    .ek-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* KÜÇÜK TELEFONLAR */
@media (max-width: 520px) {
    .ek-site-nav > .ek-brand {
        font-size: 21px;
    }

    .ek-footer-grid {
        grid-template-columns: 1fr;
    }
}
/* LOGOYU KÜÇÜLT */
@media (min-width: 821px) {
    .ek-site-nav > .ek-brand {
        font-size: 16px !important;
        letter-spacing: -0.5px !important;
        margin-right: 12px !important;
    }
}

/* Evinkirada - açık sarı tema */
:root {
    --accent: #FFE8A3;
    --accent-hover: #FFD76A;
}

/* Menü ikonları */
.premium-header .nav-icon,
.premium-header .menu-icon {
    color: #FFE8A3 !important;
}

/* Seçili menü */
.premium-header .active,
.premium-header a.active {
    color: #FFE8A3 !important;
}

/* İlan ver butonu ve sarı aksiyonlar */
.premium-header .listing-button,
.premium-header .btn-primary,
.premium-header .cta-button {
    background: #FFE8A3 !important;
    color: #102A43 !important;
    border-color: #FFE8A3 !important;
}

/* Üzerine gelince */
.premium-header .listing-button:hover,
.premium-header .btn-primary:hover,
.premium-header .cta-button:hover {
    background: #FFD76A !important;
    color: #102A43 !important;
}
