/* ==========================================================================
   BirimoEdu - "Çok Yakında Hizmetinizdeyiz"
   Balanced & Confident Typography (Golden Ratio Sizing)
   100% Viewport Fit (No Scroll, Pure White Background)
   ========================================================================== */

:root {
  /* Logo Renk Paleti */
  --color-primary: #0E284D;       /* Logodaki "1" ve kep laciverti */
  --color-primary-dark: #081932;
  --color-primary-light: #183C6F;
  --color-accent: #FF6B42;        /* Logodaki "edu" canlı turuncusu */
  --color-accent-hover: #E8552C;
  --color-slate: #4A5568;         /* Logodaki "birimo" gri/slate tonu */
  
  --color-text-title: #0E284D;
  --color-text-body: #4A5568;
  --color-text-muted: #94A3B8;
  
  --color-bg-page: #FFFFFF;
  --color-border-pill: #E2E8F0;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-full: 9999px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

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

html, body {
  height: 100%;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden; /* Sayfa kaydırması yok */
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-page);
  color: var(--color-text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* İletişim formunda kullanıcıların metin girebilmesi için */
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Resim, SVG ve bağlantıların sürüklenerek veya sağ tıklanarak kaydedilmesini engelle */
img, svg, a, button {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

img {
  pointer-events: none;
}

/* Background Canvas - Kareli Defter Efekti */
.bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: #FFFFFF;
}

.bg-grid-notebook {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(14, 40, 77, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 40, 77, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 48%, black 45%, transparent 88%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, black 45%, transparent 88%);
}

.bg-ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(85px);
}

.orb-navy {
  width: 420px;
  height: 420px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(14, 40, 77, 0.045) 0%, rgba(255, 255, 255, 0) 70%);
}

.orb-orange {
  width: 320px;
  height: 320px;
  bottom: 10%;
  right: 12%;
  background: radial-gradient(circle, rgba(255, 107, 66, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Hafif ve Estetik Kara Kalem Eğitim Çizimleri (Pencil Sketches) */
.sketch-wrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(170px, 18vw, 230px);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  filter: contrast(1.1);
  transition: opacity 0.3s ease;
}

.sketch-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

.sketch-left {
  left: clamp(12px, 2.5vw, 42px);
}

.sketch-right {
  right: clamp(12px, 2.5vw, 42px);
}

/* Top Bar: Language Switcher */
.top-bar {
  position: relative;
  z-index: 10;
  padding: clamp(8px, 1.5vh, 14px) clamp(16px, 3vw, 32px) 0;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-pill);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 2px rgba(14, 40, 77, 0.03);
}

.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  color: #94A3B8;
  cursor: pointer;
  padding: 1px 3px;
  transition: color 0.18s ease;
}

.lang-btn.active {
  color: var(--color-primary);
  font-weight: 700;
}

.lang-btn:hover:not(.active) {
  color: var(--color-accent);
}

.lang-divider {
  font-size: 0.68rem;
  color: #CBD5E1;
}

/* Page Main Container - Üst Boşluk Azaltıldı & Hafif Yukarı Alındı */
.page-wrapper {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(2px, 0.8vh, 8px);
  padding-bottom: clamp(34px, 5.5vh, 64px); /* İçeriği zarifçe yukarı kaydırır */
  padding-left: clamp(16px, 2.5vw, 24px);
  padding-right: clamp(16px, 2.5vw, 24px);
  min-height: 0;
  overflow: hidden;
}

.content-stage {
  width: 100%;
  max-width: 720px;
  text-align: center;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
}

/* Top Tagline with Side Lines */
.tagline-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
  width: 100%;
}

.tagline-line {
  display: inline-block;
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, rgba(14, 40, 77, 0.22));
}

.tagline-line:last-child {
  background: linear-gradient(90deg, rgba(14, 40, 77, 0.22), transparent);
}

.tagline-text {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  text-transform: uppercase;
}

/* Emblem Logo & Estetik Stüdyo Işıklandırması */
.emblem-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  padding: 4px 0 8px;
  width: 160px;
}

