:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --card: #1a1a1a;
  --white: #ffffff;
  --text: #e0e0e0;
  --muted: #888;
  --blue: #1a5fff;
  --blue-glow: rgba(26, 95, 255, 0.35);
  --radius: 16px;
  --font: "Inter", -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.nav.is-scrolled {
  background: rgba(10,10,10,0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }

.nav-cta {
  padding: 10px 20px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--blue-glow); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); transition: 0.3s; }
.nav-overlay { display: none; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(26,95,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(26,95,255,0.06) 0%, transparent 60%);
  animation: pulse-bg 6s ease-in-out infinite alternate;
}

@keyframes pulse-bg {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(26,95,255,0.1);
  border: 1px solid rgba(26,95,255,0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.6); }
}

h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

.glow-text {
  background: linear-gradient(90deg, var(--blue), #6ea8fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  margin: 20px 0 0;
  max-width: 52ch;
  font-size: 18px;
  color: var(--muted);
}

.hero-btns {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border: 0; cursor: pointer;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--blue-glow); }

.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.hero-stats {
  display: flex; gap: 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: 80px; }

/* SECTIONS */
.section { padding: 80px 0; }

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(26,95,255,0.1);
  border: 1px solid rgba(26,95,255,0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* REELS / İŞLERİMİZ */
.section-reels {
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 60px;
}

.reels-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 max(16px, calc((100vw - 1140px) / 2));
}

.reels-scroll::-webkit-scrollbar { display: none; }

.reels-track {
  display: flex;
  gap: 14px;
  width: max-content;
}

.reel-card {
  flex-shrink: 0;
  width: 220px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #000;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.reel-card:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 48px rgba(26,95,255,0.15);
}

.reel-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* SERVICES */
.section-services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.srv-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.srv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,95,255,0.3);
  box-shadow: 0 16px 40px rgba(26,95,255,0.08);
}

.srv-icon { font-size: 28px; margin-bottom: 14px; }

.srv-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.srv-desc {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

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

.srv-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
}

.srv-card li + li { margin-top: 6px; }

.srv-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* MARQUEE REFS */
.section-refs { padding-bottom: 60px; overflow: hidden; }

.marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.marquee { overflow: hidden; position: relative; }

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.marquee-reverse .marquee-track {
  animation: scroll-right 45s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.ref-card {
  margin: 0;
  flex-shrink: 0;
  width: 160px; height: 120px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: transform 0.3s, border-color 0.3s;
}

.ref-card:hover {
  transform: scale(1.06);
  border-color: rgba(26,95,255,0.3);
}

.ref-card.dark { background: #000; }

.ref-card img {
  width: 70%; height: 60%;
  object-fit: contain;
}

/* CONTACT */
.section-contact {
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-left h2 { margin-top: 8px; }

.contact-info {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 6px;
}

.contact-info a { color: var(--blue); font-weight: 600; }
.contact-info span { color: var(--muted); font-size: 14px; }

.contact-form {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.contact-form select { cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form .btn { width: 100%; }

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.footer-logo {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
}

.footer-logo img { height: 28px; }
.footer a:hover { color: var(--white); }

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

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: wp-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(37,211,102,0.5);
}

.wp-tooltip {
  display: none;
}

@keyframes wp-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* NEDEN BİZ */
.section-why {
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26,95,255,0.3);
}

.why-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--white);
}

.why-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* WHATSAPP BUTTON VARIANT */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  gap: 8px;
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* CONTACT WP LINK */
.contact-wp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #25d366;
  font-weight: 600;
}
.contact-wp:hover { color: #1da851; }

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 28px); }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px; left: 12px; right: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    z-index: 110;
  }

  body.menu-open .nav-links { display: flex; }
  body.menu-open .nav-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 50;
  }

  .nav-links a { font-size: 16px; color: var(--white); padding: 8px 0; }

  .hero { min-height: auto; padding: 100px 0 80px; }
  h1 { font-size: 32px; line-height: 1.1; }
  h2 { font-size: 24px; }
  .hero-desc { font-size: 15px; }

  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; text-align: center; justify-content: center; }

  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stats .stat strong { font-size: 22px; }
  .hero-stats .stat span { font-size: 12px; }

  .section { padding: 48px 0; }
  .section-head { text-align: left; }

  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .srv-card { padding: 20px; }

  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 20px; }

  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 20px; border-radius: 16px; }

  .ref-card { width: 120px; height: 92px; border-radius: 10px; }
  .reel-card { width: 180px; border-radius: 16px; }
  .reel-video { border-radius: 16px; }

  .marquee::before,
  .marquee::after { width: 40px; }

  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 420px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .hero-desc { font-size: 14px; }
  .hero-badge { font-size: 12px; padding: 6px 12px; }
  .hero { padding: 90px 0 60px; }

  .nav-inner { height: 64px; }
  .nav-logo img { height: 32px; }
  .nav-links { top: 64px; }

  .ref-card { width: 100px; height: 78px; }
  .reel-card { width: 155px; }

  .srv-icon { font-size: 22px; }
  .srv-card h3 { font-size: 16px; }
  .srv-card li { font-size: 13px; }

  .btn { padding: 12px 20px; font-size: 14px; }

  .whatsapp-float {
    bottom: 14px; right: 14px;
    padding: 10px 12px;
    font-size: 0;
    gap: 0;
  }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
