/* =========================================
   1. CSS VARIABLES - COLOR PALETTE
   ========================================= */
:root {
  --navy-blue: #1a365d;
  --light-blue: #2d5a9e;
  --accent-orange: #e86e25;
  --accent-green: #27ae60;
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --success-green: #27ae60;
}

/* =========================================
   2. RESET & TYPOGRAPHY
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

h1, h2, h3, h4 {
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.2rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* =========================================
   3. BUTTONS
   ========================================= */
.btn-primary {
  display: inline-block;
  background-color: var(--accent-orange);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #d45a1a;
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--navy-blue);
  padding: 12px 24px;
  border: 2px solid var(--accent-orange);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--accent-orange);
  color: var(--white);
}

/* Özel WhatsApp Butonu */
.btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: var(--white);
  padding: 12px 24px;
  border: 2px solid #25D366;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================
   4. HEADER (ÜST MENÜ) - KOMPAKT VERSİYON
   ========================================= */
#bp-header {
  position: sticky;
  top: 0;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #e5eaf0;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  z-index: 1000;
}

#bp-header .bp-header-inner {
  max-width: 1320px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

#bp-header .bp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

#bp-header .bp-logo span {
  margin: 0;
}

#bp-header .bp-mark {
  background: #1a365d;
  color: #fff;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 15px;
}

#bp-header .bp-name {
  font-size: 14px;
  color: #1a365d;
  line-height: 1.1;
  font-weight: 700;
}

#bp-header .bp-name small {
  display: block;
  color: #e86e25;
  font-size: 14px;
}

#bp-header .main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
}

#bp-header .main-nav a {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--dark-gray);
}

#bp-header .main-nav a:hover {
  color: var(--accent-orange);
}

#bp-header .bp-actions {
  display: flex;
  gap: 8px;
}

#bp-header .bp-actions a {
  padding: 8px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

#bp-header .bp-actions a:hover {
  opacity: 0.9;
}

#bp-header .bp-call {
  background: #1a365d;
}

#bp-header .bp-wa {
  background: #198754;
}

/* =========================================
   5. HERO SECTION (ANA TANITIM)
   ========================================= */
.hero {
  background: linear-gradient(135deg, #1a365d 0%, #355780 100%);
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 80px max(24px, calc((100vw - 1200px) / 2)) 80px;
  min-height: 80vh; /* 100vh yerine 80vh yaparak devasa boşluğu engelledik */
  position: relative;
  color: var(--white); /* Yazıları beyaz yapar */
}

.hero-content {
  flex: 1 1 58%;
  min-width: 0;
}

.hero-image {
  flex: 1 1 42%;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent-orange);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 0.5s ease;
}

.hero h1 {
  font-size: clamp(2.3rem, 3.5vw, 3.5rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  overflow-wrap: break-word;
  animation: fadeInUp 0.7s ease;
}

.hero p {
  font-size: 1.3rem;
  color: #e0e8f0;
  max-width: 600px;
  margin-bottom: 30px;
  animation: fadeInUp 0.9s ease;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-whatsapp {
  margin-right: 15px;
  margin-bottom: 10px;
}

.hero-buttons .btn-primary:last-child,
.hero-buttons .btn-whatsapp:last-child {
  margin-right: 0;
}

.hero-image .placeholder-image {
  background: linear-gradient(135deg, #e8eef5 0%, #f0f8ff 100%);
  color: #666;
  width: 100%;
  border-radius: 18px;
}

/* =========================================
   6. NEDEN BİZİ SEÇMELİSİNİZ (KOMPAKT & CTA)
   ========================================= */
.why-choose {
  padding: 40px 20px;
  background-color: var(--white);
}

.why-choose .section-header {
  text-align: center;
  margin-bottom: 25px;
}

.why-choose .section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.why-choose .section-header p {
  color: var(--medium-gray);
  font-size: 1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  padding: 20px 15px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  border-top: 3px solid var(--accent-orange);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  border-color: #e0e0e0;
  border-top-color: var(--navy-blue);
  cursor: pointer;
}

.why-card .icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--accent-orange);
}

.why-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--navy-blue);
  font-weight: 700;
}

