/* ============================================================
   Büşra Gençceylan Emlak - Ana Stil Dosyası
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --primary:       #003946;
  --primary-light: #006080;
  --accent:        #0098C7;
  --accent-light:  #00b4e8;
  --white:         #ffffff;
  --light:         #f5f7fa;
  --light2:        #eef1f5;
  --gray:          #8a9ab0;
  --dark:          #1a2332;
  --text:          #2c3e50;
  --text-light:    #5a6a7e;
  --border:        #d8e2ec;
  --shadow:        rgba(0,57,70,.12);
  --shadow-lg:     rgba(0,57,70,.2);
  
  --radius:        10px;
  --radius-lg:     18px;
  --radius-xl:     28px;
  
  --transition:    .3s cubic-bezier(.4,0,.2,1);
  --font:          'Poppins', sans-serif;
  --font-display:  'Playfair Display', serif;
  
  --header-h:      80px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   Typography
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

.display-font { font-family: var(--font-display); }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 30px; }

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 110px 0; }

.section-header { text-align: center; margin-bottom: 55px; }
.section-header .label {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 560px; margin: 0 auto; }

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 4px;
  margin: 14px auto 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(0,57,70,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
#header.scrolled {
  box-shadow: 0 4px 30px var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .03em;
  line-height: 1.2;
}
.logo-title {
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
  border: 1px solid var(--border);
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  color: var(--text) !important;
  font-size: .82rem;
  padding: 9px 16px;
  border-radius: 0;
  background: none !important;
}
.nav-dropdown a:hover { color: var(--accent) !important; background: var(--light) !important; }
.nav-dropdown .dd-title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray);
  padding: 10px 16px 4px;
}

/* Header right */
.header-right { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex;
  gap: 4px;
}
.lang-switch a {
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all var(--transition);
}
.lang-switch a.active,
.lang-switch a:hover {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.lang-switch span { color: rgba(255,255,255,.3); line-height: 1; align-self: center; font-size: .7rem; }

.btn-header-cta {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--white) !important;
  padding: 7px 12px !important;
  border-radius: 30px !important;
  font-size: .75rem !important;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition) !important;
  box-shadow: 0 4px 15px rgba(0,152,199,.3);
  display: none !important;
}
@media (min-width: 1100px) {
  .btn-header-cta { display: flex !important; align-items: center; gap: 5px; }
}
.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,152,199,.4) !important;
  background: rgba(255,255,255,.15) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--primary);
  z-index: 999;
  padding: 20px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.mobile-nav .mobile-dd-title {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 14px 16px 6px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #004d5f 50%, var(--primary-light) 100%);
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0,152,199,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,96,128,.2) 0%, transparent 40%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: 
    linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,152,199,.15);
  border: 1px solid rgba(0,152,199,.3);
  color: var(--accent-light);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity:.5; transform: scale(.7); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero-title span { color: var(--accent); }

.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,.7);
  font-style: italic;
  margin-bottom: 30px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.hero-desc {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 30px;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,152,199,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,152,199,.5);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-outline-dark {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-sm { padding: 9px 20px; font-size: .82rem; }
.btn-lg { padding: 16px 36px; font-size: .95rem; }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--accent); }
.hero-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-person-wrap {
  position: relative;
  z-index: 2;
}
.hero-person-img {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.4));
  border-radius: 30px;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: 0 8px 30px var(--shadow-lg);
  animation: floatCard 3s ease-in-out infinite;
}
.hero-card-1 { bottom: 15%; left: -10%; animation-delay: 0s; }
.hero-card-2 { top: 20%; right: -8%; animation-delay: 1.5s; }

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-card-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.hero-card-icon svg { width: 18px; height: 18px; color: var(--white); }
.hero-card-num { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.hero-card-label { font-size: .7rem; color: var(--gray); }

.hero-cb-badge {
  position: absolute;
  top: 10%;
  left: -5%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  box-shadow: 0 4px 20px var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-cb-badge img { height: 32px; width: auto; }

/* Hero search */
.hero-search {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 50px var(--shadow-lg);
  padding: 20px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.search-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.search-tab {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.search-tab.active, .search-tab:hover {
  background: var(--primary);
  color: var(--white);
}

.search-fields { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; }

.search-field label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.search-field select,
.search-field input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
}
.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-search {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-search:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,152,199,.4); }
.btn-search svg { width: 18px; height: 18px; }

/* ============================================================
   PROPERTY CARDS
   ============================================================ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px var(--shadow);
  border-color: transparent;
}

/* Filtre buton grubu */
.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.filter-btn {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: .78rem;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  transition: all .15s;
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.card-sold {
  opacity: .72;
  filter: grayscale(30%);
}
.card-sold:hover {
  opacity: .88;
  filter: grayscale(0%);
}
.card-sold-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  background: rgba(220,38,38,.85);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .12em;
  padding: 8px 20px;
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.6);
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
}
.card-on-satis-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 4;
}
.card-devam-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(135deg, #0098C7, #003946);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 4;
}

