/* 
 * ESKİŞEHİR GÜNEŞ PANELİ WEB SİTESİ TASARIM SİSTEMİ
 * Vanilla CSS - Kurumsal, Modern ve Dönüşüm Odaklı Stil Dosyası
 */

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

:root {
  /* Renk Paleti */
  --primary-dark: #1E4620;    /* Koyu Yeşil - Kurumsal Güven */
  --primary-light: #4CAF50;   /* Açık Yeşil - Doğa ve Tarım */
  --accent-yellow: #FFD54F;   /* Güneş Sarısı - Enerji ve Aksiyon */
  --accent-yellow-hover: #FFC107;
  --bg-light: #F4F7F4;        /* Yumuşak Açık Yeşil/Gri Arka Plan */
  --bg-white: #FFFFFF;
  --text-dark: #1B261C;       /* Okunabilir Koyu Gri/Yeşil Gövde Yazısı */
  --text-muted: #556B58;      /* İkincil Yazı Rengi */
  --border-color: #E2EBE2;
  --shadow-sm: 0 2px 4px rgba(30, 70, 32, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 70, 32, 0.08);
  --shadow-lg: 0 16px 32px rgba(30, 70, 32, 0.12);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --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 & Temel Kurallar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

/* Kapsayıcı (Container) */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Başlık Grubu (Section Headers) */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Yapısı */
.grid {
  display: grid;
  gap: 30px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Buton Tasarımları (Button Styles) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background-color: var(--accent-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 213, 79, 0.4);
}

.btn-secondary {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  border: 1px solid var(--primary-dark);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-outline:hover {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* Üst Bilgi Satırı (Top Bar) */
.topbar {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 8px 0;
  font-size: 0.85rem;
}

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

.topbar-info {
  display: flex;
  gap: 20px;
}

.topbar-info a {
  color: var(--bg-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-socials {
  display: flex;
  gap: 12px;
}

.topbar-socials a {
  color: var(--bg-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.topbar-socials a:hover {
  color: var(--accent-yellow);
}

/* Navigasyon (Header / Nav) */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.logo svg {
  fill: var(--primary-light);
  width: 32px;
  height: 32px;
}

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

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

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

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Hero Tanıtım Ekranı (Hero Section) */
.hero {
  background: linear-gradient(135deg, rgba(30, 70, 32, 0.9) 0%, rgba(10, 30, 12, 0.95) 100%), 
              url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: var(--bg-white);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

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

/* Slogan Rozeti */
.hero-slogan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(255, 213, 79, 0.18) 0%, rgba(255, 213, 79, 0.08) 100%);
  border: 1px solid rgba(255, 213, 79, 0.5);
  color: var(--accent-yellow);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
  animation: sloganGlow 3s ease-in-out infinite alternate;
}

@keyframes sloganGlow {
  0%   { box-shadow: 0 0 0 rgba(255, 213, 79, 0); }
  100% { box-shadow: 0 0 18px rgba(255, 213, 79, 0.35); }
}

.hero h1 {
  color: var(--bg-white);
  font-size: 3.25rem;
  margin-bottom: 24px;
  line-height: 1.15;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.85);
}

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

/* Hizmet Kartları (Services Cards) */
.service-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-light);
  transform: scaleX(0);
  transition: var(--transition-normal);
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon {
  background-color: var(--bg-light);
  color: var(--primary-dark);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

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

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

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

.service-link {
  font-weight: 600;
  font-family: var(--font-title);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* AI Hesaplayıcı Bölümü (AI Solar Calculator) */
.calculator-section {
  background-color: var(--bg-white);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.calculator-wrapper {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0d2810 100%);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.calculator-intro h2 {
  color: var(--bg-white);
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.calculator-intro h2 span {
  color: var(--accent-yellow);
}

.calculator-intro p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.calculator-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calculator-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.calculator-features li svg {
  fill: var(--accent-yellow);
  width: 20px;
  height: 20px;
}

.calculator-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  padding: 30px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-yellow);
  background-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.2);
}

/* Arayüzler İçin Genel Form (Beyaz Tema) */
.form-light .form-group label {
  color: var(--text-dark);
}
.form-light .form-group input, .form-light .form-group select, .form-light .form-group textarea {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}
.form-light .form-group input:focus, .form-light .form-group select:focus, .form-light .form-group textarea:focus {
  border-color: var(--primary-light);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

/* AI Hesap Sonuçları */
.calc-results {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
}

.calc-results.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

.result-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.result-item span:first-child {
  color: rgba(255, 255, 255, 0.7);
}

.result-item span:last-child {
  font-weight: 700;
  color: var(--accent-yellow);
}

.result-total {
  background-color: rgba(255, 213, 79, 0.1);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 213, 79, 0.3);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-top: 16px;
}

/* Referans Proje Kartları (Project Gallery Grid) */
.projects-section {
  padding: 80px 0;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 30px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  border-color: var(--primary-dark);
}

.project-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

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

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: var(--transition-normal);
}

.project-card:hover .project-media img {
  transform: scale(1.05);
}

/* Öncesi/Sonrası (Before/After Toggle Overlay) */
.ba-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary-dark);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.ba-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-fast);
}

.ba-btn:hover {
  background-color: var(--accent-yellow);
  color: var(--primary-dark);
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.project-info h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-item span:first-child {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.detail-item span:last-child {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Hakkımızda / İstatikler (About Section & Stats) */
.about-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

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

.about-img {
  position: relative;
}

.about-img::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent-yellow);
  border-radius: var(--border-radius);
  z-index: -1;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  padding: 20px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-light);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: var(--font-title);
  margin-bottom: 4px;
}

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

/* Blog / Haberler (Blog Section) */
.blog-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.blog-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* İletişim / Teklif İsteme Formu (Contact Section) */
.contact-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.method-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.method-icon {
  background-color: var(--bg-light);
  color: var(--primary-dark);
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.method-details h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.method-details p, .method-details a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form-container {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* Sıkça Sorulan Sorular (FAQs) */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-icon {
  transition: var(--transition-fast);
  color: var(--primary-light);
  width: 24px;
  height: 24px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-item.active {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px 24px;
  border-top-color: var(--border-color);
}

/* Footer Alt Bilgi Alanı (Footer) */
footer {
  background-color: #122914;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 4px solid var(--accent-yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  color: var(--bg-white);
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-logo svg {
  fill: var(--primary-light);
  width: 32px;
  height: 32px;
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-yellow);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-yellow);
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item svg {
  fill: var(--accent-yellow);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

/* Yüzen Hızlı İletişim Butonları (Floating CTAs) */
.floating-ctas {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--bg-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.floating-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Yazı etiketleri her zaman gizli — sadece ikon */
.floating-btn-label {
  display: none;
}

.floating-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1db954 100%);
}
.floating-whatsapp:hover {
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.floating-phone {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
}
.floating-phone:hover {
  box-shadow: 0 8px 28px rgba(76, 175, 80, 0.5);
}

/* Modallar & Before-After Popup Görseli */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 20px;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp var(--transition-normal);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.ba-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.ba-side {
  text-align: center;
}

.ba-side h4 {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ba-side img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

/* Admin Dashboard Arayüzü */
.admin-mobile-topbar {
  display: none; /* Masaüstünde gizli — sadece @media 768px'de görünür */
}

.admin-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}

.admin-sidebar h2 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.admin-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-menu-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 16px;
  border-radius: 8px;
  display: block;
  font-weight: 500;
  transition: var(--transition-fast);
}

.admin-menu-link:hover, .admin-menu-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-yellow);
}

.admin-main {
  background-color: var(--bg-light);
  padding: 40px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.admin-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.9rem;
}

.admin-table th, .admin-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--primary-dark);
}