/* Geniş alana yayılan difüze mavi/turuncu ışıma */
.emblem-ambient-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 380px;
  background: radial-gradient(ellipse at 50% 50%, 
    rgba(37, 99, 235, 0.16) 0%, 
    rgba(14, 40, 77, 0.10) 35%, 
    rgba(255, 107, 66, 0.05) 55%, 
    transparent 75%
  );
  filter: blur(55px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Logonun hemen altından geniş alana yayılan kaide ışığı */
.emblem-pedestal-light {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 60px;
  background: radial-gradient(ellipse at 50% 60%, 
    rgba(37, 99, 235, 0.25) 0%, 
    rgba(14, 40, 77, 0.14) 40%, 
    rgba(255, 107, 66, 0.06) 60%, 
    transparent 80%
  );
  filter: blur(22px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Doğal temas gölgesi */
.emblem-shadow-light {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 10px;
  background: radial-gradient(ellipse at 50% 50%, 
    rgba(14, 40, 77, 0.16) 0%, 
    transparent 75%
  );
  filter: blur(5px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.emblem-frame {
  position: relative;
  z-index: 2;
}

.emblem-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(14, 40, 77, 0.12));
  transition: transform 0.25s ease;
}

.emblem-frame:hover .emblem-img {
  transform: translateY(-2px) scale(1.02);
}

/* Status Pill */
.status-pill-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-pill);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(14, 40, 77, 0.03);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 0 0 rgba(255, 107, 66, 0.6);
  animation: dotBlinkOrange 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes dotBlinkOrange {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 66, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(255, 107, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 66, 0); }
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Main Heading - Daha Kalın & Çok Az Daha Büyük */
.main-heading {
  font-family: var(--font-main);
  font-size: clamp(1.38rem, 2.45vw, 1.72rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.32;
  color: var(--color-primary);
  margin-bottom: 12px;
  max-width: 680px;
}

.text-orange {
  color: var(--color-accent);
  display: block;
  font-weight: 800;
  margin-top: 4px;
}

/* Description Block */
.content-text-block {
  max-width: 620px;
  margin: 0 auto 18px;
}

.main-description {
  font-size: 0.94rem;
  color: var(--color-slate);
  line-height: 1.6;
  margin-bottom: 10px;
  font-weight: 400;
}

.coming-soon-callout {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.coming-soon-callout strong {
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 1px;
}

.brand-subtext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-pill);
  font-size: 0.84rem;
  color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(14, 40, 77, 0.03);
}

.brand-subtext strong {
  font-weight: 700;
  color: var(--color-primary);
}

.brand-subtext .subtext-divider {
  color: var(--color-accent);
  font-weight: 700;
}

/* Pill Buttons - Desktop & Responsive Layout */
.buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.buttons-primary-group {
  display: contents; /* Masaüstünde tek sırada 3 buton */
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px; /* Daha ince ve zarif dikey yükseklik */
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  line-height: 1.2;
}

.pill-btn:active {
  transform: translateY(1px);
}

.btn-icon {
  width: 13.5px;
  height: 13.5px;
  flex-shrink: 0;
}

.btn-navy {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-primary);
  box-shadow: 0 1px 3px rgba(14, 40, 77, 0.1);
}

.btn-navy:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(14, 40, 77, 0.16);
}

.btn-orange {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border: 1px solid var(--color-accent);
  box-shadow: 0 1px 3px rgba(255, 107, 66, 0.15);
}

.btn-orange:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(255, 107, 66, 0.22);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--color-primary);
  border: 1px solid var(--color-border-pill);
  box-shadow: 0 1px 2px rgba(14, 40, 77, 0.03);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: #F8FAFC;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(14, 40, 77, 0.06);
}

.icon-orange {
  color: var(--color-accent);
}

/* Bottom Strip & Footer Info */
.bottom-strip {
  position: relative;
  z-index: 1;
  padding: 8px 20px 12px;
  text-align: center;
  flex-shrink: 0;
}

