/* 
 * BiHaritacı — Main Aesthetic Design System
 * Modern Dark Navy & Emerald Green & Haritacı Gold Palette
 */

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

:root {
  --color-navy-bg: #060d17;
  --color-navy: #0a192f;
  --color-navy-card: #112240;
  --color-navy-light: #1e3a5f;
  
  --color-emerald: #10b981;
  --color-emerald-dark: #059669;
  --color-emerald-light: #d1fae5;
  --color-emerald-glow: rgba(16, 185, 129, 0.25);
  
  --color-gold: #f59e0b;
  --color-gold-hover: #d97706;
  --color-gold-light: #fef3c7;

  --color-bg-light: #f8fafc;
  --color-surface-light: #ffffff;
  --color-border-light: #e2e8f0;
  
  --color-text-dark: #0f172a;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  --color-text-white: #f8fafc;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(10, 25, 47, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(10, 25, 47, 0.08), 0 8px 10px -6px rgba(10, 25, 47, 0.03);
  --shadow-lg: 0 20px 35px -10px rgba(10, 25, 47, 0.15), 0 10px 15px -5px rgba(16, 185, 129, 0.1);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.35);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 21, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
  padding: 1rem 0;
  transition: var(--transition-normal);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-svg-mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.35));
  transition: transform 0.3s ease;
}

.logo-brand:hover .logo-svg-mark {
  transform: rotate(-5deg) scale(1.08);
}

.logo-typo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.brand-prefix {
  color: var(--color-emerald);
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.brand-main {
  color: #ffffff;
  letter-spacing: 1px;
}

.brand-suffix {
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: 700;
  margin-left: 2px;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-emerald);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Navigation */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 330px;
  background: #050a15;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
  padding: 0.6rem;
  margin-top: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #fff;
  transform: translateX(3px);
}

.nav-dropdown-icon {
  font-size: 1.1rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-dropdown-footer {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.nav-dropdown-footer a {
  display: block;
  padding: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-emerald);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}

.nav-dropdown-footer a:hover {
  background: rgba(16, 185, 129, 0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  line-height: 1;
}

.btn-emerald {
  background: linear-gradient(135deg, var(--color-emerald), var(--color-emerald-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  background: var(--color-emerald-dark);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover));
  color: var(--color-navy);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  animation: wa-pulse 3s infinite;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  animation: none;
}

/* Hero Section */
.hero-section {
  background: 
    linear-gradient(to right, rgba(5, 10, 21, 0.88) 0%, rgba(10, 25, 47, 0.58) 45%, rgba(4, 11, 23, 0.32) 100%),
    url('https://plus.unsplash.com/premium_photo-1683134342961-182d4ba368cb?fm=jpg&q=80&w=1920&auto=format&fit=crop') center 30% / cover no-repeat;
  color: #fff;
  padding: 5.5rem 0 6.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.1rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
}

.hero-content h1 span.text-emerald {
  color: var(--color-emerald);
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  line-height: 1.6;
}

/* Trust Badges Bar */
.trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.trust-badge svg {
  color: var(--color-emerald);
}

/* Location Fast Finder Selector (Glassmorphism Opacity) */
.location-finder-box {
  background: rgba(10, 25, 47, 0.72);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.25rem 2rem;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.location-finder-box .form-select,
.location-finder-box .form-input {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
}

.location-finder-box .form-select:focus,
.location-finder-box .form-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.location-finder-box h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.4rem;
}

.form-select, .form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 25, 47, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 3px var(--color-emerald-glow);
}

.form-select option {
  background: var(--color-navy);
  color: #fff;
}

/* Section Common Styling */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  text-transform: uppercase;
  color: var(--color-emerald);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* 6 Ana Hizmet Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-emerald), var(--color-gold));
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--color-text-body);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.875rem;
}

.service-price {
  font-weight: 700;
  color: var(--color-emerald-dark);
}

/* Calculator Widget Container */
.calc-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, #0f2a4a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.calc-price-display {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-gold);
  margin: 1rem 0;
}

/* Direct Contact / Rent Floating Banner for District */
.rental-hero-banner {
  background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rental-info h1,
.rental-info h2,
.rental-info h3,
.rental-hero-banner h1,
.rental-hero-banner h2 {
  color: #ffffff !important;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  line-height: 1.25;
}

.rental-info p {
  color: rgba(255, 255, 255, 0.9);
}

.rental-contacts {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-body);
  font-size: 0.95rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question {
  color: var(--color-emerald-dark);
}

/* Footer */
.site-footer {
  background: var(--color-navy-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--color-emerald);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

/* Floating Rent Callout Sticky CTA on Mobile */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-cta .btn {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-full);
}

/* District (İlçe) Silo Responsive Grid Layout */
.ilce-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.ilce-article-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  font-size: 1.05rem;
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
}