.card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.property-card:hover .card-img img { transform: scale(1.06); }

.card-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge {
  padding: 4px 10px;
  border-radius: 30px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.badge-sale { background: var(--primary); color: var(--white); }
.badge-rent { background: var(--accent); color: var(--white); }
.badge-project { background: #8b5cf6; color: var(--white); }
.badge-featured { background: #f59e0b; color: var(--white); }
.badge-new { background: #10b981; color: var(--white); }

.card-fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
  transition: all var(--transition);
}
.card-fav svg { width: 16px; height: 16px; color: var(--gray); }
.card-fav:hover svg { color: #ef4444; }
.card-fav.active svg { color: #ef4444; fill: #ef4444; }

.card-body { padding: 18px; }
.card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.card-price .per { font-size: .72rem; font-weight: 500; color: var(--gray); }
.card-title {
  font-size: .92rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray);
  font-size: .8rem;
  margin-bottom: 14px;
}
.card-location svg { width: 13px; height: 13px; flex-shrink: 0; }

.card-specs {
  display: flex;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--light2);
}
.card-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  font-size: .78rem;
  font-weight: 500;
}
.card-spec svg { width: 14px; height: 14px; color: var(--accent); }

/* ============================================================
   ABOUT / HAKKIMDA
   ============================================================ */
.about-section {
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-visual { position: relative; }

.about-img-main {
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px var(--shadow);
  width: 100%;
  object-fit: cover;
}

.about-signature {
  margin-top: 20px;
  padding-left: 10px;
}
.about-signature img { height: 52px; width: auto; }

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-lg);
}
.about-badge-num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.about-badge-label { font-size: .72rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; }

.about-content .label { /* see .section-header .label */ }

.about-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary);
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 22px 0;
}

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.about-tag {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: .78rem;
  font-weight: 600;
}

.about-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.about-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: .88rem;
}
.about-contact-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.about-contact-item strong { color: var(--primary); }

/* ============================================================
   CB BRAND BAR
   ============================================================ */
.brand-bar {
  background: var(--white);
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.brand-bar-text {
  font-size: .8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}
.brand-bar img { height: 44px; width: auto; opacity: .85; }

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */
.listings-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 30px;
  align-items: start;
}

.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-reset {
  font-size: .75rem;
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
}
.filter-reset:hover { text-decoration: underline; }

.filter-group { margin-bottom: 20px; }
.filter-group label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
}
.filter-group select:focus,
.filter-group input:focus { outline: none; border-color: var(--accent); }

.filter-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.filter-checkboxes { display: flex; flex-direction: column; gap: 8px; }
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: .83rem;
  color: var(--text);
}
.filter-check input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--accent); }

.btn-filter {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .88rem;
  transition: all var(--transition);
  margin-top: 8px;
}
.btn-filter:hover { background: var(--accent); }

/* ============================================================
   LISTING DETAIL
   ============================================================ */
.listing-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
}

.gallery-main {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 4px;
}
.gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-thumb:hover img { transform: scale(1.05); }

.listing-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}

