/* ==========================================================================
   YAPSAT İNŞAAT - MAIN STYLESHEET
   Modern, Duyarlı & Müteahhitlik Sektörüne Özel Tasarım
   ========================================================================== */

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

:root {
  /* Renk Paleti */
  --primary-color: #0f172a;       /* Koyu Lacivert / Slate */
  --primary-light: #1e293b;
  --accent-color: #f59e0b;        /* İnşaat Altın / Amber */
  --accent-hover: #d97706;
  --accent-light: #fef3c7;
  --secondary-color: #334155;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  
  /* Tipografi */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Gölgeler & Geçişler */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --shadow-hover: 0 20px 35px rgba(15, 23, 42, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Üst İletişim Çubuğu (Top Bar) */
.top-bar {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info, .top-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-info-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-color);
}

.top-social a {
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.top-social a:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* Header & Navigasyon */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.brand-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.brand-logo span.accent {
  color: var(--accent-color);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
  transition: var(--transition);
}

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

.nav-link.active {
  color: var(--accent-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-color);
}

/* Buton Stilleri */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-outline-white {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Section Stilleri */
.section {
  padding: 90px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--primary-color);
  color: #ffffff;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3 {
  color: #ffffff;
}

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

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-hover);
  background-color: var(--accent-light);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.bg-dark .section-subtitle {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--accent-color);
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

.bg-dark .section-description {
  color: var(--text-light);
}

/* HERO SLIDER / BANNER */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,41,59,0.75) 100%),
              url('https://images.unsplash.com/photo-1541888946425-d0fbb186a5b3?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 100px 0;
}

.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-color);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title span {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* HERO Hızlı Bilgi Bandı */
.hero-features-bar {
  background-color: #ffffff;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-light);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feature-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* İSTATİSTİKLER (Counter Section) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* HİZMETLER GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

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

.service-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-hover);
}

.service-link:hover {
  gap: 10px;
}

/* PROJELER KARTLARI & FİLTRELEME */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.project-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-completed {
  background-color: #10b981;
  color: #ffffff;
}

.badge-ongoing {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.badge-future {
  background-color: #6366f1;
  color: #ffffff;
}

.project-content {
  padding: 24px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.project-location svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-hover);
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.project-details-row {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-details-row span {
  font-weight: 600;
  color: var(--primary-color);
}

/* TEKLİF AL / KAT KARŞILIĞI CALL-TO-ACTION */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.cta-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.cta-content p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.cta-btn-wrapper {
  position: relative;
  z-index: 2;
}

/* YORUMLAR & TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.testimonial-stars {
  color: var(--accent-color);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-info h5 {
  font-size: 1rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FOOTER */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding-top: 80px;
}

.footer-top {
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-brand p {
  margin: 18px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* SAYFA BANNER'LARI (İç Sayfalar İçin Header Banner) */
.page-banner {
  background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(30,41,59,0.85) 100%),
              url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 90px 0 60px 0;
  color: #ffffff;
  text-align: center;
}

.page-banner h1 {
  color: #ffffff;
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--accent-color);
}

/* FORMLAR (İletişim & Teklif Al Sayfaları) */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.form-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

/* PROJE DETAY SAYFASI ÖZEL STİLLERİ */
.project-meta-box {
  background-color: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
}

.meta-item:last-child {
  border-bottom: none;
}

.meta-label {
  font-weight: 600;
  color: var(--text-muted);
}

.meta-value {
  font-weight: 700;
  color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* SSS / ACCORDION */
.accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  padding: 18px 24px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-body {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* LIGHTBOX / MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
}

/* ALERT MESSAGES */
.alert-box {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: none;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* RESPONSIVE MEDIA QUERIES (Tüm Cihazlar ve Ekran Boyutları İçin Tam Mobil Uyumluluk) */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 90px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-features-bar {
    margin-top: -40px;
    padding: 20px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link::after {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  /* Gridleri Mobil Kolonuna Çevir */
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns: 1fr 2fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 0.8rem;
    padding: 8px 0;
  }

  .top-info {
    gap: 10px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .form-card {
    padding: 24px 18px;
  }

  .page-banner {
    padding: 60px 0 40px 0;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    flex: 1 1 auto;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .unit-plan-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .meta-item {
    font-size: 0.88rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .top-bar {
    display: none; /* Mobilde yer kazanmak için top-bar gizlenir */
  }

  .navbar {
    height: 70px;
  }

  .brand-logo {
    font-size: 1.15rem;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  .header-actions .btn {
    display: inline-flex;
    padding: 7px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .hero {
    padding: 50px 0 70px 0;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.92rem;
    text-align: center;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-grid,
  .projects-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .form-control, select.form-control, textarea.form-control {
    font-size: 16px; /* iOS otomatik yakınlaştırma engelleme */
    padding: 12px 14px;
  }

  .accordion-header {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .accordion-body {
    padding: 0 16px 16px 16px;
    font-size: 0.88rem;
  }

  .modal-content {
    max-width: 95%;
  }

  .modal-close {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  /* Arsa Değerlemesi Mobil Kart Kart Düzeni */
  .unit-plan-grid > div {
    padding: 24px 16px !important;
    min-height: auto !important;
  }

  .unit-plan-grid h3 {
    font-size: 1.35rem !important;
  }
}