.ilce-sidebar-card {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

/* Global Lead Modal Dedicated Design System */
.lead-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lead-modal-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.lead-modal-header {
  background: linear-gradient(135deg, #0a192f 0%, #1e293b 100%);
  color: #fff;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-emerald);
  flex-shrink: 0;
}

.lead-modal-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lead-modal-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lead-modal-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: #fff !important;
  line-height: 1.2;
}

.lead-modal-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
}

.lead-modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

.lead-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lead-modal-form {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #ffffff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lead-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.lead-modal-col {
  display: flex;
  flex-direction: column;
}

.lead-modal-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 3px;
  line-height: 1.2;
}

.lead-modal-input,
.lead-modal-select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  font-size: 15px;
  outline: none;
  background: #f8fafc;
  color: var(--color-text-dark);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.lead-modal-select {
  background: #ffffff;
  cursor: pointer;
}

.lead-modal-input:focus,
.lead-modal-select:focus {
  border-color: var(--color-emerald);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.lead-modal-kvkk {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 2px;
}

.lead-modal-kvkk input {
  margin-top: 2px;
  accent-color: var(--color-emerald);
}

.lead-modal-kvkk label {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.3;
  cursor: pointer;
}

.lead-modal-kvkk a {
  color: var(--color-emerald);
  font-weight: 700;
  text-decoration: underline;
}

.lead-modal-submit-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  margin-top: 2px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.lead-modal-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.lead-modal-skip {
  text-align: center;
  margin-top: 2px;
}

.lead-modal-skip a {
  font-size: 0.75rem;
  color: #64748b;
  text-decoration: underline;
}

.lead-modal-skip a:hover {
  color: var(--color-emerald);
}

/* Tool & Route Universal Layout Grid Systems */
.tool-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.route-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.tool-form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .hero-grid, 
  .calc-grid, 
  .rental-hero-banner,
  .network-cover-grid,
  .ilce-layout-grid,
  .tool-layout-grid,
  .route-layout-grid,
  .guide-grid,
  div[style*="grid-template-columns: 1fr 380px"],
  div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  
  .tool-layout-grid > *,
  .route-layout-grid > *,
  .guide-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  
  .ilce-sidebar-card {
    position: static !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .section {
    padding: 3rem 1.25rem !important;
  }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .section {
    padding: 2.25rem 0.75rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .lead-form-grid-row,
  .modal-grid-row,
  .form-grid-2col,
  .tool-form-2col,
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .ilce-hero-section {
    padding: 2.25rem 0 !important;
  }

  .ilce-article-card {
    padding: 1.25rem 1rem !important;
    border-radius: 12px !important;
  }

  .ilce-sidebar-card {
    padding: 1.25rem 1rem !important;
    border-radius: 12px !important;
    position: static !important;
  }

  .rental-hero-banner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
    padding: 1.5rem 1.15rem !important;
    border-radius: 16px !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .rental-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 0.75rem !important;
  }

  .rental-info > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .rental-info h1,
  .rental-info h2,
  .rental-hero-banner h1,
  .rental-hero-banner h2 {
    text-align: center !important;
    font-size: clamp(1.35rem, 5vw, 1.85rem) !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.45rem !important;
    line-height: 1.3 !important;
  }

  .rental-info p {
    text-align: center !important;
    font-size: 0.92rem !important;
    margin: 0 !important;
  }

  .bureau-avatar {
    margin: 0 auto !important;
    width: 70px !important;
    height: 70px !important;
  }

  .rental-contacts {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
  }

  .rental-contacts .btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ilce-spot-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 1.25rem 1rem !important;
    gap: 1rem !important;
  }

  .ilce-spot-cta .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .review-header-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .ilce-blog-link {
    flex-direction: column !important;
  }

  .ilce-blog-img-wrap {
    width: 100% !important;
    height: 140px !important;
  }

  .network-cover-banner {
    padding: 1.75rem 1rem !important;
    border-radius: 12px !important;
  }

  .trust-badges-bar {
    justify-content: center;
    gap: 0.5rem;
  }

  .hero-content h1 {
    font-size: 1.85rem !important;
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
    font-size: 0.95rem !important;
  }

  .hero-content > div[style*="display: flex"] {
    justify-content: center;
  }

  .location-finder-box {
    padding: 1.5rem 1.25rem !important;
    border-radius: 14px !important;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .btn-lg {
    font-size: 0.95rem !important;
    padding: 0.9rem 1.25rem !important;
  }

  /* Lead Modal Mobile Optimizations */
  .lead-modal-overlay {
    padding: 0.5rem !important;
    align-items: flex-start !important;
    padding-top: 1rem !important;
  }

  .lead-modal-box {
    max-height: 92vh !important;
    max-height: 92dvh !important;
    border-radius: 14px !important;
    width: 100% !important;
  }

  .lead-modal-header {
    padding: 0.75rem 1rem !important;
  }

  .lead-modal-form {
    padding: 0.85rem 1rem !important;
    gap: 0.55rem !important;
  }

  .lead-modal-label {
    font-size: 0.75rem !important;
    margin-bottom: 2px !important;
  }

  .lead-modal-input,
  .lead-modal-select {
    padding: 0.6rem 0.75rem !important;
    font-size: 16px !important;
  }

  .lead-modal-submit-btn {
    padding: 0.85rem 1rem !important;
    font-size: 0.98rem !important;
  }
}

/* Rented Location Page Hero & Showcase Layout */
.hero-engineer-portrait-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-engineer-portrait-card:hover {
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .rental-hero-banner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .rental-hero-main {
    max-width: 100% !important;
  }
  .hero-actions {
    justify-content: center !important;
  }
  .hero-engineer-portrait-card {
    margin: 1.5rem auto 0 auto !important;
  }
  .saha-galeri-top {
    padding: 1rem !important;
  }
}

/* SILO Location Hero Background Image & Atmospheric Lighting */
.ilce-hero-section {
  background: 
    linear-gradient(135deg, rgba(7, 19, 36, 0.93) 0%, rgba(10, 25, 47, 0.88) 50%, rgba(6, 78, 59, 0.84) 100%),
    url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?fm=webp&q=80&w=1920&auto=format&fit=crop') center 35% / cover no-repeat;
  color: #fff;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.ilce-hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ilce-hero-section::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Gallery Lightbox Modal */
.gallery-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: glbFadeIn 0.25s ease forwards;
}

@keyframes glbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.gallery-lightbox-container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  background: #0a192f;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(16, 185, 129, 0.15);
  display: flex;
  flex-direction: column;
  max-height: 94vh;
}