.why-card p {
  color: var(--medium-gray);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 15px;
}

.why-card a {
  margin-top: auto;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

.why-card a:hover {
  color: var(--navy-blue);
  text-decoration: underline;
}

/* =========================================
   7. MÜŞTERİ YORUMLARI (SABİT GRID)
   ========================================= */
.testimonials {
  padding: 60px 0;
  background-color: var(--light-gray);
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.testimonials-static-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-stars {
  color: #f39c12;
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.testimonial-stars span {
  color: var(--medium-gray);
  font-size: 0.85rem;
  letter-spacing: normal;
  margin-left: 5px;
}

.testimonial-card h3 {
  color: var(--navy-blue);
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.testimonial-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
}

.reviews-action {
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
}

/* =========================================
   8. MAP PREVIEW & FOOTER
   ========================================= */
.map-preview {
  padding: 60px 0;
  background-color: var(--white);
}

.map-preview .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
}

.map-container address,
.map-container p {
  text-align: center;
  margin-top: 15px;
  font-style: normal;
}

.map-container p a {
  color: var(--accent-orange);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

.map-container p a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--navy-blue);
  color: #aaa;
  padding: 60px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

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

.footer-content > p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
  border-top: 1px solid #4a6b9a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 500;
}

.footer-bottom a:hover {
  color: var(--accent-orange);
}

/* =========================================
   9. SABİT CTA CONTAINER (Telefon & WhatsApp)
   ========================================= */
.cta-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  gap: 15px;
}

