html,
body,
.navbar,
.navbar-brand,
h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.form-input,
.form-label,
input,
textarea,
select,
button {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Marka logoları: logo-light = açık arka plan, logo-dark = koyu arka plan */
.brand-logo__img {
  height: 2rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
  display: block;
}

.brand-logo__img--dark {
  display: none;
}

.dark .brand-logo__img--light {
  display: none;
}

.dark .brand-logo__img--dark {
  display: block;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card p {
  flex-grow: 1;
}

.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card p.mb-6 {
  flex-grow: 1;
}

.section-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  background: rgba(0, 0, 0, 0.06);
  color: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.section-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.dark .section-card-icon {
  background: rgba(255, 255, 255, 0.08);
}

.process-step__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.process-step__title {
  margin: 0;
  line-height: 1.3;
}

.process-step__desc {
  margin: 0;
  padding-left: calc(2.75rem + 0.75rem);
}

.process-step-num {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1;
  background-color: #111827;
  color: #fff;
}

.process-step-num svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.process-step-num__digit {
  font-size: 0.65rem;
  line-height: 1;
  font-weight: 700;
}

.dark .process-step-num {
  background-color: #f9fafb;
  color: #111827;
}

.form-input {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid var(--color-border, #e5e7eb);
  background: transparent;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dark .form-input {
  border-color: var(--color-darkmode-border, #374151);
}

.form-input:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.dark .form-input:focus {
  border-color: #f9fafb;
  box-shadow: 0 0 0 3px rgba(249, 250, 251, 0.12);
}

.form-input.is-invalid {
  border-color: #dc2626;
}

.form-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.form-error {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #dc2626;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.form-alert--success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.dark .form-alert--success {
  color: #86efac;
}

.form-alert--error {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.dark .form-alert--error {
  color: #fca5a5;
}

.site-footer .footer-main {
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}

.site-footer .border-t {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

#nav-toggle:checked ~ label #show-button {
  display: none;
}

#nav-toggle:checked ~ label #hide-button {
  display: block;
}

#nav-toggle:checked ~ #nav-menu {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  column-gap: 1.25rem;
  row-gap: 1rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    gap: 1.5rem;
    column-gap: 1.5rem;
  }
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  margin: 0 !important;
  flex-shrink: 0;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] {
  display: none !important;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 1rem;
  max-width: 520px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.28s ease-out;
}

.modal__panel--form {
  padding: 0;
}

.dark .modal__panel {
  background: #1f2937;
  color: #f9fafb;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.dark .modal__header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.modal__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.dark .modal__eyebrow {
  color: #9ca3af;
}

.modal__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.06);
  border: 0;
  cursor: pointer;
  color: inherit;
  opacity: 0.85;
  padding: 0;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.dark .modal__close {
  background: rgba(255, 255, 255, 0.08);
}

.modal__close:hover {
  opacity: 1;
  background: rgba(15, 23, 42, 0.1);
}

.dark .modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.modal__title {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.modal__desc {
  margin: 0;
  color: var(--color-text-light, #6b7280);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.dark .modal__desc {
  color: #9ca3af;
}

.modal__body {
  padding: 1.25rem 1.5rem 1.5rem;
  overflow-y: auto;
}

.modal__field {
  margin-bottom: 1rem;
}

.modal__field:last-of-type {
  margin-bottom: 1.25rem;
}

.modal .form-input:focus,
.modal__input:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.dark .modal .form-input:focus,
.dark .modal__input:focus {
  border-color: #f9fafb;
  box-shadow: 0 0 0 3px rgba(249, 250, 251, 0.15);
}

.modal__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.modal__note {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  text-align: center;
  color: #6b7280;
  line-height: 1.45;
}

.dark .modal__note {
  color: #9ca3af;
}

/* Footer contact */
.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-contact-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(0, 0, 0, 0.06);
  color: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dark .footer-contact-icon {
  background: rgba(255, 255, 255, 0.08);
}

.footer-contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 0.125rem;
}

.footer-contact-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

a.footer-contact-value:hover {
  color: inherit;
  text-decoration: underline;
  opacity: 0.85;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.25rem;
}

.footer-contact {
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-border, #e5e7eb);
}

.dark .footer-contact {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-darkmode-border, #374151);
}

/* İletişim bölümü */
.contact-section .row {
  row-gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-section .row {
    row-gap: 0;
  }
}

.contact-info-card,
.contact-form-card {
  height: 100%;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(0, 0, 0, 0.06);
  color: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dark .contact-info-icon {
  background: rgba(255, 255, 255, 0.08);
}

.contact-info-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 0.125rem;
}

.contact-info-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: inherit;
  word-break: break-word;
}

.contact-info-link {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

.contact-info-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.contact-section a.contact-info-link,
.contact-section a.contact-info-value {
  color: inherit;
}

.contact-section a.text-primary,
.contact-section .text-primary {
  color: inherit;
}

.form-input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.dark .form-input::placeholder {
  color: #6b7280;
}

.contact-form-card .btn-primary,
.modal__form .btn-primary {
  width: 100%;
  justify-content: center;
}

/* Modal — iletişim formu ile uyumlu */
.modal__panel--form {
  padding: 2rem 1.75rem;
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal__eyebrow {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.65;
  margin-bottom: 0.375rem;
}

.modal__header .modal__title {
  margin-bottom: 0.375rem;
  padding-right: 0;
}

.modal__header .modal__desc {
  margin-bottom: 0;
}

.modal__header .modal__close {
  position: static;
  flex-shrink: 0;
  opacity: 0.7;
}

.modal__body .form-label {
  color: inherit;
}