.listing-main {}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.listing-price-big {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.listing-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.listing-spec-item {
  background: var(--light);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.listing-spec-item svg { width: 22px; height: 22px; color: var(--accent); margin: 0 auto 8px; }
.listing-spec-value { font-weight: 700; color: var(--primary); font-size: 1rem; }
.listing-spec-label { font-size: .72rem; color: var(--gray); }

.listing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: var(--text);
}
.feature-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.feature-item.no svg { color: var(--border); }

/* Sticky sidebar */
.listing-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.agent-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.agent-card img.agent-img {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--accent);
}
.agent-card .agent-name { font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.agent-card .agent-title { font-size: .78rem; color: var(--gray); margin-bottom: 16px; }
.agent-card .agent-logo { height: 28px; margin: 0 auto 16px; }

.agent-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-call {
  background: var(--primary);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-call:hover { background: var(--accent); }
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-whatsapp:hover { background: #1da851; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group label .req { color: #ef4444; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,152,199,.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .85rem;
  margin-bottom: 16px;
}
.form-alert.success { background: #dcfce7; color: #16a34a; border: 1px solid #86efac; }
.form-alert.error { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }

/* ============================================================
   APPOINTMENT FORM
   ============================================================ */
.appointment-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.appointment-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px var(--shadow);
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: 20px; }
.blog-cat {
  display: inline-block;
  background: var(--light);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 30px;
  margin-bottom: 10px;
}
.blog-card-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--gray);
}
.blog-card-meta a { color: var(--accent); font-weight: 600; }
.blog-card-meta a:hover { text-decoration: underline; }

/* ============================================================
   FLOOR PLAN TOOL
   ============================================================ */
.floor-plan-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 30px var(--shadow);
}

.floor-plan-toolbar {
  background: var(--primary);
  padding: 14px 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.fp-tool-btn {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.fp-tool-btn:hover, .fp-tool-btn.active { background: var(--accent); border-color: var(--accent); }
.fp-tool-btn svg { width: 14px; height: 14px; }

.fp-canvas-wrap {
  position: relative;
  background: #f0f4f8;
  overflow: hidden;
}
#fpCanvas {
  display: block;
  cursor: crosshair;
  touch-action: none;
}

.fp-props-panel {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.fp-prop { display: flex; align-items: center; gap: 8px; }
.fp-prop label { font-size: .78rem; font-weight: 600; color: var(--gray); }
.fp-prop input, .fp-prop select {
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .82rem;
  width: 80px;
}

.fp-furniture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
  background: var(--light);
  border-top: 1px solid var(--border);
}
.fp-furniture-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 6px;
  text-align: center;
  cursor: grab;
  font-size: .7rem;
  color: var(--text);
  transition: all var(--transition);
  user-select: none;
}
.fp-furniture-item:hover { border-color: var(--accent); color: var(--accent); }
.fp-furniture-item svg { width: 24px; height: 24px; margin: 0 auto 4px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; color: var(--white); }
.contact-info-label { font-size: .78rem; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }
.contact-info-value { font-weight: 600; color: var(--primary); font-size: .95rem; margin-top: 2px; }

.social-links { display: flex; gap: 10px; margin-top: 28px; }
.social-link {
  width: 42px; height: 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,152,199,.06); }
.social-link svg { width: 18px; height: 18px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  margin-top: 24px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--primary);
  color: rgba(255,255,255,.8);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--accent);
}

.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { height: 44px; }
.footer-desc { font-size: .83rem; line-height: 1.75; margin-bottom: 20px; }
.footer-cb-logo { height: 30px; opacity: .7; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: rgba(255,255,255,.7);
  font-size: .83rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .82rem;
}
.footer-contact-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .85rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button {
  background: var(--accent);
  color: var(--white);
  padding: 11px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .82rem;
  transition: all var(--transition);
}
.newsletter-form button:hover { background: var(--accent-light); }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-social a svg { width: 16px; height: 16px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: 16px; }

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: calc(var(--header-h) + 50px) 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image:
    linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .breadcrumb { color: rgba(255,255,255,.6); font-size: .82rem; }
