:root {
  --bg: #050716;
  --bg-2: #0a1022;
  --bg-3: #111a33;
  --text: #e8edf5;
  --muted: #8a98b4;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(12, 18, 37, 0.86);
  --blue: #00b4ff;
  --pink: #ff3ea5;
  --purple: #8b5cf6;
  --green: #00e68a;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 22, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 22, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-orb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, transparent 55%),
    rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 16px rgba(0, 180, 255, 0.7),
    0 0 24px rgba(255, 62, 165, 0.5);
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-title {
  margin-left: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #dfe7ff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.nav-email svg {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
  border-radius: 999px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.25s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #ffffff;
  box-shadow:
    0 12px 30px rgba(0, 180, 255, 0.25),
    0 0 20px rgba(255, 62, 165, 0.18);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
}

.btn-lg {
  min-height: 54px;
  padding: 0 30px;
}

/* SECTIONS */

.section {
  padding: 80px 0;
}

.sec-features {
  background: var(--bg-2);
}

.sec-discover {
  background: var(--bg-3);
}

.sec-support {
  background: var(--bg-2);
}

.sec-media {
  background: var(--bg);
}

/* HOME COVER (üst arka plan - hero-bg.jpg) */

.home-cover {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.home-cover-bg-slider {
  position: absolute;
  inset: 0;
  background: url("assets/hero-bg.jpg") center center / cover no-repeat;
  transform: scale(1.04);
}

.home-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.home-cover-shape {
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #050716);
}

.home-cover-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.home-cover-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.home-cover-cta .btn {
  margin-top: 10px;
}

/* TYPO & LAYOUT */

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.lead-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 28px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.two-col.reverse .col-visual {
  order: -1;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.97rem;
}

.feature-list li strong {
  color: #ffffff;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.5);
}

/* IMG CARD GENEL */

.img-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  background: #000000;
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-card.center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.7);
}

.media-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

/* DISCOVER geniş görsel */

.discover-image-wrap {
  margin-top: 24px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.discover-full-img {
  width: 100%;
  height: auto;
}

/* BLOKLAR */

.blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.block-card {
  position: relative;
  padding: 80px 40px;
  min-height: 320px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--bg-3);
  overflow: hidden;
}

.block-card h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.block-card p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

.block-data {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 180, 255, 0.28), transparent 60%);
}

.block-freedom {
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255, 62, 165, 0.3), transparent 60%);
}

.block-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0.4;
}

/* MEDIA ROWS */

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.media-row:last-child {
  border-bottom: none;
}

.media-row.reverse .media-img {
  order: 1;
}

.media-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.media-body p {
  color: var(--muted);
  margin-bottom: 8px;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 32px;
  background: #050716;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 22px;
}

.footer-logo {
  height: 54px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-cta .btn {
  min-width: 140px;
}

.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #6b7a94;
}

/* REVEAL ANİMASYONU */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE GENEL */

@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .two-col.reverse .col-visual {
    order: 0;
  }
  .blocks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(5, 7, 22, 0.98);
    box-shadow: var(--shadow);
    z-index: 99;
  }
  .nav-links.open {
    display: flex;
  }
  .media-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-cover {
    min-height: 80vh;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 70px 0;
  }
  .container {
    width: calc(100% - 24px);
  }
  .btn {
    width: 100%;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === HİZMET KARTLARI - ODOO STİLİ === */

.services-section {
  background: #2b1470;
}

.service-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card-odoo {
  background: #2b1470;
  border-radius: 18px;
  padding: 1px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.service-card-figure {
  margin: 0;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.service-card-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.service-card-odoo:hover .service-card-figure img {
  transform: scale(1.06);
}

.service-card-body {
  background: #ffffff;
  color: #111827;
  padding: 18px 18px 20px;
  border-radius: 0 0 16px 16px;
  font-size: 0.96rem;
}

.service-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card-body p {
  margin-bottom: 8px;
}

.service-card-body ul {
  margin: 6px 0 10px 18px;
  padding-left: 0;
}

.service-card-body ul li {
  margin-bottom: 4px;
}

.service-card-body strong {
  font-weight: 700;
}

@media (max-width: 1024px) {
  .service-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .service-cards-row {
    grid-template-columns: 1fr;
  }
  .service-card-figure img {
    height: 220px;
  }
}

/* === HAKKIMIZDA SAYFASI === */

.about-section {
  background: var(--bg-2);
}

.about-section.alt {
  background: var(--bg-3);
}

.about-section.last {
  background: var(--bg);
}

.about-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.about-col-text p {
  color: var(--muted);
  margin-bottom: 10px;
}

.about-img-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6);
  background: #000;
}

.about-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.about-img-card:hover img {
  transform: scale(1.06);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.about-highlights div {
  background: rgba(5, 7, 22, 0.9);
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  min-width: 120px;
}

.about-highlights strong {
  display: block;
  font-size: 1.1rem;
}

.about-highlights span {
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .about-row {
    grid-template-columns: 1fr;
  }
}

/* === İLETİŞİM SAYFASI: MERKEZDE KART + TEK SÜTUN FORM === */

.contact-centered {
  background: var(--bg-2);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  background: rgba(8, 13, 30, 0.96);
}

.contact-card-form {
  padding: 24px 24px 22px;
  min-width: 0;
}

.contact-intro {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-form-box {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.contact-form-box .form-group {
  margin-bottom: 14px;
}

.contact-form-box label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e5e7eb;
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.96);
  color: #f9fafb;
  padding: 10px 12px;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
  color: #6b7280;
  font-size: 0.9rem;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0, 180, 255, 0.35);
  background: #020617;
}

.contact-submit-full {
  margin-top: 12px;
  width: 180px;
}

.contact-alert {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  font-size: 0.9rem;
  display: none;
  align-items: center;
  gap: 8px;
}

.contact-alert.success {
  border-color: var(--green);
}

.contact-alert.error {
  border-color: var(--pink);
}

.contact-card-image {
  position: relative;
  min-height: 100%;
  background: #020617;
}

.contact-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-card-image {
    height: 220px;
  }
}