/* ===========================
   REALTY WORLD LEO — GLOBAL CSS
   =========================== */

:root {
  --red: #C8102E;
  --red-dark: #a00d24;
  --red-light: #e8193d;
  --black: #111111;
  --dark: #1a1a1a;
  --dark2: #2c2c2c;
  --gray: #6b6b6b;
  --gray-light: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
  --font: 'Montserrat', sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-logo img {
  height: 80px;
  width: auto;
  display: none;
  transition: height var(--transition);
}

/* Koyu arka plan: SVG logo görünür, PNG gizli */
.navbar:not(.scrolled) .logo-light   { display: block; }
.navbar:not(.scrolled) .logo-scrolled { display: none; }

/* Scroll sonrası beyaz arka plan: PNG görünür, SVG gizli */
.navbar.scrolled .logo-light    { display: none; }
.navbar.scrolled .logo-scrolled  { display: block; height: 64px; }

@media (max-width: 768px) {
  .nav-logo img { height: 52px; }
  .navbar.scrolled .logo-scrolled { height: 44px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
  transition: color var(--transition);
  text-transform: uppercase;
}

.navbar.scrolled .nav-links a { color: var(--dark); }

.nav-links a:hover,
.nav-links a.active { color: var(--red); }

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--red); }

.btn-nav-wa {
  background: #25D366;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px !important;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav-wa:hover { background: #1da851; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--dark); }

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0408 40%, #2c0a10 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1800&q=80') center/cover no-repeat;
  opacity: 0.18;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-content h1 span { color: var(--red); }

.hero-content p {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,16,46,0.4);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 13px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
  display: inline-block;
}
.btn-outline:hover { background: var(--white); color: var(--dark); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scroll-dot 1.6s ease infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 20px; }
}

/* ========== STATS ========== */
.stats {
  background: var(--red);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item p {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== SECTION COMMON ========== */
section { padding: 88px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.light h2,
.section-header.light p { color: var(--white); }

.section-tag {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header.light .section-tag { color: rgba(255,255,255,0.7); }

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
}

/* ========== SERVICES ========== */
.services { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--red);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(200,16,46,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.service-icon i { font-size: 26px; color: var(--red); }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.service-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* ========== LISTINGS ========== */
.listings { background: var(--white); }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.listing-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.listing-img {
  position: relative;
  height: 200px;
  background: var(--gray-light);
}
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}
.img-placeholder i { font-size: 48px; color: #bbb; }

.listing-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.listing-badge.kiralık { background: #0066cc; }

.listing-body { padding: 20px; }
.listing-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.listing-loc { font-size: 13px; color: var(--gray); margin-bottom: 14px; }
.listing-loc i { color: var(--red); margin-right: 4px; }

.listing-details {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.listing-details span { font-size: 12px; color: var(--gray); }
.listing-details i { color: var(--red); margin-right: 3px; }

.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.listing-price { font-size: 1.05rem; color: var(--red); font-weight: 800; }
.btn-listing {
  background: var(--red);
  color: var(--white);
  padding: 7px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
}
.btn-listing:hover { background: var(--red-dark); }

.listings-note {
  text-align: center;
  padding: 20px;
  background: rgba(200,16,46,0.05);
  border-radius: var(--radius);
  color: var(--gray);
  font-size: 14px;
}
.listings-note i { color: var(--red); margin-right: 6px; }

/* ========== SELL CTA ========== */
.sell-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 80px 0;
}

.sell-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.sell-cta-text { flex: 1; color: var(--white); }
.sell-cta-text h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }
.sell-cta-text p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.7; }
.sell-cta-text ul { display: flex; flex-direction: column; gap: 8px; }
.sell-cta-text li { font-size: 14px; color: rgba(255,255,255,0.85); }
.sell-cta-text li i { color: #4ade80; margin-right: 8px; }

.sell-cta-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  min-width: 220px;
}

.btn-large { padding: 16px 36px; font-size: 15px; text-align: center; }

.btn-wa-large {
  background: #25D366;
  color: var(--white);
  padding: 15px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
}
.btn-wa-large:hover { background: #1da851; transform: translateY(-2px); }

/* ========== WHY US ========== */
.why-us {
  background: var(--black);
  padding: 88px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  text-align: center;
}

.why-item i {
  font-size: 36px;
  color: var(--red);
  margin-bottom: 16px;
}
.why-item h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-item p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ========== FOOTER ========== */
.footer {
  background: #0d0d0d;
  padding: 72px 0 0;
}

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

.footer-logo {
  height: 80px;
  width: auto;
  max-width: 220px;
  margin-bottom: 18px;
  display: block;
}

.footer-logo-svg {
  height: 80px;
  width: auto;
  max-width: 220px;
  margin-bottom: 18px;
  display: block;
}

@media (max-width: 768px) {
  .footer-logo, .footer-logo-svg { height: 60px; }
}

@media (max-width: 768px) {
  .footer-logo { height: 60px; }
}

.footer-col > p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }

.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--red); }

.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list i { color: var(--red); font-size: 15px; width: 16px; }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-links a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--red); }

/* ========== FLOATING BUTTONS ========== */
.float-btn {
  position: fixed;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 998;
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.float-wa { right: 88px; background: #25D366; }
.float-ig {
  right: 24px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2c0a10 100%);
  padding: 140px 0 72px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1rem; opacity: 0.7; }
.breadcrumb { font-size: 13px; opacity: 0.5; margin-bottom: 14px; }
.breadcrumb a { color: var(--white); }
.breadcrumb span { margin: 0 6px; }

/* ========== TEAM PAGE ========== */
.team-section { background: var(--gray-light); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-photo {
  height: 240px;
  background: linear-gradient(135deg, #d0d0d0, #b0b0b0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-photo i { font-size: 72px; color: rgba(255,255,255,0.6); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-info { padding: 20px 16px; }
.team-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-info .role { font-size: 12px; color: var(--red); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 14px; }
.team-social { display: flex; justify-content: center; gap: 10px; }
.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray);
  transition: all var(--transition);
}
.team-social a:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* Broker tek satır ortada */
.team-broker-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.broker-card {
  width: 260px;
}

/* Danışmanlar başlığı */
.team-advisors-label {
  text-align: center;
  margin-bottom: 32px;
}
.team-advisors-label span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px;
}

/* ========== CONTACT PAGE ========== */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--gray); line-height: 1.7; margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(200,16,46,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { color: var(--red); font-size: 18px; }
.contact-item-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.contact-item-text a, .contact-item-text p { font-size: 14px; color: var(--gray); }
.contact-item-text a:hover { color: var(--red); }

.social-contact { display: flex; gap: 12px; margin-top: 8px; }
.social-contact a {
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition);
}
.social-contact a:hover { opacity: 0.85; }
.social-wa { background: #25D366; color: var(--white); }
.social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: var(--white);
}

/* FORM */
.contact-form-wrap {
  background: var(--gray-light);
  border-radius: 16px;
  padding: 40px;
}
.contact-form-wrap h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.contact-form-wrap .form-sub { font-size: 14px; color: var(--gray); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--dark); margin-bottom: 6px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background var(--transition), transform var(--transition);
  margin-top: 4px;
}
.form-submit:hover { background: var(--red-dark); transform: translateY(-1px); }

.form-note { font-size: 12px; color: var(--gray); margin-top: 12px; text-align: center; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--dark) !important; font-size: 15px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .team-grid { grid-template-columns: repeat(2, 260px); justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .sell-cta-inner { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 260px; justify-content: center; }
  .hero-content h1 { font-size: 2rem; }
}