.cta-call,
.cta-whatsapp {
  display: inline-block;
  padding: 15px 25px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-call {
  background-color: var(--navy-blue);
  color: var(--white);
}

.cta-call:hover {
  background-color: #2c4a75;
  transform: translateY(-2px);
}

.cta-whatsapp {
  background-color: var(--accent-orange);
  color: var(--white);
}

.cta-whatsapp:hover {
  background-color: #d45a1a;
  transform: translateY(-2px);
}

/* =========================================
   10. ALT SAYFALAR (About, Test Nedir, Evraklar)
   ========================================= */
.page-header {
  padding: 100px 0 40px;
  text-align: center;
  background: var(--light-gray);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.about-section {
  padding: 80px 0;
  background-color: var(--white);
}

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

.about-img .placeholder-image {
  background: linear-gradient(135deg, #e8eef5 0%, #f0f8ff 100%);
  border-radius: 8px;
}

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

.about-text p {
  margin-bottom: 20px;
}

.vision-box,
.capabilities-box {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
}

.vision-box h3,
.capabilities-box h3 {
  color: var(--accent-orange);
  margin-bottom: 15px;
}

.vision-box p,
.capabilities-box p {
  color: var(--medium-gray);
}

.capabilities-box ul {
  list-style: none;
}

.capabilities-box li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.capabilities-box li:last-child {
  border-bottom: none;
}

.capabilities-box strong {
  color: var(--navy-blue);
}

.test-nedir-section {
  padding: 40px 0;
  background-color: var(--white);
}

.test-nedir-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.test-nedir-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.test-nedir-text h3 {
  color: var(--navy-blue);
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.test-nedir-text p {
  margin-bottom: 15px;
}

.abilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.ability-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-blue);
}

.ability-item p {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

.test-nedir-image .placeholder-image {
  background: linear-gradient(135deg, #e8eef5 0%, #f0f8ff 100%);
}

.evraklar-section {
  padding: 80px 0;
  background-color: var(--white);
}

.evraklar-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.evraklar-header h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.evraklar-list {
  margin-top: 30px;
}

.evraklar-card {
  padding: 25px;
  background: var(--light-gray);
  border-radius: 8px;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.evraklar-card:hover {
  background: var(--white);
}

.evraklar-card .icon {
  font-size: 1.8rem;
  margin-bottom: 15px;
  display: block;
}

.evraklar-card h3 {
  margin-bottom: 10px;
  color: var(--navy-blue);
}

.evraklar-card p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.evraklar-tips {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.evraklar-tips h3 {
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.evraklar-tips ul {
  margin-left: 20px;
}

.evraklar-tips li {
  margin-bottom: 10px;
}

/* =========================================
   11. CTA & FORM (Alt Sayfalar İçin)
   ========================================= */
.about-cta,
.test-cta,
.evraklar-cta,
.contact-cta {
  background: linear-gradient(135deg, var(--navy-blue), var(--light-blue));
  padding: 60px 0;
  text-align: center;
}

.about-cta .container,
.test-cta .container,
.evraklar-cta .container,
.contact-cta .container {
  max-width: 600px;
  margin: 0 auto;
}

.about-cta h2,
.test-cta h2,
.evraklar-cta h2,
.contact-cta h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.about-cta p,
.test-cta p,
.evraklar-cta p,
.contact-cta p {
  color: #e0e8f0;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-whatsapp {
  display: inline-block;
  margin: 0 5px;
}

.appointment-form-form {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 500px;
  margin: 0 auto;
}

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

.appointment-form-form .form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-blue);
  font-weight: 500;
}

.appointment-form-form .form-group input,
.appointment-form-form .form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.appointment-form-form .form-group input:focus,
.appointment-form-form .form-group select:focus {
  outline: none;
  border-color: var(--accent-orange);
}

.appointment-form-form .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
}

.form-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: var(--medium-gray);
  font-size: 0.9rem;
  text-align: center;
}

/* =========================================
   12. RESPONSIVE (Mobil Uyumluluk)
   ========================================= */
@media (max-width: 1100px) {
  #bp-header .main-nav {
    order: 3;
    width: 100%;
  }
  #bp-header .main-nav ul {
    justify-content: center;
    gap: 10px 15px;
    padding-top: 5px;
    border-top: 1px solid #f0f0f0;
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 40px 24px 60px;
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }
  .hero-image .placeholder-image {
    max-height: 280px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-buttons .btn-primary,
  .hero-buttons .btn-whatsapp {
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }
  
  .cta-container {
    top: auto;
    bottom: 20px;
    right: 20px;
    flex-direction: column;
  }
  
  .cta-call,
  .cta-whatsapp {
    width: 100%;
  }
  
  .about-section,
  .test-nedir-section,
  .evraklar-section {
    padding: 40px 0;
  }
  
  .about-content,
  .test-nedir-content,
  .evraklar-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .abilities-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-static-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  #bp-header .bp-header-inner { 
    padding: 8px 12px;
    gap: 10px; 
  }
  #bp-header .bp-mark { 
    width: 32px; 
    height: 32px; 
    font-size: 13px; 
  }
  #bp-header .bp-name { font-size: 12px; }
  #bp-header .bp-name small { font-size: 11px; }
  #bp-header .bp-actions a { 
    padding: 6px 10px; 
    font-size: 11px; 
  }
  #bp-header .main-nav ul { 
    gap: 8px 10px; 
  }
  #bp-header .main-nav a { 
    font-size: 12px; 
  }
}

/* =========================================
   13. ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* İletişim Sayfası Yan Yana Dizilim */
.contact-section {
  padding: 50px 20px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Ekranı ikiye böler */
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* Mobilde alt alta geçmesi için */
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* Evraklar Sayfası Düzenlemesi */
.evraklar-section {
  padding: 40px 20px;
}

.evraklar-content {
  display: flex;
  flex-direction: column; /* Alt alta dizer */
  max-width: 900px;
  margin: 0 auto;
}

.evraklar-header {
  text-align: center;
  margin-bottom: 30px;
}

.evraklar-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Yan yana kartlar */
  gap: 20px;
}

/* Kartların iç tasarımı biraz daha toparlansın */
.evraklar-card {
  margin-bottom: 0; /* Alt boşluğu sıfırla, grid gap halledecek */
  height: 100%;
}