.page-hero .breadcrumb a { color: var(--accent); }
.page-hero .breadcrumb span { margin: 0 6px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
}
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f0f4f8;
}

.admin-sidebar {
  width: 260px;
  background: var(--primary);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.admin-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-logo img { height: 38px; }
.admin-logo-text { color: var(--white); font-size: .82rem; font-weight: 700; }
.admin-logo-text span { display: block; color: var(--accent); font-size: .68rem; font-weight: 400; }

.admin-nav { flex: 1; padding: 16px 0; }
.admin-nav-section { padding: 8px 20px 4px; font-size: .65rem; font-weight: 700; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .12em; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: rgba(255,255,255,.7);
  font-size: .84rem;
  font-weight: 500;
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { color: var(--white); background: rgba(255,255,255,.1); }
.admin-nav a.active { border-right: 3px solid var(--accent); }
.admin-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav .badge-count {
  margin-left: auto;
  background: var(--accent);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 30px;
  min-width: 20px;
  text-align: center;
}

.admin-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-page-title { font-size: 1rem; font-weight: 700; color: var(--primary); }
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .83rem;
}
.admin-avatar {
  width: 34px; height: 34px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}

.admin-content { padding: 28px; flex: 1; }

/* Admin stat cards */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; color: var(--white); }
.stat-icon.blue { background: linear-gradient(135deg, var(--accent), var(--primary-light)); }
.stat-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.stat-icon.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--gray); }

/* Admin table */
.admin-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.admin-table-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.admin-table-title { font-weight: 700; color: var(--primary); }
table {
  width: 100%;
  border-collapse: collapse;
}
thead th {
  background: var(--light);
  padding: 11px 16px;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--light); }
tbody td { padding: 12px 16px; font-size: .85rem; }

.badge-status {
  padding: 3px 10px;
  border-radius: 30px;
  font-size: .7rem;
  font-weight: 700;
}
.badge-active { background: #dcfce7; color: #16a34a; }
.badge-inactive { background: #fef2f2; color: #dc2626; }
.badge-pending { background: #fef9c3; color: #ca8a04; }
.badge-confirmed { background: #dbeafe; color: #1d4ed8; }

.admin-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius); font-size: .78rem; font-weight: 600; transition: all var(--transition); }
.admin-btn-primary { background: var(--primary); color: var(--white); }
.admin-btn-primary:hover { background: var(--accent); }
.admin-btn-success { background: #10b981; color: var(--white); }
.admin-btn-danger { background: #ef4444; color: var(--white); }
.admin-btn-outline { border: 1.5px solid var(--border); color: var(--text); }
.admin-btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.admin-btn svg { width: 14px; height: 14px; }

/* Admin form */
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}
.admin-card-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   LOADING & MISC
   ============================================================ */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.spinner {
  width: 40px; height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.no-results svg { width: 60px; height: 60px; margin: 0 auto 16px; opacity: .4; }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 30px; right: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px var(--shadow-lg);
  font-size: .88rem;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform .3s ease;
}
.toast.show { transform: translateX(0); }
.toast.success { background: #16a34a; }
.toast.error { background: #dc2626; }

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: rgba(255,255,255,.85);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9000;
  font-size: .83rem;
}
.cookie-bar.hidden { display: none; }
.cookie-bar a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--accent);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 8000;
  transition: all var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; color: var(--white); }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,.6); }