.gallery-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(7, 19, 36, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-lightbox-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #6ee7b7;
}

.gallery-lightbox-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: #ef4444;
  color: #fff;
  transform: scale(1.05);
}

.gallery-lightbox-media-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030712;
  min-height: 320px;
  max-height: 56vh;
  overflow: hidden;
  padding: 0.5rem;
}

.gallery-lightbox-img-box {
  width: 100%;
  height: 100%;
  max-height: 54vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: 54vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transition: opacity 0.2s ease;
}

.gallery-lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 19, 36, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s ease;
}

.gallery-lightbox-nav-btn:hover {
  background: var(--color-emerald);
  border-color: var(--color-emerald);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-nav-btn.prev {
  left: 14px;
}

.gallery-lightbox-nav-btn.next {
  right: 14px;
}

.gallery-lightbox-caption {
  padding: 0.65rem 1.25rem;
  background: rgba(7, 19, 36, 0.95);
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-lightbox-cta-bar {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #071324 0%, #0d213f 100%);
  border-top: 1.5px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-lightbox-cta-info {
  flex: 1 1 320px;
}

.gallery-lightbox-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .gallery-lightbox-container {
    max-height: 96vh;
    border-radius: 14px;
  }
  .gallery-lightbox-media-wrap {
    min-height: 220px;
    max-height: 44vh;
  }
  .gallery-lightbox-img {
    max-height: 42vh;
  }
  .gallery-lightbox-nav-btn {
    width: 36px;
    height: 36px;
  }
  .gallery-lightbox-nav-btn.prev {
    left: 6px;
  }
  .gallery-lightbox-nav-btn.next {
    right: 6px;
  }
  .gallery-lightbox-cta-bar {
    padding: 0.85rem;
    flex-direction: column;
    text-align: center;
  }
  .gallery-lightbox-cta-actions {
    width: 100%;
    justify-content: center;
  }
  .gallery-lightbox-cta-actions .btn {
    width: 100% !important;
  }
}

/* ==========================================================================
   Rental Hero Banner & Engineer Portrait
   ========================================================================== */
.rental-hero-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 2.5rem;
  row-gap: 1.25rem;
  margin-bottom: 0;
}

.rental-hero-banner.no-engineer-photo {
  grid-template-columns: 1fr;
}

.rental-hero-banner.no-engineer-photo .rental-hero-text {
  grid-column: 1 / -1;
  max-width: 1000px;
}

.rental-hero-banner.no-engineer-photo .hero-actions {
  grid-column: 1 / -1;
}

.rental-hero-banner > * {
  min-width: 0;
}

.hero-santral-notice {
  width: 100%;
  box-sizing: border-box;
}

.rental-hero-text {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  max-width: 820px;
}

.hero-actions {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-engineer-portrait-card {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.hero-engineer-portrait-card .portrait-img-box {
  width: 165px;
  height: 215px;
  border-radius: 28px;
  overflow: hidden;
  border: 3.5px solid var(--color-emerald);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45), 0 0 30px rgba(16, 185, 129, 0.25);
  background: #071324;
  position: relative;
}

@media (max-width: 768px) {
  .ilce-hero-section {
    padding: 1.65rem 0 !important;
  }
  .rental-hero-banner {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    column-gap: clamp(0.65rem, 2.5vw, 1.25rem) !important;
    row-gap: 1.1rem !important;
    text-align: left !important;
  }
  .rental-hero-banner.no-engineer-photo {
    grid-template-columns: 100% !important;
  }
  .rental-hero-banner.no-engineer-photo .rental-hero-text {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .rental-hero-banner.no-engineer-photo .hero-actions {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  .rental-hero-text {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    text-align: left !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .rental-hero-text .hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    font-size: 0.72rem !important;
    padding: 0.22rem 0.6rem !important;
    margin-bottom: 0.35rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .rental-hero-text h1 {
    font-size: clamp(1.1rem, 4.2vw, 1.35rem) !important;
    margin-top: 0.15rem !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.25 !important;
    text-align: left !important;
    word-break: break-word !important;
  }
  .rental-hero-text p {
    font-size: clamp(0.75rem, 2.8vw, 0.85rem) !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    text-align: left !important;
  }
  .hero-engineer-portrait-card {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    margin: 0 0 0 auto !important;
    align-self: center !important;
    flex-shrink: 0 !important;
  }
  .hero-engineer-portrait-card .portrait-img-box {
    width: clamp(95px, 28vw, 115px) !important;
    height: clamp(125px, 37vw, 148px) !important;
    border-radius: 18px !important;
    border-width: 2.5px !important;
  }
  .hero-engineer-portrait-card > div:last-child {
    margin-top: 0.3rem !important;
  }
  .hero-engineer-portrait-card strong {
    font-size: 0.8rem !important;
  }
  .hero-engineer-portrait-card span {
    font-size: 0.68rem !important;
  }
  .hero-actions {
    grid-column: 1 / -1 !important;
    grid-row: 2 / 3 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
  }
  .hero-santral-notice {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0.4rem !important;
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
  }
  .rental-hero-banner > *:not(.rental-hero-text):not(.hero-engineer-portrait-card):not(.hero-actions) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   Field Survey Gallery (Saha & Uygulama Galerisi)
   ========================================================================== */
.saha-galeri-top {
  margin-bottom: 2.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px solid var(--color-border-light);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.saha-galeri-header {
  margin-bottom: 1.15rem;
}

.saha-galeri-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.saha-galeri-title {
  font-size: 1.18rem;
  color: var(--color-navy);
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.saha-galeri-sub {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.45;
}

.saha-galeri-count-badge {
  font-size: 0.78rem;
  color: #047857;
  background: #d1fae5;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  white-space: nowrap;
  flex-shrink: 0;
}

.saha-galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}

.saha-galeri-item-btn {
  display: block;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background: #0a192f;
  position: relative;
  padding: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.saha-galeri-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.saha-galeri-item-btn:hover .saha-galeri-img {
  transform: scale(1.08);
}

.saha-galeri-zoom-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(7, 19, 36, 0.78);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .saha-galeri-top {
    padding: 0.85rem 0.65rem !important;
    border-radius: 14px !important;
    margin-bottom: 1.75rem !important;
  }
  .saha-galeri-header {
    margin-bottom: 0.75rem !important;
  }
  .saha-galeri-header-top {
    gap: 0.5rem !important;
    margin-bottom: 0.25rem !important;
  }
  .saha-galeri-title {
    font-size: 1.05rem !important;
    gap: 6px !important;
  }
  .saha-galeri-sub {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }
  .saha-galeri-count-badge {
    padding: 2px 8px !important;
    font-size: 0.72rem !important;
  }
  .saha-galeri-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .saha-galeri-item-btn {
    border-radius: 10px !important;
  }
  .saha-galeri-zoom-badge {
    bottom: 5px !important;
    right: 5px !important;
    padding: 3px 5px !important;
    font-size: 0.65rem !important;
    border-radius: 5px !important;
  }
  .saha-galeri-zoom-text {
    display: none !important;
  }
}

