/*
Theme Name: SercanULAS Engineering
Theme URI: https://sercanulas.com
Author: Sercan Ulas
Description: Custom engineering portfolio theme.
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #06101d;
  --bg-2: #081a30;
  --surface: rgba(10, 28, 48, 0.74);
  --surface-2: rgba(14, 37, 62, 0.86);
  --surface-soft: rgba(255,255,255,0.04);
  --text: #eef5ff;
  --muted: #9bb0c8;
  --line: rgba(175, 204, 236, 0.14);
  --line-strong: rgba(175, 204, 236, 0.22);
  --cyan: #67d8e7;
  --blue: #6ea2ff;
  --orange: #d88a3e;
  --green: #79bd58;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", Inter, system-ui, sans-serif;
  line-height: 1.65;
background:
  linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),

  radial-gradient(circle at 12% 0%, rgba(42, 116, 190, 0.16), transparent 30%),
  radial-gradient(circle at 88% 8%, rgba(130, 28, 55, 0.34), transparent 34%),
  radial-gradient(circle at 78% 38%, rgba(180, 42, 62, 0.18), transparent 34%),
  radial-gradient(circle at 92% 78%, rgba(92, 46, 130, 0.22), transparent 36%),
  radial-gradient(circle at 18% 74%, rgba(20, 72, 130, 0.18), transparent 34%),

  linear-gradient(180deg, #030b1a 0%, #06152b 42%, #050f22 72%, #040b19 100%);

background-size: 44px 44px, 44px 44px, auto, auto, auto, auto, auto, auto;
background-attachment: fixed;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
p { margin-top: 0; }
h1, h2, h3 { margin-top: 0; font-family: "Space Grotesk", sans-serif; }

.bg-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}
.glow-a { top: 120px; left: -140px; background: var(--cyan); }
.glow-b { right: -150px; bottom: 80px; background: var(--blue); }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    linear-gradient(90deg, rgba(5, 18, 36, 0.92), rgba(7, 24, 48, 0.88), rgba(5, 16, 32, 0.92));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(103, 216, 231, 0.13);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img {
  width: 54px; height: 54px; object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.35));
}
.brand strong { display: block; font-size: 19px; letter-spacing: -0.03em; }
.brand span { display: block; color: var(--muted); font-size: 13px; margin-top: -2px; }
.nav {
  display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 700;
  color: #c8d7ea;
}
.nav a:hover { color: var(--cyan); }
.nav-cta {
  padding: 10px 15px; border-radius: 999px;
  border: 1px solid rgba(103,216,231,0.32);
  background: rgba(103,216,231,0.08);
}
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
}
.menu-toggle span { display:block; width: 19px; height:2px; margin:4px auto; background: var(--text); }

.section { padding: 78px 0; }
.hero { padding-top: 96px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: #a9bdd4;
  text-transform: none;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.hero h1 {
  font-size: clamp(42px, 5.9vw, 76px);
  line-height: 0.98; letter-spacing: -0.06em; margin-bottom: 22px;
  max-width: 760px;
}
.hero-text { max-width: 700px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items:center; justify-content:center;
  min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease;
}
.button:hover { transform: translateY(-3px); }
.button.primary {
  background: linear-gradient(135deg, #e4f8ff, #82d5e9); color: #06101d;
  box-shadow: 0 18px 40px rgba(103,216,231,0.16);
}
.button.ghost {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-tags span, .card-label, .blog-card span {
  display:inline-flex; width: fit-content; padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  color: #d2e2f3; font-size: 12px; font-weight: 800;
}
.hero-panel {
  min-height: 520px; position: relative; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 45%, rgba(103,216,231,0.1), transparent 32%),
    linear-gradient(145deg, rgba(11,29,49,0.88), rgba(8,20,35,0.94));
  box-shadow: var(--shadow);
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(103,216,231,0.08) 43%, transparent 44% 100%),
    linear-gradient(35deg, transparent 0 54%, rgba(110,162,255,0.08) 55%, transparent 56% 100%);
}
.panel-orbit {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.panel-orbit img {
  position: relative; z-index: 2; width: 178px; height: 178px; object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,0.42));
  animation: floatLogo 5.2s ease-in-out infinite alternate;
}
@keyframes floatLogo { from { transform: translateY(-5px);} to { transform: translateY(10px);} }
.ring { position:absolute; border-radius: 50%; border: 1px solid rgba(175,204,236,0.14); }
.ring-1 { width: 320px; height:320px; border-top-color: rgba(103,216,231,0.6); animation: spin 24s linear infinite; }
.ring-2 { width: 250px; height:250px; border-right-color: rgba(216,138,62,0.45); animation: spinReverse 18s linear infinite; }
.ring-3 { width: 182px; height:182px; border-bottom-color: rgba(121,189,88,0.45); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg);} }
@keyframes spinReverse { to { transform: rotate(-360deg);} }
.node { position:absolute; width: 11px; height:11px; border-radius:50%; z-index: 2; }
.node-a { top: 112px; right: 135px; background: var(--cyan); box-shadow: 0 0 22px rgba(103,216,231,0.8); }
.node-b { bottom: 145px; left: 125px; background: var(--green); box-shadow: 0 0 22px rgba(121,189,88,0.7); }
.node-c { right: 100px; bottom: 150px; background: var(--orange); box-shadow: 0 0 22px rgba(216,138,62,0.7); }
.floating {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(4, 14, 25, 0.68);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}

.floating span {
  display:block;
  color: var(--cyan);
  font-size:12px;
  font-weight: 900;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}

.floating strong {
  display:block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.25;
}

.floating-a {
  top: 74px;
  right: 28px;
  animation: floatCardA 5s ease-in-out infinite alternate;
}

.floating-b {
  bottom: 76px;
  left: 32px;
  animation: floatCardB 5.4s ease-in-out infinite alternate;
}

.floating-c {
  top: 54px;
  left: 34px;
  animation: floatCardC 5.1s ease-in-out infinite alternate;
}

@keyframes floatCardA {
  from { transform: translateY(0) translateX(0) rotate(0deg); }
  to { transform: translateY(-10px) translateX(-4px) rotate(1deg); }
}

@keyframes floatCardB {
  from { transform: translateY(0) translateX(0) rotate(0deg); }
  to { transform: translateY(10px) translateX(5px) rotate(-1deg); }
}

@keyframes floatCardC {
  from { transform: translateY(0) translateX(0) rotate(0deg); }
  to { transform: translateY(-8px) translateX(6px) rotate(-1deg); }
}

.intro-card, .focus-card, .portfolio-card, .info-box, .blog-card, .interest-card, .contact-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: 0 16px 55px rgba(0,0,0,0.18);
}
.intro-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 32px;
}
.intro-card h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.04em; }
.intro-card p { color: var(--muted); }
.intro-stats { display:grid; gap: 14px; }
.intro-stats div {
  padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--line);
}
.intro-stats strong { display:block; }
.intro-stats span { color: var(--muted); font-size: 14px; }

.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading.split {
  max-width: none; display:flex; align-items:end; justify-content:space-between; gap: 24px;
}
.section-heading h2, .info-box h2 { font-size: clamp(31px, 4vw, 48px); line-height: 1.04; letter-spacing: -0.05em; margin-bottom: 14px; }
.section-heading p, .focus-card p, .portfolio-card p, .info-box p, .blog-card p, .interest-card p, .contact-card p { color: var(--muted); }
.text-link { color: var(--cyan); font-weight: 900; }

.focus-grid, .portfolio-grid, .blog-grid, .interests-grid, .info-grid {
  display: grid; gap: 18px;
}
.focus-grid { grid-template-columns: repeat(4, 1fr); }
.focus-card { padding: 26px; transition: transform .25s ease, border-color .25s ease; }
.focus-card:hover, .blog-card:hover, .interest-card:hover, .portfolio-card:hover { transform: translateY(-5px); border-color: rgba(103,216,231,0.3); }
.focus-card .index {
  display:inline-grid; place-items:center; width: 42px; height:42px; margin-bottom: 22px;
  border-radius: 14px; background: rgba(103,216,231,0.1); border: 1px solid rgba(103,216,231,0.16);
  color: var(--cyan); font-weight: 900;
}
.focus-card h3, .portfolio-card h3, .blog-card h3, .interest-card h3 { font-size: 25px; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 12px; }

.portfolio-section {
  background: transparent;
}
.portfolio-grid { grid-template-columns: repeat(4, 1fr); }
.portfolio-card { min-height: 290px; padding: 28px; display:flex; flex-direction:column; }
.portfolio-card.large {
  grid-column: span 2;
  background: radial-gradient(circle at 85% 0%, rgba(216,138,62,0.15), transparent 38%), linear-gradient(145deg, rgba(17,43,71,0.92), rgba(8,19,34,0.95));
}
.card-label { margin-bottom: 18px; }

.info-grid { grid-template-columns: repeat(2, 1fr); }
.info-box { padding: 30px; }

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card { padding: 26px; transition: transform .25s ease, border-color .25s ease; }
.blog-card a { display:inline-block; margin-top: 8px; color: var(--cyan); font-weight: 900; }

.interests-grid { grid-template-columns: repeat(3, 1fr); }
.interest-card { padding: 26px; transition: transform .25s ease, border-color .25s ease; }

.contact-section { padding-bottom: 96px; }
.contact-card {
  padding: 42px; display:grid; grid-template-columns: 1fr auto; gap: 32px; align-items:center;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 94% 20%, rgba(103,216,231,0.14), transparent 30%), linear-gradient(145deg, #0f2741, #071321);
}
.contact-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }

.site-footer { background: #050c15; border-top: 1px solid var(--line); color: rgba(238,245,255,0.66); }
.footer-inner { min-height: 84px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.footer-inner p { margin:0; }
.footer-inner a { color: #dff8ff; font-weight: 800; }

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .menu-toggle { display:block; }
  .nav {
    position: absolute; top: 82px; left: 20px; right: 20px; display:none; flex-direction: column; align-items: stretch;
    padding: 18px; border-radius: var(--radius-md); background: #071525; border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display:flex; }
  .nav-cta { text-align:center; }
  .hero-grid, .intro-card, .contact-card { grid-template-columns: 1fr; }
  .focus-grid, .blog-grid, .interests-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .contact-actions { justify-content:flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 54px 0; }
  .hero { padding-top: 52px; }

  .hero-grid,
  .focus-grid,
  .portfolio-grid,
  .blog-grid,
  .interests-grid,
  .info-grid,
  .intro-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .portfolio-card.large { grid-column: span 1; }
  .section-heading.split { flex-direction: column; align-items: start; }
  .hero-actions, .contact-actions { flex-direction: column; }
  .button { width: 100%; }

  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-text { font-size: 16px; }
  .hero-tags { gap: 8px; }
  .hero-tags span { font-size: 11px; padding: 6px 9px; }

  .hero-panel {
    min-height: 500px;
    overflow: hidden;
  }

  .panel-orbit img { width: 132px; height: 132px; }
  .ring-1 { width: 238px; height:238px; }
  .ring-2 { width: 190px; height:190px; }
  .ring-3 { width: 148px; height:148px; }

  .floating {
    min-width: 132px;
    max-width: 158px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .floating span { font-size: 10px; }
  .floating strong { font-size: 14px; line-height: 1.25; }

  .floating-a {
    top: 58px;
    right: 14px;
    animation: floatCardA 5s ease-in-out infinite alternate;
  }

  .floating-b {
    left: 14px;
    bottom: 42px;
    animation: floatCardB 5.4s ease-in-out infinite alternate;
  }

  .floating-c {
    top: 18px;
    left: 18px;
    animation: floatCardC 5.1s ease-in-out infinite alternate;
  }

  .node-a { top: 140px; right: 52px; }
  .node-b { bottom: 118px; left: 58px; }
  .node-c { right: 44px; bottom: 125px; }

  .header-inner { min-height: 72px; }
  .brand { gap: 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 16px; }
  .brand span { font-size: 11px; line-height: 1.35; }
  .menu-toggle { width: 42px; height: 42px; }

  .footer-inner { padding: 22px 0; flex-direction: column; align-items: flex-start; }
}
/* INNER PAGE LAYOUT - Hakkımda, Portfolyo, Blog, İletişim */

