/* ===================================
   ROOT & DESIGN TOKENS
=================================== */
:root {
  /* Brand Colors */
  --brand-dark: #2f3841;
  --brand-accent: #f1582a;
  --brand-mid: #f8aa7f;
  --brand-light: #f6e8e6;

  /* Backgrounds */
  --bg: #20292f;
  --bg-2: #2f3841;
  --bg-card: #38444e;

  /* Accent helpers */
  --accent: #f1582a;
  --accent-2: #f8aa7f;
  --accent-glow: rgba(241, 88, 42, 0.18);
  --accent-light: rgba(241, 88, 42, 0.06);

  --green: #25d366;

  /* Text */
  --text: #f0f0f0;
  --text-muted: #8ea0ad;
  --text-dim: #4f6472;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(241, 88, 42, 0.4);

  /* Misc */
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
  --max-w: 1200px;
}

/* ===================================
   RESET
=================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

/* ===================================
   UTILITIES
=================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(241, 88, 42, 0.25);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  background: linear-gradient(140deg, #fff 30%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===================================
   BUTTONS
=================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(241, 88, 42, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(241, 88, 42, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-3px);
}

/* ===================================
   NAVIGATION
=================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(32, 41, 47, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO — Navbar */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 56px;
  width: auto;
}

.logo-fallback {
  display: none;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
  align-items: center;
  gap: 1px;
}
.logo-fallback em {
  font-style: normal;
  color: var(--accent);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.nav-links .nav-cta::after {
  display: none;
}
.nav-links .nav-cta:hover {
  background: #d94820;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(241, 88, 42, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   HERO
=================================== */
.hero {
  position: relative;
  min-height: 100svh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-2);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(32, 41, 47, 0.88) 0%,
    rgba(47, 56, 65, 0.65) 50%,
    rgba(241, 88, 42, 0.12) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 840px;
  animation: heroIn 1s var(--ease) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(241, 88, 42, 0.1);
  border: 1px solid rgba(241, 88, 42, 0.35);
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 26px;
}

.hero-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
}
.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: clamp(16px, 2vw, 15px);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 42px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.5;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}
.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 13px;
  position: relative;
}
.scroll-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: scrollDotMove 2.2s ease-in-out infinite;
}
@keyframes scrollDotMove {
  0%,
  100% {
    top: 6px;
    opacity: 1;
  }
  80% {
    top: 24px;
    opacity: 0;
  }
}

/* ===================================
   SERVICES
=================================== */
.services {
  padding: 110px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

/* Background image — place services-bg.jpg in assets/images/ */
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/services-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.services > .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 320px 260px 280px;
  gap: 18px;
  grid-template-areas:
    "menu    tabela  tabela  tabela"
    "light   light   dijital reklam"
    "mimari  cafe    cafe    cafe";
}
.service-card:nth-child(1) {
  grid-area: menu;
}
.service-card:nth-child(2) {
  grid-area: tabela;
}
.service-card:nth-child(3) {
  grid-area: light;
}
.service-card:nth-child(4) {
  grid-area: dijital;
}
.service-card:nth-child(5) {
  grid-area: reklam;
}
.service-card:nth-child(6) {
  grid-area: mimari;
}
.service-card:nth-child(7) {
  grid-area: cafe;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: rgba(24, 31, 36, 0.95);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    border-top-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  opacity: 0;
  transform: translateY(32px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Photo background layer */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  z-index: 0;
  transition:
    transform 0.65s ease,
    opacity 0.4s ease;
}
/* Dark gradient overlay */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(24, 31, 36, 0.28) 0%,
    rgba(24, 31, 36, 0.93) 60%
  );
  z-index: 1;
  transition: background 0.4s ease;
}
.service-card:hover {
  border-color: var(--border-hover);
  border-top-color: var(--accent);
  transform: translateY(-6px);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(241, 88, 42, 0.1);
}
.service-card:hover::before {
  opacity: 0.7;
  transform: scale(1.06);
}
.service-card:hover::after {
  background: linear-gradient(
    to bottom,
    rgba(24, 31, 36, 0.12) 0%,
    rgba(24, 31, 36, 0.87) 60%
  );
}

.service-number {
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: "Montserrat", sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.service-icon,
.service-card h3,
.service-card p,
.service-link {
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 58px;
  height: 58px;
  background: var(--accent-glow);
  border: 1px solid rgba(241, 88, 42, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(241, 88, 42, 0.25);
  border-color: rgba(241, 88, 42, 0.5);
}
.service-icon i {
  font-size: 27px;
  color: var(--accent);
}

.service-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 26px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}
.service-link:hover {
  gap: 10px;
}
.service-link i {
  font-size: 16px;
  transition: var(--transition);
}

/* ===================================
   PARTNERS / MARQUEE
=================================== */
.partners {
  padding: 10px 0;
  background: var(--bg);
  overflow: hidden;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 20%, transparent 100%);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg) 20%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}
.partner-item img {
  max-height: 88px;
  width: auto;
  filter: grayscale(1) brightness(0.55);
  transition: filter 0.35s var(--ease);
  pointer-events: none;
}
.partner-item:hover img {
  filter: grayscale(0) brightness(1);
}
.partner-item span {
  display: none;
}

/* ===================================
   CONTACT
=================================== */
.contact {
  padding: 110px 0;
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(56, 68, 78, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: var(--transition);
  color: var(--text);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(241, 88, 42, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(241, 88, 42, 0.1);
}
.contact-card:hover::before {
  opacity: 1;
}

/* WhatsApp variant */
.contact-card.whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(37, 211, 102, 0.08);
}
.contact-card.whatsapp .contact-icon {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.2);
}
.contact-card.whatsapp .contact-icon i {
  color: var(--green);
}
.contact-card.whatsapp:hover .contact-icon {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.45);
}

.contact-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  background: var(--accent-glow);
  border: 1px solid rgba(241, 88, 42, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1;
}
.contact-card:not(.whatsapp):hover .contact-icon {
  background: rgba(241, 88, 42, 0.22);
  border-color: rgba(241, 88, 42, 0.5);
}
.contact-icon i {
  font-size: 24px;
  color: var(--accent);
}

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  z-index: 1;
}
.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-body strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.contact-hint {
  font-size: 12px;
  color: var(--text-dim);
}

.contact-arrow {
  font-size: 20px;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: var(--transition);
  z-index: 1;
}
.contact-card:hover .contact-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}
.contact-card.whatsapp:hover .contact-arrow {
  color: var(--green);
}

/* ===================================
   FOOTER
=================================== */
.footer {
  background: #1a2228;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

/* LOGO — Footer (different image + size) */
.footer-brand .logo img {
  height: 200px;
}

.footer-brand p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 290px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent-glow);
  border-color: rgba(241, 88, 42, 0.35);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a i {
  font-size: 14px;
  color: var(--accent);
}
.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}
.footer-credit-logo {
  display: block;
  margin: 14px auto 0;
  height: 28px;
  width: auto;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.footer-credit-logo:hover {
  opacity: 1;
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 280px 240px 240px 260px;
    grid-template-areas:
      "menu    tabela"
      "light   light"
      "dijital reklam"
      "mimari  cafe";
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(32, 41, 47, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    display: none;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 22px;
  }
  .nav-links .nav-cta {
    padding: 12px 32px;
  }
  .hamburger {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "menu" "tabela" "light" "dijital" "reklam" "mimari" "cafe";
  }
  .service-card {
    min-height: 220px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .contact-card {
    padding: 20px 18px;
  }

  .logo img {
    height: 46px;
  }
  .footer-brand .logo img {
    height: 58px;
  }
}
