/*
Theme Name: INemlakBana OS Theme
Theme URI: http://www.introduce.com.tr
Author: Ural ÇELİK
Author URI: http://www.introduce.com.tr
Description: Türkiye'nin en kapsamlı emlak SaaS platformu teması. INemlakBana OS eklentisi ile entegre çalışır.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inemlakbana-theme
Requires at least: 6.0
Requires PHP: 7.4
Tags: real-estate, one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@100..900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ─── CSS Variables ─── */
:root {
    /* EmlakBANA Brand — Airbnb Red to match logo */
    --color-primary: #FF385C;
    --color-primary-dark: #E31C5F;
    --color-primary-light: #FF5A76;
    --color-primary-50: #FFF1F2;
    --color-primary-100: #FFE4E8;
    --color-primary-600: #FF385C;
    --color-primary-700: #E31C5F;
    --color-teal: #00A699;
    --color-dark: #222222;
    --color-muted: #717171;
    --color-border: #DDDDDD;
    --color-bg: #F7F7F7;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    
    --font-heading: 'Instrument Serif', serif;
    --font-ui: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-main: 'Outfit', 'Plus Jakarta Sans', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.14);
    
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ─────────────────────────────────────────────────
   BRAND OVERRIDE: Tailwind indigo → EmlakBANA Red
   These rules override Tailwind CDN indigo utilities
   so all pages adopt the brand color automatically.
   ───────────────────────────────────────────────── */