.page-section {
  padding-top: 96px;
}

.page-card {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 16px 55px rgba(0,0,0,0.18);
}

.page-card h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  font-weight: 800;
}

.page-content {
  width: 100%;
  font-family: "Manrope", Inter, system-ui, sans-serif;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
}

.page-content p {
  margin-bottom: 20px;
}

.page-content strong {
  color: var(--text);
  font-weight: 700;
}

.page-content h2,
.page-content h3 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
}

.page-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-top: 48px;
  margin-bottom: 18px;
}

.page-content h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 32px;
  margin-bottom: 14px;
}

.page-content ul {
  padding-left: 22px;
  margin-top: 18px;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.75;
}

/* Hakkımda sayfası: metin + fotoğraf düzeni */

.page-content .wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: start;
}

.page-content .wp-block-column {
  min-width: 0;
}

.page-content figure {
  margin: 0;
}

.page-content img {
  border-radius: 22px;
  border: 1px solid rgba(175, 204, 236, 0.18);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.page-content figcaption {
  margin-top: 14px;
  color: #afccec;
  font-size: 14px;
  line-height: 1.6;
}

/* Mobile inner page layout */

@media (max-width: 768px) {
  .page-section {
    padding-top: 56px;
  }

  .page-card {
    padding: 28px;
  }

  .page-card h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .page-content {
    font-size: 16px;
    line-height: 1.75;
  }

  .page-content .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-content img {
    max-width: 100%;
  }
}

/* FINAL - Intro kart görsellerini net göster */

.intro-stat-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
  border-radius: 24px;
  border: 1px solid rgba(175, 204, 236, 0.22);
  background: rgba(7, 20, 35, 0.52);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.intro-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(1.5px);
  transform: scale(1.04);
  opacity: 0.88;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.intro-stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 10, 22, 0.78), rgba(3, 10, 22, 0.28)),
    linear-gradient(180deg, rgba(3, 10, 22, 0.10), rgba(3, 10, 22, 0.38));
}