.admin-table tbody tr:hover {
  background-color: #fcfdfc;
}

.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.badge-green { background-color: rgba(76, 175, 80, 0.1); color: var(--primary-light); }
.badge-yellow { background-color: rgba(255, 213, 79, 0.2); color: #b78a00; }
.badge-red { background-color: rgba(244, 67, 54, 0.1); color: #f44336; }

/* Animasyonlar (Animations) */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Mobil Uyumlu Tasarım (Responsive Styles) */
@media (max-width: 1024px) {
  .calculator-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
  
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .floating-btn-label {
    display: none;
  }

  .floating-btn {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 16px;
  }

  .topbar {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 16px;
    border-top: 1px solid var(--border-color);
    z-index: 200;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    width: 100%;
    display: block;
    padding: 10px 0;
    font-size: 1rem;
  }

  /* Nav'daki WhatsApp butonu tam genişlik */
  .nav-links .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
  }
  
  /* HERO — tek sütun, ortalı */
  .hero {
    padding: 40px 0 60px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }
  
  .hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Services section padding */
  .services-summary {
    padding: 50px 0 !important;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* About */
  .about-section {
    padding: 50px 0;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-img::after {
    display: none; /* Mobilde dekoratif border kaldır */
  }

  .about-content h2 {
    font-size: 1.6rem;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* İletişim form */
  .contact-section {
    padding: 50px 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-container {
    padding: 24px 16px;
  }

  /* Contact form grid 2li tek sütun */
  .contact-section .grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Hesaplayıcı */
  .calculator-section {
    padding: 50px 0;
  }

  .calculator-wrapper {
    padding: 24px 18px;
    gap: 24px;
  }

  .calculator-intro h2 {
    font-size: 1.5rem;
  }

  /* Blog */
  .blog-section {
    padding: 50px 0;
  }

  /* Projects */
  .projects-section {
    padding: 50px 0;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* Başlık gridi tek sütun */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Floating butonlar mobilde de sadece ikon */
  .floating-ctas {
    bottom: 16px;
    right: 14px;
    gap: 10px;
  }

  .floating-btn {
    width: 54px;
    height: 54px;
  }

  .floating-btn svg {
    width: 24px;
    height: 24px;
  }

  /* Form inputları dokunmatik — 16px zoom'u önler */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
    min-height: 48px;
  }

  /* Admin */
  .admin-container {
    grid-template-columns: 1fr;
  }

  /* Admin sidebar tamamen gizle — hamburger ile açılacak */
  .admin-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 80vw;
    max-width: 300px;
    height: 100vh;
    z-index: 2000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 60px;
  }

  .admin-sidebar.mobile-open {
    display: flex;
    transform: translateX(0);
  }

  /* Sidebar overlay arka plan karartma */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    backdrop-filter: blur(2px);
  }

  .sidebar-overlay.active {
    display: block;
  }

  /* Mobil admin topbar */
  .admin-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-dark);
    color: white;
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .admin-mobile-topbar h2 {
    color: white;
    font-size: 1rem;
    margin: 0;
  }

  .admin-hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    line-height: 1;
  }

  .admin-hamburger:active {
    background-color: rgba(255,255,255,0.15);
  }

  /* Admin main içerik */
  .admin-main {
    padding: 20px 16px;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .admin-header h1 {
    font-size: 1.4rem !important;
  }

  /* Stat grid — mobil 1 sütun */
  .admin-main .grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
  }

  /* Admin kart padding küçült */
  .admin-card {
    padding: 18px 14px;
  }

  /* Filtre grubu dikey */
  .admin-card > div[style*="display: flex"] {
    flex-direction: column;
    gap: 10px !important;
  }

  /* Tablolar — mobilde kart görünümüne çevir */
  .admin-table thead {
    display: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
  }

  .admin-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .admin-table td:last-child {
    border-bottom: none;
  }

  .admin-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-right: 8px;
  }

  /* Form — grid 2'li tek sütuna */
  .form-light .grid-2,
  #sec-add-project .grid-2,
  #sec-add-project .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Resim yükleme buton grubu mobil */
  #sec-add-project div[style*="display: flex"][style*="gap: 10px"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #btn-upload-before,
  #btn-upload-after {
    width: 100% !important;
  }

  /* Dosya seç label tam genişlik */
  label.btn.btn-outline[style*="cursor: pointer"] {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Form submit butonu tam genişlik */
  #form-add-project .btn-primary[type="submit"] {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
  }

  /* Input/select/textarea dokunmatik ekran için daha büyük */
  .form-light .form-group input,
  .form-light .form-group select,
  .form-light .form-group textarea {
    font-size: 16px;
    padding: 13px 14px;
    min-height: 48px;
  }

  /* Login card daha küçük padding */
  .login-card {
    padding: 28px 20px;
  }

  .ba-comparison {
    grid-template-columns: 1fr;
  }

  .ba-side img {
    height: 180px;
  }
}

