/* Sandzak Emlak Genel Site Tasarımı */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #f8fafc; color: #111827; }
img { max-width: 100%; }
a { text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header { background: #ffffff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 50; }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-link { display: inline-flex; align-items: center; color: inherit; }
.logo { font-size: 26px; font-weight: 900; color: #111827; letter-spacing: -.5px; }
.logo span { color: #b45309; }
.site-logo-img { max-width: 220px; max-height: 72px; object-fit: contain; display: block; }
.nav nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav a { color: #374151; font-weight: 700; font-size: 15px; transition: color .2s ease; }
.nav a:hover { color: #b45309; }

.floating-whatsapp {
    position: fixed;
    left: 18px;
    bottom: 24px;
    z-index: 999;
    background: #16a34a;
    color: #fff;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 18px 45px rgba(22,163,74,.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.floating-whatsapp:before {
    content: "☎";
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
}
.floating-whatsapp:hover { background: #15803d; color: #fff; }

.hero { background: linear-gradient(135deg, rgba(17,24,39,.92), rgba(180,83,9,.78)), url('../img/hero.jpg'); background-size: cover; background-position: center; color: #ffffff; padding: 110px 0; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); max-width: 820px; margin: 0 0 18px; line-height: 1.08; }
.hero p { font-size: 20px; max-width: 640px; color: #f3f4f6; line-height: 1.6; }
.btn { display: inline-block; margin-top: 20px; background: #ffffff; color: #111827; padding: 14px 22px; border-radius: 999px; font-weight: 900; }

.section { padding: 70px 0; }
.section-title { margin-bottom: 28px; }
.section-title h2 { margin: 0 0 8px; font-size: 34px; color: #111827; }
.section-title p { margin: 0; color: #6b7280; font-size: 16px; }

.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.property-card { background: #ffffff; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 45px rgba(15,23,42,.08); transition: transform .2s ease, box-shadow .2s ease; }
.property-card:hover { transform: translateY(-4px); box-shadow: 0 24px 58px rgba(15,23,42,.12); }
.property-image { height: 245px; background: #e5e7eb; overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.no-image { display: grid; place-items: center; height: 100%; color: #6b7280; font-weight: 800; }
.property-body { padding: 20px; }
.badge { display: inline-block; background: #fef3c7; color: #92400e; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.property-body h3 { margin: 14px 0 8px; font-size: 21px; line-height: 1.35; color: #111827; }
.property-body p { color: #6b7280; margin: 0; line-height: 1.5; }
.property-body strong { display: block; margin: 14px 0; font-size: 22px; color: #111827; }
.property-body a { color: #b45309; font-weight: 900; }
.empty-box { grid-column: 1 / -1; background: #ffffff; padding: 30px; border-radius: 20px; color: #6b7280; box-shadow: 0 12px 28px rgba(15, 23, 42, .06); }

.panel-card, .detail-card { background: #ffffff; padding: 28px; border-radius: 24px; box-shadow: 0 18px 45px rgba(15,23,42,.07); }
.panel-card h2, .detail-card h2 { margin: 0 0 18px; font-size: 26px; color: #111827; }

.detail-hero { background: linear-gradient(135deg, #111827, #374151); color: #ffffff; padding: 38px 0 44px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: #d1d5db; font-size: 14px; margin-bottom: 24px; }
.breadcrumb a { color: #fbbf24; font-weight: 700; }
.breadcrumb strong { color: #ffffff; }
.detail-title-row { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; }
.detail-title-row h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; margin: 16px 0 10px; max-width: 850px; color: #ffffff; }
.detail-title-row p { margin: 0; color: #e5e7eb; font-size: 18px; }
.detail-price { background: #ffffff; color: #111827; padding: 18px 22px; border-radius: 18px; font-size: 28px; font-weight: 900; white-space: nowrap; }

.detail-section { padding: 38px 0 70px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.detail-main { min-width: 0; }
.detail-cover { background: #e5e7eb; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 45px rgba(15,23,42,.1); }
.detail-cover img { width: 100%; height: 560px; object-fit: cover; display: block; }
.detail-no-image { height: 420px; display: grid; place-items: center; color: #6b7280; font-weight: 900; }
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery-strip img { width: 100%; height: 120px; object-fit: cover; border-radius: 16px; display: block; }
.detail-card { margin-top: 24px; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.features-grid div { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 16px; padding: 15px; }
.features-grid span { display: block; color: #6b7280; font-size: 13px; margin-bottom: 7px; }
.features-grid strong { color: #111827; font-size: 16px; }
.lead-text { font-size: 18px; line-height: 1.75; color: #374151; background: #f9fafb; padding: 18px; border-radius: 16px; }
.description-text { font-size: 17px; line-height: 1.85; color: #374151; }

.detail-sidebar { position: sticky; top: 98px; }
.contact-box { background: #ffffff; border-radius: 24px; padding: 24px; box-shadow: 0 18px 45px rgba(15,23,42,.09); margin-bottom: 18px; }
.contact-box h3 { margin: 0 0 10px; font-size: 21px; color: #111827; }
.contact-box p { color: #6b7280; line-height: 1.6; }
.contact-price { font-size: 26px; font-weight: 900; color: #111827; margin: 18px 0; }
.call-btn, .whatsapp-btn { display: block; text-align: center; padding: 14px 16px; border-radius: 14px; color: #ffffff; font-weight: 900; margin-top: 10px; }
.call-btn { background: #111827; }
.whatsapp-btn { background: #16a34a; }
.contact-mini { border-top: 1px solid #e5e7eb; margin-top: 18px; padding-top: 18px; display: grid; gap: 7px; color: #374151; }
.contact-mini span { color: #6b7280; }
.small-box h3 { font-size: 16px; margin-top: 14px; }
.small-box h3:first-child { margin-top: 0; }
.small-box p { margin: 0 0 10px; }

.footer { background: #111827; color: #d1d5db; padding: 28px 0; margin-top: 40px; }

@media (max-width: 1000px) {
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .detail-title-row { flex-direction: column; align-items: flex-start; }
    .detail-price { white-space: normal; }
}
@media (max-width: 900px) {
    .nav { min-height: auto; padding: 18px 0; flex-direction: column; gap: 14px; }
    .nav nav { justify-content: center; }
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-cover img { height: 420px; }
    .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .container { width: min(100% - 24px, 1180px); }
    .property-grid { grid-template-columns: 1fr; }
    .hero { padding: 70px 0; }
    .hero p { font-size: 17px; }
    .features-grid { grid-template-columns: 1fr; }
    .detail-cover img { height: 290px; }
    .detail-card, .panel-card, .contact-box { padding: 20px; }
    .detail-price, .contact-price { font-size: 22px; }
    .floating-whatsapp { left: 12px; bottom: 14px; padding: 12px 14px; }
    .floating-whatsapp span { display: none; }
}