.intro-stat-card:hover::before {
  opacity: 1;
  filter: blur(0.5px);
  transform: scale(1.08);
}

.intro-stat-card strong,
.intro-stat-card span {
  position: relative;
  z-index: 2;
}

.intro-stat-card strong {
  display: block;
  color: #f4f8ff;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.intro-stat-card span {
  display: block;
  color: rgba(232, 239, 255, 0.9);
  font-size: 15px;
  line-height: 1.7;
}
.intro-stat-card strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.intro-stat-card span {
  font-family: "Manrope", Inter, system-ui, sans-serif;
  font-weight: 500;
}

.nav-service{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  color:#7ee6ff;
  border:1px solid rgba(126,230,255,0.35);
  background:rgba(18,34,54,0.55);
  transition:all .25s ease;
}

.nav-service:hover{
  color:#ffffff;
  border-color:rgba(126,230,255,0.65);
  background:rgba(34,66,100,0.72);
  box-shadow:0 0 0 1px rgba(126,230,255,0.12), 0 8px 24px rgba(0,0,0,0.18);
}
/* LinkedIn butonları - temiz final */

.linkedin-hero,
.linkedin-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(10, 102, 194, 0.58);
  background: rgba(10, 102, 194, 0.16);
  box-shadow: 0 12px 30px rgba(10, 102, 194, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.linkedin-hero {
  min-height: 48px;
  padding: 0 20px;
}

.linkedin-contact {
  min-height: 48px;
  padding: 0 22px;
}

.linkedin-hero:hover,
.linkedin-contact:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(10, 102, 194, 0.24);
}