.bottom-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.bottom-line {
  font-size: 0.74rem;
  color: var(--color-slate);
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-line {
  font-weight: 600;
  color: var(--color-primary);
  gap: 5px;
}

.loc-icon {
  width: 13px;
  height: 13px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.agency-line {
  color: #64748B;
}

.agency-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  margin: 0 3px;
  border-bottom: 1px dotted var(--color-accent);
  transition: all 0.18s ease;
}

.agency-link:hover {
  color: var(--color-accent);
  border-bottom-style: solid;
}

.copyright-line {
  font-size: 0.68rem;
  color: #94A3B8;
  margin-top: 1px;
}

/* Modal Window */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 40, 77, 0.45);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #FFFFFF !important;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(14, 40, 77, 0.25);
  border: 1px solid #E2E8F0;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
  position: relative;
  z-index: 1001;
}

.modal-backdrop.is-open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 18px 22px 14px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.modal-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  cursor: pointer;
}

.modal-close-btn:hover {
  background-color: #F1F5F9;
  color: var(--color-primary);
}

.modal-body {
  padding: 18px 22px 22px;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-body);
  line-height: 1.5;
  margin-bottom: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
}

.form-field .required {
  color: var(--color-accent);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  background-color: #F8FAFC;
  font-family: var(--font-main);
  font-size: 0.86rem;
  color: var(--color-primary);
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  background-color: #FFFFFF;
}

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

.modal-feedback {
  min-height: 16px;
  font-size: 0.82rem;
  font-weight: 500;
}

.modal-feedback.success { color: #10B981; }
.modal-feedback.error { color: #EF4444; }

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}

.btn-cancel {
  background: transparent;
  border: 1px solid #E2E8F0;
  padding: 7px 14px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--color-text-body);
  cursor: pointer;
}

.btn-submit {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #10B981;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.15);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .sketch-wrapper {
    opacity: 0.09;
    width: 170px;
  }
}

@media (max-width: 820px) {
  .sketch-wrapper {
    display: none; /* Dar ekranlarda kartın arkasını tamamen temiz tutar */
  }
}

/* Mobile Screen Adaptations */
@media (max-width: 640px) {
  .top-bar {
    padding: 6px 16px 0;
  }

  .page-wrapper {
    padding-top: 0;
    padding-bottom: 26px; /* Mobilde de içeriği hafif yukarı çeker */
  }

  .tagline-wrapper {
    margin-bottom: 8px;
  }

  .emblem-container {
    width: 100px;
    margin: 0 auto 6px;
    padding: 0;
  }

  .emblem-img {
    width: 78px;
    height: 78px;
  }

  .emblem-ambient-glow {
    width: 280px;
    height: 240px;
    filter: blur(40px);
  }

  .emblem-pedestal-light {
    width: 220px;
    height: 48px;
    filter: blur(18px);
  }

  .status-pill-wrap {
    margin-bottom: 8px;
  }

  .main-heading {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .content-text-block {
    margin: 0 auto 10px;
  }

  .main-description {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 6px;
  }

  .coming-soon-callout {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .brand-subtext {
    padding: 3px 12px;
    font-size: 0.75rem;
  }

  /* Compact 2-tier button layout on mobile to eliminate overlap */
  .buttons-row {
    flex-direction: column;
    width: 100%;
    max-width: 310px;
    gap: 7px;
    margin-bottom: 4px;
  }

  .buttons-primary-group {
    display: flex;
    gap: 7px;
    width: 100%;
  }

  .buttons-primary-group .pill-btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  #btnEmail {
    width: 100%;
    justify-content: center;
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .pill-btn .btn-icon {
    width: 14px;
    height: 14px;
  }

  /* Footer spacing on mobile */
  .bottom-strip {
    padding: 6px 14px 10px;
    margin-top: 4px;
  }

  .bottom-line {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .location-line {
    gap: 4px;
  }

  .loc-icon {
    width: 11px;
    height: 11px;
  }

  .copyright-line {
    font-size: 0.62rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
