/* anasayfa.css — temalar/anasayfa.php içindeki satır içi stillerden taşındı */
/* ========================================================================
   DEMRO HOMEPAGE — profesyonel tek dosya stili
   Palet: #38513F (koyu yeşil), #404040 (koyu gri), #f6f7f6 (soft bg)
======================================================================== */
:root { --demro-green:#38513F; --demro-green-d:#2c4031; --demro-gray:#404040; --demro-soft:#f6f7f6; --demro-line:#e6e8e4; --demro-muted:#6b7068; }

html, body { font-family:'Lato',system-ui,-apple-system,sans-serif; color:#404040; background:#fff; }
body.demro-home { overflow-x:hidden; }
.demro-home h1, .demro-home h2, .demro-home h3, .demro-home h4, .demro-home h5 { font-family:'Montserrat',sans-serif; color:#404040; letter-spacing:-0.3px; }
.demro-eyebrow { display:inline-block; font-family:'Montserrat',sans-serif; font-size:11px; font-weight:700; letter-spacing:2.4px; color:#38513F; text-transform:uppercase; padding:6px 14px; border:1px solid rgba(56,81,63,0.25); border-radius:999px; background:rgba(56,81,63,0.04); margin-bottom:16px; }
.demro-btn-primary { display:inline-flex; align-items:center; gap:8px; background:#38513F; color:#fff; padding:14px 30px; font-family:'Montserrat',sans-serif; font-size:13px; font-weight:700; letter-spacing:1px; text-transform:uppercase; text-decoration:none; border-radius:3px; transition:background .2s, transform .2s; border:0; cursor:pointer; }
.demro-btn-primary:hover { background:#2c4031; color:#fff; transform:translateY(-1px); }
.demro-btn-ghost { display:inline-flex; align-items:center; gap:8px; background:transparent; color:#fff; padding:14px 28px; font-family:'Montserrat',sans-serif; font-size:13px; font-weight:700; letter-spacing:1px; text-transform:uppercase; text-decoration:none; border-radius:3px; border:2px solid rgba(255,255,255,0.4); transition:background .2s, border-color .2s; }
.demro-btn-ghost:hover { background:#fff; color:#38513F; border-color:#fff; }

/* ----- Section head ortak ----- */
.demro-section { padding:90px 0; position:relative; }
.demro-section.alt { background:#f6f7f6; }
.demro-section-head { margin-bottom:50px; }
.demro-section-head.center { text-align:center; max-width:760px; margin-left:auto; margin-right:auto; }
.demro-section-head h2 { font-size:32px; font-weight:700; margin:0 0 12px; line-height:1.25; }
.demro-section-head h2 em { font-style:normal; color:#38513F; position:relative; }
.demro-section-head h2 em::after { content:''; position:absolute; left:0; right:0; bottom:-3px; height:3px; background:#38513F; border-radius:2px; opacity:0.25; }
.demro-section-head p { font-size:15px; line-height:1.75; color:#6b7068; margin:0; max-width:640px; }
.demro-section-head.center p { margin-left:auto; margin-right:auto; }
.demro-section-head .head-row { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.demro-more-link { font-family:'Montserrat',sans-serif; font-size:12px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:#38513F; text-decoration:none; display:inline-flex; align-items:center; gap:8px; transition:gap .2s; white-space:nowrap; }
.demro-more-link:hover { color:#2c4031; gap:12px; }
@media (max-width:768px) { .demro-section { padding:60px 0; } .demro-section-head h2 { font-size:24px; } }

/* ========== HERO ========== */
.demro-hero { position:relative; min-height:640px; overflow:hidden; color:#fff; display:flex; align-items:center; }
.demro-hero-bg { position:absolute; inset:0; z-index:0; }
.demro-hero-bg > div { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1.6s ease-in-out; }
.demro-hero-bg > div.active { opacity:1; }
.demro-hero::before { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(135deg, rgba(44,58,48,0.75) 0%, rgba(64,64,64,0.7) 60%, rgba(28,40,32,0.85) 100%); }
.demro-hero-inner { position:relative; z-index:2; width:100%; padding:100px 0 60px; }
.demro-hero-content { max-width:880px; }
.demro-hero-content .demro-eyebrow { color:#fff; background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.3); }
.demro-hero h1 { font-size:52px; font-weight:800; line-height:1.1; letter-spacing:-1px; color:#fff; margin:0 0 18px; }
.demro-hero h1 em { font-style:normal; color:#b8d0c0; display:inline-block; padding:0 2px; }
.demro-hero .lead { font-size:17px; line-height:1.7; color:rgba(255,255,255,0.88); margin:0 0 32px; max-width:700px; font-weight:400; }

/* Hero arama widget — sade tek satır */
.demro-hero-search { background:#fff; border-radius:6px; box-shadow:0 20px 60px -25px rgba(0,0,0,0.5); padding:8px; max-width:680px; display:flex; align-items:center; gap:8px; }
.demro-hero-search .field { flex:1 1 auto; position:relative; min-width:0; }
.demro-hero-search .field i { position:absolute; left:18px; top:50%; transform:translateY(-50%); color:#38513F; font-size:15px; z-index:1; pointer-events:none; }
.demro-hero-search input[type="text"] { width:100%; height:54px; padding:0 18px 0 46px; border:0 !important; background:transparent !important; font-family:'Lato',sans-serif !important; font-size:15px !important; color:#404040 !important; border-radius:4px; box-shadow:none !important; outline:none !important; }
.demro-hero-search input[type="text"]::placeholder { color:#8b918a; }
.demro-hero-search input[type="text"]:focus { outline:none !important; box-shadow:none !important; }
.demro-hero-search-btn { flex:0 0 auto; height:54px !important; padding:0 28px !important; background:#38513F !important; color:#fff !important; border:0 !important; font-family:'Montserrat',sans-serif !important; font-size:12px !important; font-weight:700 !important; letter-spacing:1px !important; text-transform:uppercase !important; border-radius:4px !important; cursor:pointer; transition:background .2s !important; display:inline-flex !important; align-items:center; gap:8px; box-shadow:none !important; text-shadow:none !important; background-image:none !important; }
.demro-hero-search-btn:hover, .demro-hero-search-btn:focus, .demro-hero-search-btn:active { background:#2c4031 !important; color:#fff !important; outline:none !important; }
@media (max-width:600px) {
    .demro-hero-search { flex-wrap:wrap; padding:6px; gap:6px; }
    .demro-hero-search .field { flex:1 1 100%; }
    .demro-hero-search-btn { flex:1 1 100%; justify-content:center; }
}

.demro-hero-profilleri { margin-top:30px; display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; }
.demro-profil-kart { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:14px; text-decoration:none; color:#fff; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,0.18); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; position:relative; overflow:hidden; min-width:0; }
.demro-profil-kart:hover { transform:translateY(-3px); border-color:rgba(255,255,255,0.4); box-shadow:0 14px 36px rgba(0,0,0,0.35); color:#fff; text-decoration:none; }
.demro-profil-ico { width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,0.18); flex-shrink:0; }
.demro-profil-ico i { font-size:20px; color:#fff; }
.demro-profil-yazi { display:flex; flex-direction:column; line-height:1.25; flex:1; min-width:0; }
.demro-profil-yazi strong { font-size:14px; font-weight:700; letter-spacing:0.2px; white-space:nowrap; }
.demro-profil-yazi span { font-size:11px; opacity:0.85; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.demro-profil-cta { font-size:10px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; opacity:0.95; display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border-radius:999px; background:rgba(0,0,0,0.18); flex-shrink:0; }
.demro-profil-cta i { font-size:11px; }
/* Sahibinden — koyu sarı / amber */
.demro-profil-sahibinden { background:linear-gradient(135deg, #c89200 0%, #8a5a00 100%); }
.demro-profil-sahibinden:hover { box-shadow:0 14px 36px rgba(200,146,0,0.45); }
/* Emlakjet — mavi tonları */
.demro-profil-emlakjet { background:linear-gradient(135deg, #1976d2 0%, #0b3a73 100%); }
.demro-profil-emlakjet:hover { box-shadow:0 14px 36px rgba(25,118,210,0.45); }
/* Facebook */
.demro-profil-facebook { background:linear-gradient(135deg, #1877f2 0%, #0a4ea8 100%); }
.demro-profil-facebook:hover { box-shadow:0 14px 36px rgba(24,119,242,0.45); }
/* Instagram */
.demro-profil-instagram { background:linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.demro-profil-instagram:hover { box-shadow:0 14px 36px rgba(220,39,67,0.45); }

@media (max-width:991px) {
    .demro-hero { min-height:560px; }
    .demro-hero h1 { font-size:36px; }
    .demro-hero .lead { font-size:15px; }
    .demro-profil-cta { display:none; }
}
@media (max-width:600px) {
    .demro-hero h1 { font-size:28px; }
    .demro-hero-inner { padding:80px 0 40px; }
    .demro-search-form .field, .demro-search-form button { flex:1 1 100%; }
    .demro-hero-profilleri { grid-template-columns:1fr 1fr; gap:10px; }
    .demro-profil-kart { padding:10px 12px; gap:10px; }
    .demro-profil-ico { width:36px; height:36px; }
    .demro-profil-yazi strong { font-size:13px; }
    .demro-profil-yazi span { font-size:11px; }
    .demro-profil-cta { display:none; }
}

.demro-hero-search-btn { flex:0 0 auto; height:48px !important; padding:0 24px !important; background:#38513F !important; color:#fff !important; border:0 !important; font-family:'Montserrat',sans-serif !important; font-size:12px !important; font-weight:700 !important; letter-spacing:1px !important; text-transform:uppercase !important; border-radius:6px !important; cursor:pointer; transition:background .2s !important; display:inline-flex !important; align-items:center; gap:8px; box-shadow:none !important; text-shadow:none !important; background-image:none !important; }
.demro-hero-search-btn:hover, .demro-hero-search-btn:focus, .demro-hero-search-btn:active { background:#2c4031 !important; color:#fff !important; outline:none !important; }
@media (max-width:600px) {
    .demro-hero-search { flex-wrap:wrap; padding:5px; gap:5px; }
    .demro-hero-search .field { flex:1 1 100%; }
    .demro-hero-search-btn { flex:1 1 100%; justify-content:center; }
}

/* ========== STATS STRIP ========== */
.demro-stats-strip { background:#38513F; padding:32px 0; color:#fff; }
.demro-stats-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; text-align:center; }
.demro-stat strong { display:block; font-family:'Montserrat',sans-serif; font-size:32px; font-weight:800; color:#fff; line-height:1.1; letter-spacing:-0.5px; }
.demro-stat span { display:block; font-size:12px; font-weight:500; color:rgba(255,255,255,0.75); margin-top:6px; text-transform:uppercase; letter-spacing:1px; }
@media (max-width:600px) { .demro-stats-grid { grid-template-columns:repeat(2, 1fr); gap:20px; } .demro-stat strong { font-size:24px; } }

/* Listing grid & card stilleri için demro-ilan-stili.php include ediliyor (body içinde) */

/* ========== SERVICES / WHY US ========== */
.demro-services-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
@media (max-width:991px) { .demro-services-grid { grid-template-columns:repeat(2, 1fr); } }
@media (max-width:520px) { .demro-services-grid { grid-template-columns:1fr; } }
.demro-service { background:#fff; border:1px solid #eceeea; border-radius:6px; padding:34px 26px; transition:border-color .2s, transform .2s, box-shadow .2s; position:relative; }
.demro-service:hover { border-color:#38513F; transform:translateY(-3px); box-shadow:0 16px 30px -22px rgba(56,81,63,0.4); }
.demro-service .ico { width:52px; height:52px; border-radius:8px; background:rgba(56,81,63,0.08); color:#38513F; display:inline-flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:20px; transition:background .2s, color .2s; }
.demro-service:hover .ico { background:#38513F; color:#fff; }
.demro-service h3 { font-size:16px; font-weight:700; margin:0 0 10px; color:#404040; }
.demro-service p { margin:0; font-size:13.5px; line-height:1.7; color:#6b7068; }

/* ========== CATEGORIES ========== */
.demro-categories-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
@media (max-width:900px) { .demro-categories-grid { grid-template-columns:repeat(2, 1fr); } }
@media (max-width:520px) { .demro-categories-grid { grid-template-columns:1fr; } }
.demro-cat { display:block; position:relative; overflow:hidden; border-radius:6px; text-decoration:none; aspect-ratio:3/2; color:#fff; }
.demro-cat img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.demro-cat::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(44,58,48,0.1) 0%, rgba(44,58,48,0.85) 100%); }
.demro-cat:hover img { transform:scale(1.06); }
.demro-cat .cat-body { position:absolute; left:0; right:0; bottom:0; padding:22px 24px; z-index:1; }
.demro-cat h4 { font-family:'Montserrat',sans-serif; font-size:18px; font-weight:700; margin:0 0 4px; color:#fff; letter-spacing:-0.2px; }
.demro-cat span.sub { font-size:12.5px; color:rgba(255,255,255,0.85); letter-spacing:0.3px; }
.demro-cat .badge { position:absolute; top:14px; right:14px; z-index:1; background:rgba(56,81,63,0.92); color:#fff; padding:5px 11px; border-radius:3px; font-family:'Montserrat',sans-serif; font-size:11px; font-weight:700; letter-spacing:0.6px; }

/* ========== CTA BAND ========== */
.demro-cta-band { position:relative; padding:100px 0; color:#fff; overflow:hidden; background:#2c4031; }
.demro-cta-band::before { content:''; position:absolute; inset:0; background-image:var(--demro-cta-bg, url('/sinopemlak/slider/4.jpg')); background-size:cover; background-position:center; filter:grayscale(0.2); }
.demro-cta-band::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(56,81,63,0.95) 0%, rgba(56,81,63,0.75) 70%, rgba(56,81,63,0.55) 100%); }
.demro-cta-band .container { position:relative; z-index:1; }
.demro-cta-inner { max-width:680px; }
.demro-cta-inner .demro-eyebrow { background:rgba(255,255,255,0.08); color:#fff; border-color:rgba(255,255,255,0.35); }
.demro-cta-inner h2 { color:#fff; font-size:34px; font-weight:700; line-height:1.25; margin:0 0 18px; }
.demro-cta-inner p { font-size:15.5px; line-height:1.75; color:rgba(255,255,255,0.92); margin:0 0 28px; }
.demro-cta-inner .demro-btn-primary { background:#fff; color:#38513F; }
.demro-cta-inner .demro-btn-primary:hover { background:#f0f0f0; color:#38513F; }
@media (max-width:768px) { .demro-cta-band { padding:70px 0; } .demro-cta-inner h2 { font-size:24px; } }

/* ========== NEIGHBORHOODS ========== */
.demro-hoods { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:10px; }
.demro-hood { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 18px; background:#fff; border:1px solid #eceeea; border-radius:4px; text-decoration:none; color:#404040; font-size:13.5px; font-weight:500; transition:border-color .2s, color .2s, background .2s; font-family:'Montserrat',sans-serif; }
.demro-hood:hover { border-color:#38513F; color:#38513F; background:#fff; transform:translateY(-1px); }
.demro-hood i { color:#6b7068; transition:color .2s; font-size:12px; }
.demro-hood:hover i { color:#38513F; }

/* ========== TESTIMONIALS ========== */
.demro-test { background:#f6f7f6; padding:90px 0; color:#404040; font-family:'Lato',system-ui,sans-serif; }
.demro-test .sr { position:absolute; left:-9999px; }
.demro-test-head { max-width:780px; margin:0 auto 44px; text-align:center; }
.demro-test-head h2 { font-family:'Montserrat',sans-serif; font-size:32px; line-height:1.25; font-weight:700; color:#404040; margin:0 0 14px; letter-spacing:-0.3px; }
.demro-test-head h2 em { font-style:normal; color:#38513F; position:relative; }
.demro-test-head h2 em::after { content:''; position:absolute; left:0; right:0; bottom:-4px; height:3px; background:#38513F; border-radius:2px; opacity:0.25; }
.demro-test-sub { font-size:15px; line-height:1.75; color:#6b7068; margin:0; }
.demro-test-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; margin-bottom:40px; }
@media (max-width:991px) { .demro-test-grid { grid-template-columns:repeat(2, 1fr); } }
@media (max-width:600px) { .demro-test-grid { grid-template-columns:1fr; } }
.demro-test-card { background:#fff; border:1px solid #e8eae6; border-radius:6px; padding:28px 26px 24px; display:flex; flex-direction:column; position:relative; transition:border-color .2s, transform .2s, box-shadow .2s; }
.demro-test-card::before { content:'"'; position:absolute; top:10px; right:22px; font-family:Georgia,serif; font-size:72px; line-height:1; color:#38513F; opacity:0.12; font-weight:700; }
.demro-test-card:hover { border-color:#38513F; transform:translateY(-3px); box-shadow:0 14px 30px -18px rgba(56,81,63,0.4); }
.demro-test-rate { color:#c9a050; font-size:14px; letter-spacing:2px; margin-bottom:14px; }
.demro-test-ttl { font-family:'Montserrat',sans-serif; font-size:15px; font-weight:700; color:#38513F; margin:0 0 12px; line-height:1.35; letter-spacing:-0.1px; }
.demro-test-body { margin:0 0 20px; padding:0; border:0; font-size:13.5px; line-height:1.75; color:#555a53; font-style:normal; flex:1; }
.demro-test-foot { display:flex; align-items:center; gap:12px; padding-top:16px; border-top:1px solid #eef0ec; }
.demro-test-avatar { width:44px; height:44px; border-radius:50%; background:#38513F; color:#fff; font-family:'Montserrat',sans-serif; font-weight:700; font-size:14px; display:flex; align-items:center; justify-content:center; letter-spacing:0.5px; flex-shrink:0; }
.demro-test-meta { display:flex; flex-direction:column; line-height:1.25; min-width:0; }
.demro-test-meta strong { font-size:14px; font-weight:700; color:#404040; font-family:'Montserrat',sans-serif; }
.demro-test-meta span { font-size:11.5px; color:#838881; margin-top:3px; font-weight:500; letter-spacing:0.2px; }

/* ========== CONTACT CTA FINAL ========== */
.demro-contact { background:#404040; color:#fff; padding:70px 0; }
.demro-contact-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:40px; align-items:center; }
@media (max-width:768px) { .demro-contact-grid { grid-template-columns:1fr; gap:30px; text-align:center; } }
.demro-contact h2 { color:#fff; font-size:28px; font-weight:700; line-height:1.3; margin:0 0 12px; }
.demro-contact p { color:rgba(255,255,255,0.78); font-size:15px; line-height:1.7; margin:0; max-width:560px; }
@media (max-width:768px) { .demro-contact p { margin-left:auto; margin-right:auto; } }
.demro-contact-ctas { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }
@media (max-width:768px) { .demro-contact-ctas { justify-content:center; } }
.demro-contact .demro-btn-primary { background:#38513F; color:#fff; }
.demro-contact .demro-btn-primary:hover { background:#2c4031; }

/* ---- Sticky header'ın hero ile çakışmaması için ---- */
#wrapper { overflow:visible; }

/* Aşağıdakiler eskiden satır içi style="" idi; önceliği korunsun diye !important taşıyor. */
.demro-section.dar { padding-top:30px !important; padding-bottom:30px !important; }