.linkedin-mark,
.linkedin-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #ffffff;
  color: #0A66C2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}
/* Sayfa geneli arka plan sürekliliği */

.section,
.portfolio-section,
.intro-section,
.focus-section,
.blog-section,
.contact-section {
  background: transparent !important;
}

body {
  background-attachment: fixed;
}

/* Footer tarzı global iletişim alanı */

.site-contact-footer {
  position: relative;
  margin-top: 80px;
  padding: 76px 0 64px;
  overflow: hidden;
  border-top: 1px solid rgba(103, 216, 231, 0.14);
  background:
    radial-gradient(circle at 18% 0%, rgba(103, 216, 231, 0.10), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(130, 28, 55, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(10, 28, 48, 0.92), rgba(5, 13, 25, 0.98));
}

.site-contact-footer::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -180px;
  top: -260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
}

.site-contact-footer::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: -220px;
  border-radius: 50%;
  background: rgba(103, 216, 231, 0.055);
}

.contact-footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.contact-footer-left h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 12px;
}

.contact-subtitle {
  color: #c7d8ec;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 28px;
}

.contact-footer-left p {
  color: var(--muted);
  max-width: 620px;
  font-size: 17px;
}

.contact-footer-right {
  display: grid;
  gap: 22px;
}

.contact-line {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(175, 204, 236, 0.13);
}

.contact-line span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-line a {
  color: #eef5ff;
  font-size: 18px;
  font-weight: 800;
}

.contact-footer-right .contact-actions {
  margin-top: 10px;
  justify-content: flex-start;
}

/* Alt copyright footer daha sade kalsın */

.site-footer {
  background: #040b14;
  border-top: 1px solid rgba(175, 204, 236, 0.10);
}

/* Mobil */