@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.15); }
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: 0 4px 15px var(--shadow);
}
#scrollTop.show { opacity: 1; pointer-events: all; }
#scrollTop:hover { background: var(--accent); transform: translateY(-3px); }
#scrollTop svg { width: 18px; height: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-slogan { margin: 0 auto 30px; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .listings-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; display: none; }
  .listing-detail-grid { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-sidebar { display: none !important; }
  .admin-mobile-bar { display: flex !important; }
  .admin-main { margin-left: 0 !important; padding-top: 52px; }
  .listing-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-features-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-furniture-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .btn-header-cta { display: none; }
  .hero-title { font-size: 1.8rem; }
  .search-fields { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 50px 0; }
  .section-header { margin-bottom: 35px; }
  .cookie-bar { flex-direction: column; gap: 12px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }

  /* Hakkımda grid mobile */
  .about-hero-grid { grid-template-columns: 1fr !important; gap: 30px !important; }

  /* Blog detay sidebar mobile - içeriğin altına al */
  .blog-detay-grid { grid-template-columns: 1fr !important; }
  .blog-detay-grid > div:last-child { order: 3; }

  /* Danışman ol form grid mobile */
  .danisan-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .admin-stats { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .card-specs { flex-wrap: wrap; }
  .fp-furniture-grid { grid-template-columns: repeat(2, 1fr); }
  :root { --header-h: 65px; }
}

/* Print styles */
@media print {
  #header, footer, .wa-float, #scrollTop, .cookie-bar { display: none !important; }
  body { padding-top: 0; }
  .listing-sidebar { display: none; }
  .listing-detail-grid { grid-template-columns: 1fr; }
}
.admin-mobile-bar {
  display: none !important;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--primary);
  padding: 0 16px;
  height: 52px;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .admin-mobile-bar { display: flex !important; }
}
.admin-mobile-bar .admin-logo-text { color: #fff; font-size: .85rem; font-weight: 700; }
.admin-mobile-toggle {
  background: rgba(255,255,255,.15); border: none; color: #fff;
  border-radius: 8px; padding: 7px 12px; cursor: pointer; font-size: 1rem; line-height: 1;
}
.admin-mobile-menu {
  display: none !important;
  position: fixed;
  top: 52px; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  z-index: 999;
  overflow-y: auto;
  padding: 8px 0 60px;
}
@media (max-width: 900px) {
  .admin-mobile-menu.open { display: block !important; }
}
.admin-mobile-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px; color: rgba(255,255,255,.8);
  text-decoration: none; font-size: .88rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-mobile-menu a:hover, .admin-mobile-menu a.active { color:#fff; background:rgba(255,255,255,.1); }
.admin-mobile-menu a svg { width: 17px; height: 17px; flex-shrink: 0; }
.admin-mobile-menu .admin-nav-section {
  padding: 10px 20px 3px; font-size: .62rem; font-weight: 700;
  color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .1em;
}

/* ============================================================
   MOBİL STICKY FİLTRE
   ============================================================ */
/* Mobile filter button - only shows on mobile */
.mobile-filter-btn { display: none; }

@media (max-width: 900px) {
  .mobile-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0,40,80,.15);
  }
  /* Filter sidebar hidden by default on mobile, shown when .open */
  .filter-sidebar {
    display: none !important;
    position: static !important;
    margin-bottom: 16px;
  }
  .filter-sidebar.open {
    display: block !important;
  }
}

/* ============================================================
   ADMIN NAV — GRUP ALT MENÜLER
   ============================================================ */
.adm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .82rem;
  border-radius: 8px;
  margin: 1px 8px;
  transition: background .15s, color .15s;
}
.adm-item:hover, .adm-item.active {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.adm-item svg { width: 16px; height: 16px; flex-shrink: 0; }

.adm-group-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 16px);
  margin: 1px 8px;
  padding: 9px 10px 9px 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.adm-group-btn:hover, .adm-group-btn.open {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.adm-group-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.adm-group-left svg { width: 16px; height: 16px; flex-shrink: 0; }
.adm-group-btn .chevron {
  width: 14px;
  height: 14px;
  transition: transform .2s;
  flex-shrink: 0;
}
.adm-group-btn.open .chevron { transform: rotate(180deg); }

.adm-group {
  display: none;
  margin: 0 8px 2px 28px;
  border-left: 2px solid rgba(255,255,255,.12);
  padding-left: 8px;
}
.adm-group.open { display: block; }

.adm-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: .78rem;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.adm-sub:hover, .adm-sub.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.adm-badge-inline {
  background: #dc2626;
  color: #fff;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: .65rem;
  font-weight: 700;
  margin-left: auto;
}
