/* Soytürk Danışmanlık — site styles */

:root {
  --orange: #d71416;
  --orange-dark: #b01012;
  --primary: #d71416;
  --primary-dark: #b01012;
  --blue: #2e6bb0;
  --blue-dark: #1e4f86;
  --ink: #0b1220;
  --ink-soft: #1a2438;
  --paper: #f4f7fb;
  --paper-2: #e8eef6;
  --muted: #5b677a;
  --line: rgba(11, 18, 32, 0.1);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.1);
  --radius: 18px;
  --header-h: 88px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(46, 107, 176, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(215, 20, 22, 0.12), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 42%, #ffffff 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--container), calc(100% - 2.5rem));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand img {
  width: 210px;
  height: auto;
  max-height: 56px;
  display: block;
  object-fit: contain;
}

.brand-footer {
  display: inline-flex;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
}

.brand-footer img {
  width: 240px;
  max-height: 72px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: 2px;
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  color: #ffffff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
  color: #ffffff;
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(215, 20, 22, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(215, 20, 22, 0.36);
}

.btn-outline {
  background: transparent;
  border-color: rgba(46, 107, 176, 0.35);
  color: var(--blue-dark);
}

.btn-outline:hover {
  background: rgba(46, 107, 176, 0.08);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero slider */
.hero-slider {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 6.5s ease;
}

.slide.is-active .slide-media {
  transform: scale(1);
}

.slide-1 .slide-media {
  background-image: url("../img/slider/slide-1.jpg");
  background-position: center right;
}

.slide-2 .slide-media {
  background-image: url("../img/slider/slide-2.jpg");
  background-position: center right;
}

.slide-3 .slide-media {
  background-image: url("../img/slider/slide-3.jpg");
  background-position: center right;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.55) 48%, rgba(11, 18, 32, 0.28) 100%),
    linear-gradient(0deg, rgba(11, 18, 32, 0.45), transparent 40%);
}

.slide-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem;
  max-width: 720px;
  margin-left: max(calc((100% - var(--container)) / 2), 1.25rem);
  margin-right: auto;
  width: min(720px, calc(100% - 2.5rem));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.slide-content h1,
.slide-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}

.slide-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  max-width: 42ch;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.slider-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 18, 32, 0.35);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.slider-dots {
  display: flex;
  gap: 0.45rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--orange);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(46, 107, 176, 0.06), transparent 40%),
    var(--paper);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-cta {
  margin-top: 2.5rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(46, 107, 176, 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 20, 22, 0.35);
  box-shadow: 0 22px 48px rgba(11, 18, 32, 0.12);
}

.service-thumb {
  margin: -1.35rem -1.35rem 0.35rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.04);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: linear-gradient(145deg, rgba(46, 107, 176, 0.14), rgba(215, 20, 22, 0.16));
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

.service-card p {
  margin: 0;
  flex: 1;
  font-size: 0.96rem;
}

.link-more {
  font-weight: 800;
  color: var(--blue);
  font-size: 0.92rem;
}

.service-card:hover .link-more {
  color: var(--orange-dark);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.why-card h3 {
  font-size: 1.15rem;
}

/* Page hero */
.page-hero {
  padding: 3.5rem 0 3rem;
  margin-bottom: 2.5rem;
  background:
    linear-gradient(135deg, rgba(46, 107, 176, 0.1), rgba(215, 20, 22, 0.08)),
    linear-gradient(180deg, #fff, transparent);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  max-width: 18ch;
}

.page-hero > .container > p {
  max-width: 54ch;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 600;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.about-copy h2 {
  font-size: 1.8rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  padding: 1.2rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.mission-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fff, var(--paper));
  border: 1px solid var(--line);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info,
.contact-form {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-block {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.info-block:last-child {
  border-bottom: 0;
}

.info-block span {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.info-block a,
.info-block p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(46, 107, 176, 0.45);
  box-shadow: 0 0 0 4px rgba(46, 107, 176, 0.12);
  background: var(--white);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.captcha-group {
  margin-top: 0.35rem;
}

.captcha-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.captcha-image {
  width: 140px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(215, 20, 22, 0.35);
  object-fit: cover;
  background: #1a2438;
}

.captcha-code {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(215, 20, 22, 0.08),
      rgba(215, 20, 22, 0.08) 8px,
      rgba(11, 18, 32, 0.04) 8px,
      rgba(11, 18, 32, 0.04) 16px
    ),
    #1a2438;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  user-select: none;
  border: 1px solid rgba(215, 20, 22, 0.35);
}

.captcha-help {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.captcha-client-error {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #8f1d1d;
}

.form-alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-alert.ok {
  background: rgba(34, 160, 90, 0.12);
  color: #146b3a;
}

.form-alert.err {
  background: rgba(200, 50, 50, 0.12);
  color: #8f1d1d;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Detail */
.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 1.5rem;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 1.25rem;
}

.detail-visual {
  min-height: 280px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #1a3358 0%, #2e6bb0 45%, #0b1220 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 14px);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-visual.has-image {
  background-color: var(--paper-2);
}

.detail-visual::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.7);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.detail-body p {
  font-size: 1.02rem;
}

.detail-aside {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.detail-aside h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.detail-aside ul {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.detail-aside li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-weight: 600;
}

.detail-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--blue));
}

/* Footer */
.site-footer {
  background:
    linear-gradient(160deg, #0b1220 0%, #13233d 55%, #0b1220 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 4rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  max-width: 34ch;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

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

.footer-col li + li {
  margin-top: 0.55rem;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 120;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .why-grid,
  .about-layout,
  .mission-grid,
  .contact-layout,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .slide-content {
    margin-left: 1.25rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 76px;
  }

  .brand img {
    width: 168px;
    max-height: 44px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin: 0.75rem 0 0;
    text-align: center;
  }

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

  .captcha-row {
    grid-template-columns: 100px 1fr;
  }

  .hero-slider,
  .slide-content {
    min-height: calc(92vh - var(--header-h));
  }

  .slide-content h1,
  .slide-content h2 {
    max-width: none;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .container,
  .header-inner {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .service-card {
    padding: 1.1rem;
  }

  .service-thumb {
    margin: -1.1rem -1.1rem 0.25rem;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}