@media (max-width: 768px) {
  .site-contact-footer {
    margin-top: 56px;
    padding: 52px 0 44px;
  }

  .contact-footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-footer-left h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .contact-footer-right .contact-actions {
    flex-direction: column;
  }
}
/* Cookie consent banner */

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: none;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(175, 204, 236, 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(103, 216, 231, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(7, 20, 36, 0.96), rgba(4, 10, 20, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  border: 1px solid rgba(103, 216, 231, 0.28);
  background: rgba(103, 216, 231, 0.08);
  font-size: 22px;
  font-weight: 900;
}

.cookie-content strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 4px;
}

.cookie-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-preferences {
  display: none;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: #d7e6f6;
  font-size: 14px;
}

.cookie-preferences.is-open {
  display: flex;
}

.cookie-preferences label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(175, 204, 236, 0.18);
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
}

.cookie-btn.primary {
  background: linear-gradient(135deg, #e4f8ff, #82d5e9);
  color: #06101d;
  border-color: transparent;
}

.cookie-btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #dcecff;
}

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

@media (max-width: 768px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .cookie-btn {
    flex: 1;
  }
}
/* CAE Hizmetleri Sayfası */

.services-page {
  display: grid;
  gap: 72px;
}

.services-hero {
  padding: 18px 0 10px;
}

.services-hero h2 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}

.services-hero p {
  max-width: 880px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.services-block,
.services-process,
.services-areas,
.services-cta {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(175, 204, 236, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(103, 216, 231, 0.10), transparent 32%),
    linear-gradient(145deg, rgba(10, 28, 48, 0.82), rgba(6, 16, 30, 0.94));
  box-shadow: 0 16px 55px rgba(0,0,0,0.20);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(130, 28, 55, 0.16);
  filter: blur(4px);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(103,216,231,0.32);
  box-shadow: 0 22px 70px rgba(0,0,0,0.28);
}

.service-card span {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: var(--cyan);
  font-weight: 900;
  border: 1px solid rgba(103,216,231,0.20);
  background: rgba(103,216,231,0.08);
}

.service-card h3 {
  position: relative;
  z-index: 2;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.service-card p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.78;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list > div {
  display: grid;
  grid-template-columns: 70px 220px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(175, 204, 236, 0.14);
  background: rgba(10, 28, 48, 0.62);
}

.process-list strong {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #06101d;
  background: linear-gradient(135deg, #e4f8ff, #82d5e9);
  font-weight: 900;
}

.process-list h3 {
  font-size: 22px;
  margin-bottom: 0;
  letter-spacing: -0.025em;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.services-areas {
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(175, 204, 236, 0.14);
  background:
    radial-gradient(circle at 90% 0%, rgba(130, 28, 55, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(10, 28, 48, 0.70), rgba(5, 13, 25, 0.88));
}

.services-areas h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  color: #dcecff;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(175, 204, 236, 0.14);
  background: rgba(255,255,255,0.045);
}

.services-cta {
  padding: 42px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(103,216,231,0.18);
  background:
    radial-gradient(circle at 92% 20%, rgba(103,216,231,0.14), transparent 30%),
    linear-gradient(145deg, #0f2741, #071321);
  box-shadow: 0 20px 70px rgba(0,0,0,0.22);
}

.services-cta h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

.services-cta p {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 26px;
}

/* Mobil CAE Hizmetleri */

@media (max-width: 768px) {
  .services-page {
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 26px;
  }

  .process-list > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services-areas,
  .services-cta {
    padding: 28px;
  }
}
/* --- YENİ BUTON GÜNCELLEMELERİ (EN ALTA EKLENECEK) --- */

/* 1. Üst Menüdeki "CAE Hizmetleri" Butonu */
.nav-service {
  background: linear-gradient(135deg, #FF9966 0%, #FFCC00 100%) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 6px 20px rgba(255, 153, 102, 0.4) !important;
  font-weight: 800 !important;
}

/* Hover: Sarı -> Yeşil -> Mavi Geçişi */
.nav-service:hover {
  background: linear-gradient(135deg, #FFCC00 0%, #43ca78 50%, #0052D4 100%) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 8px 24px rgba(67, 202, 120, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* 2. Sayfa İçindeki "İletişime Geçin" Butonu */
.services-cta a.button.primary {
  background: linear-gradient(135deg, #FF9966 0%, #FFCC00 100%) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 6px 20px rgba(255, 153, 102, 0.4) !important;
}

/* Hover: Sarı -> Yeşil -> Mavi Geçişi */
.services-cta a.button.primary:hover {
  background: linear-gradient(135deg, #FFCC00 0%, #43ca78 50%, #0052D4 100%) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 8px 24px rgba(67, 202, 120, 0.4) !important;
  transform: translateY(-2px) !important;
}