/* 7. Hero Grid ve Slider Tasarımı */
.hero-grid-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1);
  transition: transform 6s ease-in-out;
}

.slide.active img {
  transform: scale(1.05);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  color: var(--bg-white);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  z-index: 3;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(30, 70, 32, 0.6);
  color: var(--bg-white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--accent-yellow);
  color: var(--primary-dark);
}

.prev-btn {
  left: 16px;
}

.next-btn {
  right: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--accent-yellow);
  width: 24px;
  border-radius: 5px;
}

/* Tablet ve Mobil Uyum (Hero Slider İçin) */
@media (max-width: 1024px) {
  .hero-grid-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-slider-container {
    height: 360px;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-slider-container {
    height: 260px;
  }
}

/* 
 * İNTERAKTİF VE CANLI GÖRSEL EKLENTİLER (GÖZ ALICI DİZAYN)
 */

/* 1. Yüzen WhatsApp Butonu İçin Pulsing (Dalga) Efekti */
.floating-whatsapp {
  position: relative;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.6;
  z-index: -1;
  animation: whatsappPulse 2s infinite ease-in-out;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* 2. Ortam Işığı Veren Arka Plan Hareketli Küreler (Ambient Glowing Blobs) */
body::before {
  content: '';
  position: fixed;
  top: 10%;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, rgba(255, 213, 79, 0.02) 60%, transparent 100%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -2;
  animation: blobFloatLeft 25s infinite alternate ease-in-out;
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 79, 0.06) 0%, rgba(76, 175, 80, 0.02) 60%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
  animation: blobFloatRight 30s infinite alternate ease-in-out;
}

@keyframes blobFloatLeft {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobFloatRight {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -60px) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

/* 3. Hero Başlığı Parıltı ve Buton Animasyonları */
.hero h1 span {
  text-shadow: 0 0 20px rgba(255, 213, 79, 0.4);
}

.hero-cta .btn {
  animation: ctaPulse 3s infinite alternate ease-in-out;
}

.hero-cta .btn-secondary {
  animation-delay: 1.5s;
}

@keyframes ctaPulse {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* 4. Gelişmiş Kart Hover Efektleri ve Yumuşak Gölgeler */
.service-card, .project-card, .blog-card, .calculator-wrapper {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.service-card:hover, .project-card:hover, .blog-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(30, 70, 32, 0.15) !important;
  border-color: rgba(76, 175, 80, 0.3) !important;
}

/* 5. İnteraktif Kart Aydınlatması (Hover Üzerine Panel Parlaması) */
.calculator-card {
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.calculator-card:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* 6. Form Alanı Odaklanma Parlaması */
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-yellow) !important;
  box-shadow: 0 0 15px rgba(255, 213, 79, 0.35) !important;
}

/* 7. Yönetici Paneli Giriş Ekranı (Admin Login styles) */
.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--primary-dark);
  padding: 20px;
  box-sizing: border-box;
}

.login-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  animation: slideUp 0.4s ease-out;
}

.login-card h2 {
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 8px;
  text-align: center;
}

.login-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  text-align: center;
}