/* Background overrides */
.bg-indigo-600, .hover\:bg-indigo-600:hover  { background-color: #FF385C !important; }
.bg-indigo-700, .hover\:bg-indigo-700:hover  { background-color: #E31C5F !important; }
.bg-indigo-500, .hover\:bg-indigo-500:hover  { background-color: #FF5A76 !important; }
.bg-indigo-50,  .hover\:bg-indigo-50:hover   { background-color: #FFF1F2 !important; }
.bg-indigo-100, .hover\:bg-indigo-100:hover  { background-color: #FFE4E8 !important; }
.bg-indigo-900, .hover\:bg-indigo-900:hover  { background-color: #9B1435 !important; }

/* Text overrides */
.text-indigo-600, .hover\:text-indigo-600:hover { color: #FF385C !important; }
.text-indigo-700, .hover\:text-indigo-700:hover { color: #E31C5F !important; }
.text-indigo-500, .hover\:text-indigo-500:hover { color: #FF5A76 !important; }
.text-indigo-400, .hover\:text-indigo-400:hover { color: #FF7594 !important; }

/* Border overrides */
.border-indigo-600, .hover\:border-indigo-600:hover,
.focus\:border-indigo-600:focus { border-color: #FF385C !important; }
.border-indigo-200, .hover\:border-indigo-200:hover { border-color: #FFBEC9 !important; }
.border-indigo-100 { border-color: #FFE4E8 !important; }

/* Ring / focus ring overrides */
.focus\:ring-indigo-500\/10:focus { --tw-ring-color: rgba(255,56,92,0.1) !important; }
.focus\:ring-indigo-500:focus     { --tw-ring-color: rgba(255,56,92,0.5) !important; }

/* peer-checked overrides for checkboxes / radio */
.peer-checked\:bg-indigo-600          { background-color: #FF385C !important; }
.peer-checked\:border-indigo-600      { border-color: #FF385C !important; }
.peer-checked\:text-white             { color: #fff !important; }

/* Shadow overrides */
.shadow-indigo-600\/30 { box-shadow: 0 10px 20px rgba(255,56,92,0.3) !important; }
.shadow-indigo-600\/20 { box-shadow: 0 10px 20px rgba(255,56,92,0.2) !important; }
.shadow-indigo-200     { box-shadow: 0 4px 16px rgba(255,56,92,0.2) !important; }
.shadow-indigo-900\/40 { box-shadow: 0 4px 20px rgba(155,20,53,0.4) !important; }

/* Gradient overrides */
.from-indigo-600 { --tw-gradient-from: #FF385C !important; }
.to-indigo-700   { --tw-gradient-to:   #E31C5F !important; }
.via-indigo-600  { --tw-gradient-via:  #FF385C !important; }

/* text-color accent for checkbox inputs */
.text-indigo-600[type="checkbox"],
input.text-indigo-600 { accent-color: #FF385C !important; }

/* ──────────────────────────────────────────────── */

[data-theme='dark'] {
    --color-bg: #09090b;
    --color-dark: #f8fafc;
    --color-muted: #94a3b8;
    --color-border: #27272a;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.5);
    background: #09090b;
}

body[data-theme='dark'] { background: #09090b; color: #f8fafc; }

/* ─── Utilities ─── */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── Reset / Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; width: 100%; }
body {
    background: #fff;
    color: var(--color-dark);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: clip;
    width: 100%;
    position: relative;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ─── Container ─── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ─── Typography ─── */
.heading-xl { font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 400; letter-spacing: -0.01em; line-height: 0.95; color: var(--color-dark); }
.heading-lg { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -0.01em; color: var(--color-dark); }
.heading-md { font-family: var(--font-ui); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--color-dark); letter-spacing: -0.02em; }
.heading-sm { font-family: var(--font-ui); font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 710; color: var(--color-dark); }
.section-label { font-family: var(--font-ui); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-primary); margin-bottom: 12px; }

/* ─── Buttons ─── */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--color-primary); color: #fff; font-weight: 800; padding: 14px 28px; border-radius: 16px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 10px 20px -5px rgba(255,56,92,0.3); }
.btn-primary:hover { background: var(--color-primary-dark); transform: scale(1.02) translateY(-2px); box-shadow: 0 20px 30px -10px rgba(255,56,92,0.4); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -6px rgba(255,56,92,0.3); }
.btn-primary:active { transform: scale(0.95) translateY(0); }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: var(--color-dark); font-weight: 600; padding: 12px 24px; border-radius: var(--radius-full); border: 1px solid var(--color-border); transition: all 0.3s; }
.btn-secondary:hover { border-color: var(--color-dark); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ─── Cards ─── */
.card { background: #fff; border-radius: var(--radius-lg); border: 1px solid #f0f0f0; transition: all 0.2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* ─── Badge ─── */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; }
.badge--primary { background: var(--color-primary-50); color: var(--color-primary-700); }
.badge--success { background: #ECFDF5; color: #065F46; }
.badge--warning { background: #FFFBEB; color: #92400E; }
.badge--info { background: #EFF6FF; color: #1E40AF; }
.badge--dark { background: var(--color-dark); color: #fff; }

/* ─── Input & Form Elements ─── */
.input-field { 
    width: 100%; 
    height: 52px;
    padding: 0 20px; 
    border: 1.5px solid #F1F5F9; 
    border-radius: 16px; 
    font-family: var(--font-main); 
    font-size: 14px; 
    font-weight: 710;
    color: var(--color-dark); 
    background: #F8FAFC; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    outline: none; 
    appearance: none;
}
.input-field:focus { 
    background: #fff;
    border-color: var(--color-primary); 
    box-shadow: 0 10px 20px rgba(255, 56, 92, 0.05); 
}
.input-field:hover { border-color: #E2E8F0; }

select.input-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
    cursor: pointer;
}

/* ─── Navbar ─── */
.eb-navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 80px; display: flex; align-items: center; background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: all 0.3s; }
.eb-navbar.scrolled { background: #fff; border-bottom-color: #f0f0f0; box-shadow: var(--shadow-sm); }
.eb-navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0 16px; }
.eb-navbar__logo img { height: 40px; width: auto; }
.eb-navbar__links { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .eb-navbar__links { display: flex; } }
.eb-navbar__link { display: flex; flex-direction: column; padding: 8px 16px; border-radius: var(--radius-lg); transition: background 0.2s; }
.eb-navbar__link:hover { background: var(--color-bg); }
.eb-navbar__link-title { font-size: 13px; font-weight: 700; color: var(--color-dark); text-transform: uppercase; letter-spacing: -0.01em; }
.eb-navbar__link-sub { font-size: 10px; color: #999; }
.eb-navbar__actions { display: flex; align-items: center; gap: 12px; }
.eb-navbar__icon-btn { 
    width: 44px; 
    height: 44px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 12px; 
    color: #475569; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative;
    background: transparent;
}
.eb-navbar__icon-btn:hover { background: #F1F5F9; color: var(--color-primary); transform: translateY(-1px); }
.eb-navbar__badge { 
    position: absolute; 
    top: 8px; 
    right: 8px; 
    width: 16px; 
    height: 16px; 
    background: var(--color-primary); 
    color: #fff; 
    font-size: 9px; 
    font-weight: 900; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 2px solid #fff; 
}

.eb-navbar__user-btn { display: flex; align-items: center; gap: 10px; border: 1.5px solid #F1F5F9; border-radius: var(--radius-full); padding: 6px 6px 6px 14px; background: #fff; transition: all 0.2s; }
.eb-navbar__user-btn:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: #E2E8F0; }
.eb-navbar__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--color-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; overflow: hidden; }
.eb-navbar__avatar img { width: 100%; height: 100%; object-fit: cover; }
.eb-navbar__dropdown { position: absolute; top: calc(100% + 10px); right: 0; width: 240px; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(15,23,42,0.12); border: 1px solid #f0f0f0; overflow: hidden; display: none; animation: fadeSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.eb-navbar__dropdown.active { display: block; }
.eb-navbar__dropdown a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; transition: background 0.15s; text-decoration: none; }
.eb-navbar__dropdown a:hover { background: var(--color-bg); }
.eb-navbar__dropdown .divider { height: 1px; background: #f0f0f0; }

/* Mobile Menu */
.eb-mobile-toggle { display: flex; padding: 8px; border-radius: var(--radius-sm); }
@media (min-width: 1024px) { .eb-mobile-toggle { display: none; } }
.eb-mobile-menu { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; z-index: 1000; transition: left 0.3s ease; box-shadow: var(--shadow-xl); overflow-y: auto; }
.eb-mobile-menu.active { left: 0; }
.eb-mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; display: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.eb-mobile-overlay.active { display: block; }

/* ─── Footer ─── */
.eb-footer { background: #1a1a2e; color: #fff; padding: 64px 0 0; }
.eb-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 768px) { .eb-footer__grid { grid-template-columns: repeat(2, 1fr); } }
.eb-footer__brand p { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.7; margin-top: 16px; max-width: 220px; }
.eb-footer__social { display: flex; gap: 8px; margin-top: 20px; }
.eb-footer__social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all 0.2s; font-size: 14px; }
.eb-footer__social a:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
.eb-footer__col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.eb-footer__col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); padding: 4px 0; transition: color 0.2s; }
.eb-footer__col a:hover { color: #fff; }
.eb-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; flex-wrap: wrap; gap: 16px; }
.eb-footer__bottom span { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ─── Hero ─── */
.eb-hero { position: relative; background: linear-gradient(135deg, #FFF8F8 0%, #FFF5F0 50%, #F7F7F7 100%); padding: 40px 0 64px; overflow: hidden; }
@media (min-width: 768px) { .eb-hero { padding: 64px 0 96px; } }
.eb-hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: var(--color-primary-100); opacity: 0.25; filter: blur(100px); pointer-events: none; }
.eb-hero .container { position: relative; z-index: 2; }
.eb-hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .eb-hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.eb-hero__pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #eee; border-radius: var(--radius-full); padding: 6px 16px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.eb-hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); animation: pulse-dot 1.5s infinite; }
.eb-hero__pill span { font-size: 12px; font-weight: 600; color: #555; }
.eb-hero__title { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: var(--color-dark); margin-bottom: 12px; }
.eb-hero__subtitle { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; color: var(--color-primary); margin-bottom: 24px; }
.eb-hero__desc { font-size: 16px; color: var(--color-muted); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.eb-hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.eb-hero__trust-item { display: flex; align-items: center; gap: 10px; }
.eb-hero__trust-icon { width: 24px; height: 24px; background: #ECFDF5; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.eb-hero__trust-text { font-size: 13px; font-weight: 500; color: #555; }

/* Hero Form Card */
.eb-hero__card { background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.3); overflow: hidden; }
.eb-hero__tabs { display: flex; padding: 8px; background: rgba(0,0,0,0.02); }
.eb-hero__tab { flex: 1; padding: 16px; font-size: 13px; font-weight: 800; border-radius: var(--radius-lg); transition: all 0.3s; text-align: center; }
.eb-hero__tab.active { background: var(--color-primary); color: #fff; box-shadow: 0 4px 12px rgba(255,56,92,0.3); }
.eb-hero__tab:not(.active) { color: var(--color-muted); }
.eb-hero__tab:not(.active):hover { color: var(--color-dark); background: rgba(0,0,0,0.03); }
.eb-hero__form { padding: 24px; }
.eb-hero__form-group { margin-bottom: 16px; }
.eb-hero__form-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); margin-bottom: 10px; }
.eb-hero__type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.eb-hero__type-btn { padding: 12px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600; border: 2px solid #f0f0f0; background: var(--color-bg); color: #666; transition: all 0.2s; }
.eb-hero__type-btn.active { border-color: var(--color-primary); background: var(--color-primary-50); color: var(--color-primary-700); }
.eb-hero__select-wrap { position: relative; }
.eb-hero__select-wrap::before { content: '📍'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.eb-hero__select-wrap select { width: 100%; padding: 14px 16px 14px 40px; border: 1px solid #ddd; border-radius: var(--radius-md); font-size: 14px; color: var(--color-dark); background: #fff; appearance: none; }

/* ─── Stats Bar ─── */
.eb-stats { border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; background: #fff; }
.eb-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .eb-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.eb-stats__item { text-align: center; padding: 24px 16px; }
.eb-stats__item + .eb-stats__item { border-left: 1px solid #f0f0f0; }
.eb-stats__value { font-size: 24px; font-weight: 800; color: var(--color-dark); }
.eb-stats__label { font-size: 13px; color: var(--color-muted); margin-top: 4px; }

/* ─── Sections ─── */
.eb-section { padding: 64px 0; }
@media (min-width: 768px) { .eb-section { padding: 96px 0; } }
.eb-section--gray { background: var(--color-bg); }
.eb-section--primary { background: var(--color-primary); color: #fff; position: relative; overflow: hidden; }

/* Steps */
.eb-steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .eb-steps { grid-template-columns: repeat(3, 1fr); } }
.eb-step { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-xl); padding: 28px; color: #fff; transition: background 0.3s; }
.eb-step:hover { background: rgba(255,255,255,0.2); }
.eb-step__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.eb-step__icon { width: 48px; height: 48px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.eb-step__num { font-size: 48px; font-weight: 900; color: rgba(255,255,255,0.15); line-height: 1; }
.eb-step__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.eb-step__desc { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* Grid helpers */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .grid-3 { grid-template-columns: 1fr; } }

/* ─── Ticker ─── */
.eb-ticker { overflow: hidden; width: 100%; }
.eb-ticker__inner { display: flex; gap: 16px; width: max-content; animation: ticker 40s linear infinite; }
.eb-ticker__inner:hover { animation-play-state: paused; }
.eb-ticker__item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #f0f0f0; border-radius: var(--radius-lg); padding: 12px 16px; flex-shrink: 0; width: 256px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; cursor: pointer; }
.eb-ticker__item:hover { box-shadow: var(--shadow-md); }
.eb-ticker__emoji { font-size: 20px; flex-shrink: 0; }
.eb-ticker__title { font-size: 13px; font-weight: 600; color: var(--color-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-ticker__meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; }

/* ─── Reveal Animation ─── */
.eb-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.eb-reveal--active { opacity: 1; transform: translateY(0); }

/* ─── Animations ─── */
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.8); } }
@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #bbb; }

/* ─── Focus ─── */
*:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* ─── Selection ─── */
::selection { background: var(--color-primary-100); color: var(--color-primary-dark); }

/* ─── Page spacer for fixed navbar ─── */
body { padding-top: 80px; }

/* ─── Mobile Bottom Nav ─── */
.eb-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0 8px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.06);
    width: 100%;
}

@media (max-width: 1024px) {
    .eb-mobile-nav { display: flex; align-items: center; justify-content: space-between; }
    .eb-navbar__links { display: none !important; }
    body { padding-bottom: 90px !important; }
}

.eb-mobile-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #94A3B8;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-top: 4px;
}

.eb-mobile-nav__item i { width: 20px; height: 20px; stroke-width: 2.2; margin-bottom: 2px; }
.eb-mobile-nav__item:hover, .eb-mobile-nav__item.active { color: var(--color-primary); }

.eb-mobile-nav__item.active i { transform: translateY(-2px); }

.eb-mobile-nav__item.has-badge::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 32%;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(255,56,92,0.3);
}

/* ─── Premium View Toggle Gear ─── */
.eb-view-gear {
    display: flex;
    gap: 4px;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 14px;
    border: 1.5px solid #F1F5F9;
}
.eb-view-gear button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
    background: transparent;
}
.eb-view-gear button.active {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.eb-view-gear button:hover:not(.active) {
    color: #0f172a;
    background: rgba(255,255,255,0.5);
}

/* ─── PWA Splash/Standalone adjustments ─── */
@media all and (display-mode: standalone) {
    .eb-navbar { padding-top: env(safe-area-inset-top); height: calc(80px + env(safe-area-inset-top)); }
    .eb-mobile-nav { padding-bottom: env(safe-area-inset-bottom); height: calc(64px + env(safe-area-inset-bottom)); }
}

/* ─── Toast Notification System (Faz 1) ─── */
#eb-toast-container { 
    position: fixed; 
    top: 100px; 
    right: 24px; 
    z-index: 9999; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    pointer-events: none; 
}

.eb-toast { 
    pointer-events: auto; 
    min-width: 320px; 
    max-width: 400px; 
    background: rgba(255, 255, 255, 0.9); 
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px); 
    border: 1px solid rgba(255, 255, 255, 0.4); 
    border-radius: 20px; 
    padding: 16px 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    animation: toastIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    position: relative;
    overflow: hidden;
}

.eb-toast::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 6px;
    background: var(--color-primary);
}

.eb-toast--success::before { background: var(--color-success); }
.eb-toast--error::before { background: var(--color-error); }
.eb-toast--info::before { background: var(--color-primary); }

@keyframes toastIn { 
    from { opacity: 0; transform: translateX(50px) scale(0.9); } 
    to { opacity: 1; transform: translateX(0) scale(1); } 
}

.eb-toast--out { 
    animation: toastOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important; 
}

@keyframes toastOut { 
    from { opacity: 1; transform: translateX(0) scale(1); } 
    to { opacity: 0; transform: translateX(50px) scale(0.9); } 
}

.eb-toast__icon { 
    width: 40px; 
    height: 40px; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
}
.eb-toast--success .eb-toast__icon { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.eb-toast--error .eb-toast__icon { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.eb-toast--info .eb-toast__icon { background: rgba(255, 56, 92, 0.1); color: var(--color-primary); }

.eb-toast__body { flex: 1; }
.eb-toast__title { font-size: 13px; font-weight: 800; color: #0f172a; margin-bottom: 2px; }
.eb-toast__message { font-size: 12px; color: #64748b; line-height: 1.4; font-weight: 600; }

.eb-toast__close { 
    width: 24px; height: 24px; 
    display: flex; align-items: center; justify-content: center; 
    color: #94A3B8; cursor: pointer; border-radius: 50%; transition: all 0.2s; 
}
.eb-toast__close:hover { background: #F1F5F9; color: #0f172a; }

/* ─── Messenger UI ─── */
.eb-messenger-shortcode { background: #fff; border-radius: 24px; border: 1px solid #E2E8F0; overflow: hidden; box-shadow: 0 40px 100px rgba(15,23,42,0.08); height: 750px; }
.eb-chat-container { display: grid; grid-template-columns: 360px 1fr; height: 100%; }
.eb-chat-sidebar { border-right: 1px solid #F1F5F9; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.eb-chat-sidebar-header { padding: 32px 24px 24px; }
.eb-chat-search { position: relative; }
.eb-chat-search i { position: absolute; left: 16px; top: 14px; color: #94A3B8; }
.eb-chat-search input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid #F1F5F9; background: #F8FAFC; padding-left: 48px; font-size: 14px; font-weight: 800; outline: none; transition: 0.2s; }
.eb-chat-search input:focus { border-color: var(--color-primary); background: #fff; }

.eb-chat-list { flex: 1; overflow-y: auto; padding: 12px; }
.eb-chat-item { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; margin-bottom: 4px; transition: all 0.2s; border: none; cursor: pointer; text-align: left; background: transparent; }
.eb-chat-item:hover { background: #F8FAFC; }
.eb-chat-item.active { background: #FFF1F2; }
.eb-chat-avatar { width: 48px; height: 48px; border-radius: 15px; background: #0f172a; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 950; position: relative; }
.unread-dot { width: 10px; height: 10px; background: var(--color-primary); border-radius: 50%; position: absolute; top: -2px; right: -2px; border: 2px solid #fff; }
.eb-chat-info { flex: 1; min-width: 0; }
.chat-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.chat-name { font-size: 14px; font-weight: 950; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-time { font-size: 11px; font-weight: 800; color: #94A3B8; }
.chat-preview { font-size: 13px; color: #64748b; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.eb-chat-window { background: #fff; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.eb-chat-zero-display { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.zero-icon { width: 80px; height: 80px; background: #F1F5F9; color: #94A3B8; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.zero-icon i { width: 36px; height: 36px; }

.eb-chat-view-header { padding: 20px 32px; border-bottom: 1px solid #F1F5F9; background: #fff; z-index: 10; }
.header-left { display: flex; align-items: center; gap: 16px; }
.header-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 950; }
.header-title { font-weight: 950; font-size: 16px; color: #0f172a; }
.online-indicator { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 900; color: #10B981; }
.online-indicator .dot { width: 6px; height: 6px; background: #10B981; border-radius: 50%; }

.eb-messages-viewport { flex: 1; padding: 32px; overflow-y: auto; background: #fff; background-image: radial-gradient(#F1F5F9 1px, transparent 1px); background-size: 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.eb-msg-bubble { max-width: 75%; padding: 14px 20px; border-radius: 20px; font-size: 14px; font-weight: 600; line-height: 1.5; box-shadow: 0 4px 12px rgba(0,0,0,0.01); }
.eb-msg--received { align-self: flex-start; background: #F1F5F9; color: #1e293b; border-bottom-left-radius: 4px; }
.eb-msg--sent { align-self: flex-end; background: var(--color-primary); color: #fff; border-bottom-right-radius: 4px; }

.eb-chat-composer { padding: 24px 32px; background: #fff; border-top: 1px solid #F1F5F9; }
.composer-form { display: flex; gap: 16px; align-items: center; }
.composer-form input { flex: 1; height: 56px; border-radius: 16px; border: 2px solid #F1F5F9; background: #F8FAFC; padding: 0 24px; font-size: 15px; font-weight: 800; outline: none; transition: 0.2s; }
.composer-form input:focus { border-color: var(--color-primary); background: #fff; }
.send-btn { width: 56px; height: 56px; border-radius: 16px; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; transition: 0.3s; cursor: pointer; border: none; }
.send-btn:hover { background: var(--color-primary-dark); transform: scale(1.05); }

/* ─── Archive Search Form ─── */
.eb-archive-search-form { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1.2fr 1fr; 
    gap: 20px; 
    align-items: flex-end; 
}

.search-field-group label { 
    display: block; 
    font-size: 11px; 
    font-weight: 900; 
    color: #94A3B8; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    margin-bottom: 12px; 
}

/* ─── Quick Filter Pills ─── */
.eb-quick-pill {
    padding: 10px 20px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid #F1F5F9;
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.eb-quick-pill i { width: 14px; height: 14px; }
.eb-quick-pill:hover { border-color: var(--color-primary); color: var(--color-primary); background: #FFF1F2; transform: translateY(-2px); }
.eb-quick-pill.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); box-shadow: 0 10px 20px rgba(255, 56, 92, 0.2); }

/* ─── Notification Center (v1.1.0 Premium) ─── */
.eb-navbar__notification-relative { position: relative; }
.eb-notif-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: -80px;
    width: 360px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    display: none;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 480px) { .eb-notif-dropdown { right: -120px; width: 300px; } }
.eb-notif-dropdown.active { display: block; animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

.eb-notif-header { padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.eb-notif-header h3 { font-size: 14px; font-weight: 850; color: #011627; }
.eb-notif-mark-all { font-size: 11px; font-weight: 800; color: var(--color-primary); cursor: pointer; transition: opacity 0.2s; }
.eb-notif-mark-all:hover { opacity: 0.7; }

.eb-notif-list { max-height: 400px; overflow-y: auto; }
.eb-notif-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.2s;
    text-decoration: none !important;
}
.eb-notif-item:hover { background: rgba(0,0,0,0.02); }
.eb-notif-item.unread { background: rgba(255, 56, 92, 0.03); }
.eb-notif-item.unread::after { content: ''; width: 6px; height: 6px; background: var(--color-primary); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }

.eb-notif-icon {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.eb-notif-icon--info { background: #E0E7FF; color: #4338CA; }
.eb-notif-icon--success { background: #D1FAE5; color: #059669; }
.eb-notif-icon--warning { background: #FEF3C7; color: #D97706; }

.eb-notif-content { flex: 1; }
.eb-notif-title { font-size: 13px; font-weight: 800; color: #1e293b; line-height: 1.2; margin-bottom: 4px; }
.eb-notif-msg { font-size: 12px; color: #64748b; font-weight: 600; line-height: 1.4; }
.eb-notif-time { font-size: 10px; color: #94A3B8; font-weight: 710; margin-top: 6px; }

.eb-notif-footer { padding: 12px; text-align: center; background: rgba(0,0,0,0.01); border-top: 1px solid rgba(0,0,0,0.03); }
.eb-notif-all-link { font-size: 12px; font-weight: 850; color: #64748b; transition: color 0.2s; }
.eb-notif-all-link:hover { color: var(--color-dark); }

.eb-notif-empty { padding: 40px 20px; text-align: center; color: #94A3B8; }
.eb-notif-empty i { width: 48px; height: 48px; stroke-width: 1.5; margin-bottom: 12px; opacity: 0.3; }
.eb-notif-empty p { font-size: 13px; font-weight: 710; }

.notif-pulse { 
    animation: badge-pulse 2s infinite; 
    box-shadow: 0 0 0 0 rgba(255, 56, 92, 0.4); 
}
@keyframes badge-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 56, 92, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 56, 92, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 56, 92, 0); }
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════
   MOBİL UYUMLULUK — Kapsamlı Responsive Düzeltmeler
   ═══════════════════════════════════════════════════ */

/* ── Listing Card Fixed Width (touch scroll) ── */
.listing-card {
    min-width: 280px;
    width: 280px;
    flex-shrink: 0;
}

/* ── Hide-scrollbar utility ── */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ══ Tablet (max 1024px) ══ */
@media (max-width: 1024px) {
    /* Header */
    .eb-navbar { height: 64px; }
    body { padding-top: 64px; }
    
    /* Sticky category nav — show on mobile too */
    #eb-sticky-cats { top: 64px !important; }
}

/* ══ Mobile (max 768px) ══ */
@media (max-width: 768px) {

    /* ── Global ── */
    html, body { overflow-x: clip; width: 100%; max-width: 100vw; }

    /* ── Header ── */
    .eb-navbar { height: 64px; padding: 0 12px; }
    body { padding-top: 64px; padding-bottom: 84px; }
    
    .eb-navbar__logo img { height: 32px; }
    .eb-navbar__actions { gap: 8px; }
    .eb-navbar__icon-btn { width: 40px; height: 40px; }

    /* ── Hero Section ── */
    section.relative.min-h-\[800px\] {
        min-height: 0 !important;
        padding: 24px 16px 32px !important;
    }

    /* Hero heading */
    h1.text-5xl {
        font-size: 2.2rem !important;
        line-height: 1.15 !important;
        margin-bottom: 16px;
    }

    h1.text-5xl .text-secondary { display: inline; }

    /* Hero paragraph */
    p.text-xl { font-size: 1rem !important; line-height: 1.7 !important; }

    /* Hero grid → stack */
    .max-w-\[1400px\].grid { 
        grid-template-columns: 1fr !important; 
        gap: 32px !important;
    }

    /* Smart Hero Form Card */
    .bg-white\/95.backdrop-blur { 
        border-radius: 20px !important; 
        margin: 0 !important;
    }

    /* Hero tab buttons */
    .hero-tab { 
        padding: 14px 8px !important; 
        font-size: 10px !important;
        letter-spacing: 0.05em !important;
    }
    .hero-tab i { width: 18px !important; height: 18px !important; }

    /* Form padding */
    .p-8, .p-10, .md\:p-10 { padding: 20px !important; }

    /* Select & input elements — bigger tap area */
    select, input[type="text"], input[type="number"], input {
        height: 52px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
    }

    /* Submit buttons */
    button[type="submit"] {
        height: 52px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
    }

    /* ── Ticker Bar ── */
    .bg-\[\#0f172a\] .flex.items-center > div:first-child {
        padding: 8px 12px !important;
        font-size: 11px !important;
        flex-shrink: 0;
    }

    /* ── Listing Section Headers ── */
    .px-8.max-w-\[1440px\] { padding: 0 16px !important; }

    h2.text-xl, h2.text-2xl { 
        font-size: 1.1rem !important; 
        line-height: 1.3 !important;
    }

    /* ── Listing Cards ── */
    .listing-card {
        min-width: 270px !important;
        width: 270px !important;
        border-radius: 20px !important;
        scroll-snap-align: center;
    }

    /* Better Slider Centering for Mobile */
    [id^="scroll-"] { 
        display: flex; 
        justify-content: flex-start;
        padding-left: calc(50vw - 135px); /* Center the first card */
        padding-right: calc(50vw - 135px); /* Center the last card */
        scroll-snap-type: x mandatory;
    }
    
    [id^="scroll-"]::-webkit-scrollbar { display: none; }

    .listing-card .text-2xl { 
        font-size: 1.35rem !important; 
        font-weight: 900;
    }

    .listing-card h4 { 
        font-size: 13px !important; 
        line-height: 1.4 !important;
    }

    /* ── CTA Section ── */
    .py-24 { padding-top: 48px !important; padding-bottom: 48px !important; }
    .py-24 h2 { font-size: 1.75rem !important; line-height: 1.2 !important; }
    .py-24 p { font-size: 15px !important; }
    
    /* Stack CTA flex → column */
    .flex.flex-col.lg\:flex-row { flex-direction: column !important; }
    .px-8.relative { padding: 0 20px !important; }

    /* ── Sections spacing ── */
    .py-12 { padding-top: 40px !important; padding-bottom: 40px !important; }
    .space-y-16 > * + * { margin-top: 40px !important; }

    /* ── Steps Grid / Feature Grid ── */
    .eb-steps { grid-template-columns: 1fr !important; gap: 16px !important; }
    .grid-3 { grid-template-columns: 1fr !important; gap: 16px !important; }

    /* ── Footer ── */
    .eb-footer__grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
    .eb-footer { padding: 40px 0 0 !important; }
    .eb-footer .container { padding: 0 20px !important; }

    /* ── Stats Bar ── */
    .eb-stats__grid { grid-template-columns: repeat(2, 1fr) !important; }
    .eb-stats__value { font-size: 20px !important; }
    .eb-stats__label { font-size: 12px !important; }

    /* ── Mobile Bottom Nav text ── */
    .eb-mobile-nav__item span:not(i) { 
        font-size: 9px !important; 
        letter-spacing: 0 !important;
    }
    .eb-mobile-nav__item { padding-top: 6px !important; }

    /* ── Mobile Menu Sidebar ── */
    .eb-mobile-menu { width: 88vw !important; max-width: 320px !important; }
    .eb-mobile-menu a { font-size: 15px !important; padding: 14px 20px !important; }

    /* ── Section 3 inner spacing ── */
    .max-w-7xl.mx-auto.px-8 { padding-left: 20px !important; padding-right: 20px !important; }
    .gap-20 { gap: 32px !important; }
    .space-y-8 { --tw-space-y-reverse: 0; margin-top: 20px !important; }
    
    /* ── Guest dropdown full-width on mobile ── */
    #eb-guest-relative, #eb-user-pill { display: none !important; }

    /* ── Ticker section font ── */
    .animate-ticker span.font-medium { font-size: 12px !important; }
}

/* ══ Small Mobile (max 400px) ══ */
@media (max-width: 400px) {
    h1.text-5xl { font-size: 1.9rem !important; }
    .hero-tab { font-size: 9px !important; padding: 12px 4px !important; }
    .listing-card { min-width: 210px !important; width: 210px !important; }
    .eb-mobile-nav__item i { width: 18px !important; height: 18px !important; }
}



/* -------------------------------------------------------------------
   CHATGPT-STYLE COLLAPSIBLE SIDEBAR  �  EmlakBana Dashboard
   ------------------------------------------------------------------- */

:root {
    --sb-w-open:       260px;
    --sb-w-closed:      64px;
    --sb-bg:           #0f172a;
    --sb-bg-hover:     rgba(255,255,255,0.06);
    --sb-bg-active:    rgba(255, 56, 92, 0.18);
    --sb-accent:       #FF385C;
    --sb-accent-glow:  rgba(255, 56, 92, 0.35);
    --sb-text:         #94a3b8;
    --sb-text-active:  #f8fafc;
    --sb-border:       rgba(255,255,255,0.06);
    --sb-radius:       14px;
    --sb-transition:   width 0.3s cubic-bezier(0.4,0,0.2,1),
                       opacity 0.25s ease,
                       transform 0.25s ease;
}

.eb-dashboard-canvas { display: flex; min-height: 100vh; }

.eb-chatgpt-sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: var(--sb-w-open);
    background: var(--sb-bg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 200;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
    border-right: 1px solid var(--sb-border);
    box-shadow: 4px 0 24px rgba(0,0,0,0.18);
}

.eb-chatgpt-sidebar.is-collapsed { width: var(--sb-w-closed); }

.eb-main {
    flex: 1;
    margin-left: var(--sb-w-open);
    padding: 32px;
    transition: margin-left 0.3s cubic-bezier(0.4,0,0.2,1);
    min-width: 0;
}

.eb-chatgpt-sidebar.is-collapsed + .eb-main { margin-left: var(--sb-w-closed); }

.eb-sidebar-toggle {
    position: absolute;
    top: 18px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: transparent; border: none;
    color: var(--sb-text);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, right 0.3s, transform 0.3s;
    z-index: 10; flex-shrink: 0;
}
.eb-sidebar-toggle:hover { background: var(--sb-bg-hover); color: var(--sb-text-active); }
.eb-sidebar-toggle i { width: 18px; height: 18px; }
.eb-toggle-icon-open  { display: block; }
.eb-toggle-icon-close { display: none; }
.eb-chatgpt-sidebar.is-collapsed .eb-toggle-icon-open  { display: none; }
.eb-chatgpt-sidebar.is-collapsed .eb-toggle-icon-close { display: block; }
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-toggle {
    right: 50%; transform: translateX(50%);
}

.eb-sidebar-brand {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 16px 16px;
    margin-bottom: 4px;
    text-decoration: none;
    overflow: hidden;
    min-height: 68px; flex-shrink: 0;
}
.eb-sidebar-brand-icon {
    width: 36px; height: 36px;
    background: var(--sb-accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
    box-shadow: 0 4px 12px var(--sb-accent-glow);
}
.eb-sidebar-brand-icon i { width: 18px; height: 18px; }

.eb-sidebar-brand-text {
    display: flex; flex-direction: column;
    overflow: hidden; white-space: nowrap;
    transition: opacity 0.2s ease, max-width 0.3s ease;
    max-width: 160px; opacity: 1;
}
.eb-brand-name { font-size: 15px; font-weight: 800; color: #f8fafc; letter-spacing: -0.3px; line-height: 1.2; }
.eb-brand-sub  { font-size: 9px; font-weight: 700; color: var(--sb-accent); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 2px; }
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-brand-text { opacity: 0; max-width: 0; pointer-events: none; }

.eb-sidebar-nav {
    flex: 1; overflow-y: auto; overflow-x: hidden;
    padding: 4px 8px;
}
.eb-sidebar-nav::-webkit-scrollbar { width: 3px; }
.eb-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }

.eb-sidebar-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: var(--sb-radius);
    color: var(--sb-text);
    font-size: 13.5px; font-weight: 600;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    position: relative;
    margin-bottom: 2px;
    white-space: nowrap; overflow: hidden;
}
.eb-sidebar-link:hover { background: var(--sb-bg-hover); color: var(--sb-text-active); }
.eb-sidebar-link.is-active { background: var(--sb-bg-active); color: var(--sb-text-active); }
.eb-sidebar-link.is-active .eb-sidebar-link-icon { color: var(--sb-accent); }

.eb-sidebar-link-icon {
    width: 18px; height: 18px; flex-shrink: 0;
    transition: transform 0.2s;
}
.eb-sidebar-link:hover .eb-sidebar-link-icon { transform: scale(1.1); }

.eb-sidebar-link-label {
    flex: 1;
    transition: opacity 0.2s ease, max-width 0.3s ease;
    max-width: 200px; opacity: 1;
    overflow: hidden; text-overflow: ellipsis;
}

.eb-sidebar-active-bar {
    position: absolute; right: 10px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--sb-accent);
    box-shadow: 0 0 8px var(--sb-accent-glow);
    transition: opacity 0.2s, max-width 0.3s;
}

.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-link-label,
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-active-bar { opacity: 0; max-width: 0; pointer-events: none; }
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-link { justify-content: center; padding: 10px 0; }

/* Tooltip */
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-link[data-tooltip]:hover::after,
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-cta[data-tooltip]:hover::after,
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-user[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(var(--sb-w-closed) + 10px);
    top: 50%; transform: translateY(-50%);
    background: #1e293b; color: #f8fafc;
    font-size: 12px; font-weight: 700;
    padding: 6px 12px; border-radius: 8px;
    white-space: nowrap; pointer-events: none;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-link[data-tooltip]:hover::before,
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-cta[data-tooltip]:hover::before,
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-user[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    left: calc(var(--sb-w-closed) + 4px);
    top: 50%; transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #1e293b;
    pointer-events: none; z-index: 9999;
}

.eb-sidebar-bottom { padding: 8px; flex-shrink: 0; }
.eb-sidebar-divider { height: 1px; background: var(--sb-border); margin: 8px 4px; }

.eb-sidebar-cta {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 12px; border-radius: var(--sb-radius);
    background: var(--sb-accent); color: #fff;
    font-size: 13px; font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-bottom: 8px;
    white-space: nowrap; overflow: hidden; position: relative;
    box-shadow: 0 4px 14px var(--sb-accent-glow);
}
.eb-sidebar-cta:hover { background: #FF385C; transform: translateY(-1px); box-shadow: 0 8px 20px var(--sb-accent-glow); }
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-cta { justify-content: center; padding: 11px 0; }
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-cta .eb-sidebar-link-label { opacity: 0; max-width: 0; pointer-events: none; }

.eb-sidebar-user {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--sb-radius);
    cursor: default; overflow: hidden;
    transition: background 0.18s; position: relative;
}
.eb-sidebar-user:hover { background: var(--sb-bg-hover); }

.eb-sidebar-avatar {
    width: 36px; height: 36px; border-radius: 10px;
    background: #334155; color: #f8fafc;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    flex-shrink: 0; overflow: hidden; position: relative;
    border: 2px solid rgba(255,255,255,0.08);
}
.eb-sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.eb-sidebar-avatar-dot {
    position: absolute; bottom: -1px; right: -1px;
    width: 9px; height: 9px; border-radius: 50%;
    background: #10b981; border: 2px solid var(--sb-bg);
}

.eb-sidebar-user-info {
    flex: 1; min-width: 0; overflow: hidden;
    transition: opacity 0.2s, max-width 0.3s;
    max-width: 140px; opacity: 1;
}
.eb-sidebar-user-name {
    font-size: 13px; font-weight: 700; color: #f8fafc;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3;
}
.eb-sidebar-user-role {
    font-size: 10px; font-weight: 600; color: var(--sb-text);
    text-transform: uppercase; letter-spacing: 0.06em; margin-top: 1px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.eb-sidebar-logout {
    width: 28px; height: 28px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--sb-text);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0; text-decoration: none;
}
.eb-sidebar-logout:hover { background: rgba(239,68,68,0.15); color: #f87171; }
.eb-sidebar-logout i { width: 15px; height: 15px; }

.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-user-info,
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-logout { opacity: 0; max-width: 0; pointer-events: none; }
.eb-chatgpt-sidebar.is-collapsed .eb-sidebar-user { justify-content: center; padding: 10px 0; }

.eb-sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 199; opacity: 0; transition: opacity 0.3s;
}
.eb-sidebar-overlay.is-visible { display: block; opacity: 1; }

@media (max-width: 1024px) {
    .eb-chatgpt-sidebar {
        transform: translateX(-100%);
        width: var(--sb-w-open) !important;
        transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    }
    .eb-chatgpt-sidebar.mobile-open { transform: translateX(0); }
    .eb-main { margin-left: 0 !important; }
}

body.eb-dashboard-page #eb-navbar,
body.eb-dashboard-page #eb-breadcrumbs,
body.eb-dashboard-page .eb-mobile-nav { display: none !important; }
body.eb-dashboard-page { padding-top: 0 !important; background: #f7f9fb; }

/* ------- END CHATGPT SIDEBAR ------- */

/* --- Dashboard Top Bar Responsive Fixes --- */
@media (max-width: 768px) {
    .eb-main > header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
    }
    .eb-main > header .w-96 {
        width: 100% !important;
    }
    .eb-main > header .flex.items-center.gap-4 {
        justify-content: space-between;
    }
    .eb-main {
        padding: 20px !important;
    }
}


/* Global fixed header padding */
body { padding-top: 64px !important; }
@media (min-width: 768px) { body { padding-top: 96px !important; } }

/* ─── GLOBAL RESPONSIVE TİPOGRAFİ ─── */
/* Auth/Landing sayfalarda büyük başlıklar mobilde küçülür */
.text-5xl { font-size: clamp(1.875rem, 5vw, 3rem); }
.text-6xl { font-size: clamp(2.25rem, 6vw, 3.75rem); }
.text-7xl { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.text-4xl { font-size: clamp(1.5rem, 4vw, 2.25rem); }

/* ─── GLOBAL SCROLLBAR (Firefox) ─── */
* { scrollbar-width: thin; scrollbar-color: rgba(148,163,184,0.3) transparent; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(148,163,184,0.3); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(148,163,184,0.6); }

/* ─── ERİŞİLEBİLİRLİK: ODAK (Focus) ─── */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── GLOBAL HAREKET AZALTMA ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ─── MOBİL PADDING DÜZELTMESİ (Floating Nav için) ─── */
@media (max-width: 1024px) {
    body:not(.eb-dashboard-page) {
        padding-bottom: 100px;
    }
}

/* ─── CONTAINER MOBİL ─── */
@media (max-width: 640px) {
    .container { padding: 0 16px; }
}


/* ═══════════════════════════════════════════════════════════════
   EMLAKBANA GLOBAL MARKA KİMLİĞİ & MOBİL UYUM — v2.0
   Tüm sayfalar için tek marka dili: #FF385C Kırmızı primer
   ═══════════════════════════════════════════════════════════════ */

/* ─── Font okunabilirlik: 9px altı fontları kaldır ─── */
@media (max-width: 640px) {
    body, p, span, li, a, label { -webkit-text-size-adjust: 100%; }
    .listing-card h4 { font-size: 14px !important; }
    .listing-card .text-2xl { font-size: 1.25rem !important; }
}

/* ─── Hero başlıklar — line-height mobil fix ─── */
@media (max-width: 768px) {
    section h1,
    [class*="py-28"] h1,
    [class*="py-36"] h1,
    [class*="pt-40"] h1 {
        line-height: 1.15 !important;
    }

    /* İletişim form grid — 1 sütuna düş */
    .eb-form-grid { grid-template-columns: 1fr !important; }
    .eb-contact-grid { grid-template-columns: 1fr !important; }

    /* İletişim formu span 2 öğeler */
    #eb-contact-form > div[style*="span 2"] {
        grid-column: span 1 !important;
    }

    /* Footer mobil */
    footer { padding-top: 48px !important; margin-bottom: 24px; }
    footer .max-w-\[1440px\].mx-auto.px-8,
    .max-w-\[1440px\].mx-auto.px-8 { padding: 0 16px !important; }
    
    /* Footer bottom bar — yığıl */
    footer .pt-12 { padding-top: 24px !important; }
    
    /* Hizmetler filter tablar mobilde scroll */
    section.sticky .flex.items-center.justify-center.gap-3 {
        justify-content: flex-start !important;
        padding-bottom: 4px;
    }

    /* Danışmanlar filtre formu wrap */
    #filtreler form > div {
        flex-wrap: wrap;
    }
    #filtreler form > div > div[style*="flex:1"] {
        min-width: calc(50% - 1px) !important;
        flex: none !important;
        border-bottom: 1px solid #DDDDDD !important;
    }
    #filtreler form > div > div:last-child {
        width: 100% !important;
        padding: 12px !important;
    }
    #filtreler button[type="submit"] {
        width: 100% !important;
        border-radius: 12px !important;
        min-height: 48px !important;
    }
}

/* ─── Buton normalizasyonu — küçük mobil ─── */
@media (max-width: 480px) {
    /* Hizmetler ve Partner hero butonlar */
    .eb-page-partner .btn-primary,
    .eb-page-partner .btn-secondary,
    .eb-services-hero .flex a {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
    }
    .eb-services-hero .flex,
    .eb-partner-cta-wrap {
        flex-direction: column !important;
        width: 100% !important;
    }
}

/* ─── Auth sayfaları mobil ─── */
.eb-auth-wrapper { padding-top: 0 !important; }
@media (max-width: 1024px) {
    .eb-auth-wrapper { grid-template-columns: 1fr !important; }
    .eb-auth-main { min-height: 100vh; padding: 32px 20px !important; }
}

/* ─── Hakkımızda hero fixed padding ─── */
@media (max-width: 768px) {
    .eb-about-hero { padding: 80px 0 60px !important; }
}

/* ─── SweetAlert marka rengi override (JS'den tetiklendiğinde) ─── */
.swal2-confirm { background-color: #FF385C !important; }
.swal2-confirm:hover { background-color: #E31C5F !important; }
.swal2-styled.swal2-confirm { background-color: #FF385C !important; }

/* ─── İlanlar Sayfası Mobil Alt Menü (ebp-mobile-dock) ─── */
.ebp-mobile-dock {
    display: none;
}
@media (max-width: 1024px) {
    .ebp-mobile-dock {
        display: flex !important;
        position: fixed !important;
        bottom: 0; left: 0; right: 0;
        height: 64px;
        background: #fff;
        border-top: 1px solid #ebebeb;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
        z-index: 2001 !important;
        align-items: center;
        justify-content: space-around;
        padding: 0 4px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .ebp-mobile-dock button,
    .ebp-mobile-dock a {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        background: transparent;
        border: none;
        color: #717171;
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        padding: 6px 4px;
        border-radius: 10px;
        transition: color 0.2s, background 0.2s;
        cursor: pointer;
        text-decoration: none;
        flex: 1;
        min-width: 0;
        max-width: 72px;
        flex-shrink: 1;
    }
    .ebp-mobile-dock button span,
    .ebp-mobile-dock a > span:last-child {
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: inherit;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 64px;
    }
    .ebp-mobile-dock button svg,
    .ebp-mobile-dock button i,
    .ebp-mobile-dock a svg,
    .ebp-mobile-dock a i {
        width: 20px !important;
        height: 20px !important;
        color: inherit;
        flex-shrink: 0;
    }
    .ebp-mobile-dock button:hover,
    .ebp-mobile-dock a:hover { color: #FF385C; background: rgba(255,56,92,0.06); }
    .ebp-mobile-dock button.is-active,
    .ebp-mobile-dock a.is-active { color: #FF385C; }
    /* Sayfanın altında dock için padding */
    body { padding-bottom: 72px; }
}

/* ═══════════════════════════════════════════════════════════════
   EMLAKBANA — GLOBAL MARKA KİMLİĞİ & MOBİL UYUM v3.0
   Tüm sayfalarda tek renk, okunabilir tipografi, sıfır taşma
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. FONT OKUNABİLİRLİK ── */
body, input, select, textarea, button {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}
/* 9px altı font boyutlarını 10px'e çek */
@media (max-width: 768px) {
    [style*="font-size: 9px"],
    .text-\[9px\] { font-size: 10px !important; }
    /* Tüm başlıklar — satır yüksekliği okunabilir */
    h1, h2, h3 { line-height: 1.2 !important; }
    /* Büyük hero başlıklar için clamp */
    h1[style*="font-size: 64px"],
    h1[style*="font-size: 72px"],
    h1[style*="font-size: 96px"] {
        font-size: clamp(2rem, 9vw, 4rem) !important;
    }
    h2[style*="font-size: 48px"],
    h2[style*="font-size: 44px"] {
        font-size: clamp(1.6rem, 7vw, 2.5rem) !important;
    }
}

/* ── 2. GLOBAL TAŞMA ÖNLEME ── */
html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
/* Inline width: 120% gibi aşan görseller */
@media (max-width: 768px) {
    [style*="width: 120%"] { width: 100% !important; }
}

/* ── 3. HERO SECTION PADDİNG — MOBİL ── */
@media (max-width: 768px) {
    /* Inline padding büyük değerleri kırp */
    [style*="padding: 180px"],
    [style*="padding: 160px"],
    [style*="padding: 140px"],
    [style*="padding: 120px 0"] {
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }
    [style*="padding: 100px 0"] {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }
    /* pt-40, pt-32 Tailwind sınıfları */
    .pt-40 { padding-top: 5rem !important; }
    .pt-32 { padding-top: 4rem !important; }
    .pb-32 { padding-bottom: 3rem !important; }
    .py-28 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

/* ── 4. GRID SİSTEMİ — MOBİL ── */
@media (max-width: 768px) {
    /* İki sütun grid → tek sütun */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 1.25fr 1fr"],
    [style*="grid-template-columns: 1fr 1.4fr"],
    [style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    /* 3-4 sütun grid → 1 sütun */
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    /* grid-3 yardımcı sınıfı */
    .grid-3 { grid-template-columns: 1fr !important; gap: 20px !important; }
    /* auto-fit minmax grid — mobilde tamamen ezme */
    [style*="minmax(300px"] {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 480px) {
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* ── 5. HAKKIMIZDA sayfası — section paddingler ── */
@media (max-width: 768px) {
    .eb-page-about section[style*="padding: 120px"],
    .eb-page-about section[style*="padding: 140px"] {
        padding: 56px 0 !important;
    }
    .eb-about-mission-grid img { max-height: 280px; object-fit: cover; }
}

/* ── 6. HAKKIMIZDA hero padding fix (override inline) ── */
@media (max-width: 768px) {
    .eb-about-hero[style] { padding: 80px 0 60px !important; }
}

/* ── 7. PARTNER sayfası — hero grid mobil ── */
@media (max-width: 1024px) {
    .eb-partner-hero-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .eb-partner-hero-grid > div:last-child { display: none; } /* mockup görseli gizle */
    .eb-partner-hero-grid h1 { font-size: clamp(2rem, 8vw, 3.5rem) !important; }
    /* Stats: 4 sütun → 2 sütun */
    .eb-page-partner [style*="repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        padding: 32px 0 !important;
    }
    .eb-page-partner [style*="border-left"] { border-left: none !important; border-top: 1px solid #f0f0f0 !important; padding-top: 24px !important; }
    /* Fiyatlandırma kart scale kaldır */
    .eb-page-partner [style*="transform: scale(1.05)"] { transform: none !important; }
}

/* ── 8. PROJELER sayfası — kendi nav'ı ile header çakışması ── */
.eb-showcase-nav {
    display: none !important; /* Global header varken 2. nav gösterme */
}
.eb-showcase-header { padding-top: 32px !important; }

/* ── 9. YAŞam MERKEZİ — hero section padding ── */
@media (max-width: 768px) {
    .eb-lifestyle-page { padding-top: 24px !important; }
    header.eb-lifestyle-hero { padding: 40px 24px !important; border-radius: 24px !important; }
}

/* ── 10. HARITA yüksekliği — mobil header 64px ── */
@media (min-width: 768px) {
    .eb-page-harita { height: calc(100vh - 96px) !important; }
}

/* ── 11. İLETİŞİM formu mobil ── */
@media (max-width: 768px) {
    .eb-page-contact section[style*="padding: 100px"] { padding: 48px 0 !important; }
    .eb-page-contact .container > div[style*="padding: 40px"] { padding: 24px !important; border-radius: 20px !important; }
}

/* ── 12. KVKK / GİZLİLİK sayfaları ── */
@media (max-width: 768px) {
    main[style*="padding: 80px 0"] { padding: 40px 0 !important; }
    .eb-policy-box { padding: 28px 20px !important; border-radius: 20px !important; margin: 0 16px !important; }
    .eb-policy-box h1 { font-size: 22px !important; }
}

/* ── 13. PARTNER KAYIT sayfası ── */
@media (max-width: 768px) {
    .eb-partner-reg-page { padding: 80px 16px 80px !important; }
    .eb-reg-header h1 { font-size: 26px !important; letter-spacing: -0.03em !important; }
    .eb-main-cat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .eb-main-cat-card { padding: 20px 12px !important; border-radius: 16px !important; }
}

/* ── 14. HİZMETLER sayfası — hero responsive ── */
@media (max-width: 768px) {
    .eb-services-hero { padding-top: 6rem !important; padding-bottom: 3rem !important; }
    .eb-services-hero h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
}

/* ── 15. DANIŞMANLAR — podium ve kart sistemi ── */
@media (max-width: 768px) {
    /* Podium 3'lü flex → dikey yığın */
    .flex.flex-col.md\:flex-row.items-end.justify-center {
        flex-direction: column !important;
        align-items: center !important;
    }
    /* Podium order düzelt */
    .order-2.md\:order-1 { order: 2 !important; }
    .order-1.md\:order-2 { order: 1 !important; }
    .order-3 { order: 3 !important; }
}

/* ── 16. GEREKSİZ BORDER-LEFT HATASI ── */
@media (max-width: 768px) {
    [style*="border-left: 1px solid #f0f0f0"] {
        border-left: none !important;
        border-top: 1px solid #f0f0f0 !important;
        padding-top: 16px !important;
        margin-top: 16px !important;
    }
}

/* ── 17. GİRİŞ / KAYIT auth sayfaları ── */
@media (max-width: 768px) {
    .eb-auth-wrapper {
        grid-template-columns: 1fr !important;
        min-height: 100vh;
    }
    .eb-auth-sidebar { display: none !important; }
    .eb-auth-main { padding: 32px 20px !important; min-height: 100vh; }
}

/* ── 18. FOOTER mobil — boşluk ve grid ── */
@media (max-width: 768px) {
    footer .grid { gap: 32px !important; }
    footer .pb-20 { padding-bottom: 32px !important; }
    footer .pt-24 { padding-top: 40px !important; }
    footer .gap-12 { gap: 32px !important; }
    footer .px-8 { padding-left: 16px !important; padding-right: 16px !important; }
    footer .space-y-8 { --tw-space-y-reverse: 0; margin-top: calc(1.5rem * (1 - var(--tw-space-y-reverse))); margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); }
    /* Footer bottom bar dikey hizalama */
    footer .flex.flex-col.md\:flex-row { gap: 16px !important; }
}

/* ── 19. HEADER arkasında içerik kalmaması ── */
@media (max-width: 768px) {
    body { padding-top: 64px !important; }
}
@media (min-width: 768px) {
    body { padding-top: 96px !important; }
}

