:root {
  --header-h: 80px;
}

@media (max-width: 1500px) {
  :root {
    --header-h: 64px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: #313131;
  overflow-x: hidden;
}

/* ================= FONTS ================= */

/* ================= BASE ================= */

body {
  font-family: 'Mukta Vaani', sans-serif;
}

/* ================= HEADER & MENU ================= */

.header,
.h-menu {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  position: relative;
  z-index: 1000;
}

.header {
  display: flex;
  width: 100%;
  height: 80px;
}

@media (max-width: 1500px) {
  .header {
    height: 64px;
  }
}

/* ================= LEFT ================= */

.h-left-gap {
  width: 80px;
  background: #313131;
}

.h-logo {
  width: 229px;
  background: #313131;
  display: flex;
  align-items: center;
}

.logo-desktop {
  display: block;
}

.logo-mobile {
  display: none;
}

.h-logo img {
  max-height: 80px;
  height: 100%;
}

@media (max-width: 1500px) {
  .h-logo img {
    max-height: 64px;
  }
}

/* ================= MENU ================= */

.h-menu {
  flex: 1;
  background: #313131;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* LINKS & SERVICES */

.h-menu a,
.services-toggle {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 22px;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: #8c8c8c;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.services-toggle {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.h-menu a:hover,
.services-toggle:hover {
  background: #3b3b3b;
  color: #ffffff;
}

/* ================= SERVICES DROPDOWN ================= */

.services {
  position: relative;
}

.services:hover .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 90%;
  transform: translateX(-50%);
  background: #3b3b3b;
  min-width: 180px;
  z-index: 2000;
}

.dropdown a {
  display: block;
  height: 50px;
  padding: 14px 22px;
  color: #8c8c8c;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown a:hover {
  background: #313131;
  color: #ffffff;
}

/* ================= HAMBURGER ================= */

.hamburger {
  background: #313131;
  display: none;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 3000;
  margin-left: 14px;
  margin-right: 10px;
  align-self: center;

}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

/* X ICON */

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 50%;
}

/* ================= HAMBURGER ================= */

@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .h-menu {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #313131;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .h-menu.open {
    display: flex;
  }

  .h-menu>a,
  .services-toggle {
    width: 100%;
    height: 56px;
  }

  .services:hover .dropdown {
    display: block;
  }

  .dropdown {
    position: static;
    transform: none;
    width: 100%;
  }
}

/* ================= RIGHT ================= */

.h-whatsapp {
  width: 127px;
  background: #3b3b3b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

.h-whatsapp:hover {
  color: #5ff36e;
}

.h-whatsapp i {
  font-size: 16px;
}

.h-social-lang {
  width: 248px;
  background: #f57500;
  color: #fff;
  display: flex;
  align-items: center;
}

.h-social-lang i {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 0 14px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.h-social-lang i:hover {
  background: #313131;
  color: #ffffff;
}

.lang-inline {
  display: flex;
  align-items: center;
  height: 80px;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 80px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-inline a {
  text-decoration: none;
  color: inherit;
}

.lang-item:hover {
  background: #313131;
}

.lang-item img {
  width: 18px;
  display: block;
}

.h-right-gap {
  width: 80px;
  background: #f57500;
}

@media (max-width: 1500px) {

  .h-social-lang i,
  .lang-inline,
  .lang-item {
    height: 64px;
  }
}

/* ================= HERO ================= */

.hero {
  display: flex;
  width: 100%;
  aspect-ratio: 1760 / 550;
}

.hero-left,
.hero-right {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SOL / SAĞ RENKLİ ŞERİTLER */

.hero-caption-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 300px;
  background: #313131;
}

.hero-caption-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 200px;
  background: #f57500;
}

@media (max-width: 1500px) {

  .hero-caption-left,
  .hero-caption-right {
    width: 64px;
  }
}

/* ================= HERO TEXT (WEB) ================= */

.hero-text {
  position: absolute;
  left: 150px;
  top: calc(50% + 22px);
  max-width: 920px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-text.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-text h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 64px;
  line-height: 1;
  margin-bottom: 16px;
  white-space: nowrap;
}

.t-web {
  color: #f57500;
}

.t-design {
  color: #ffffff;
}

.hero-text p {
  font-family: 'Mukta Vaani', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
  max-width: 100%;
  margin-left: 6px;
}

@media (max-width: 1500px) {
  .hero-text h1 {
    font-size: 44px;
  }

  .hero-text {
    left: 100px;
    top: 100px;
  }
}

@media (max-width: 900px) {
  .hero-text {
    left: 70px;
    top: 70px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 14px;
  }
}

/* ================= CAROUSEL ================= */

.carousel {
  height: calc(100vh - var(--header-h) - (100vw * 550 / 1760));
  overflow: hidden;
  background: #313131;
}

.carousel-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: scroll-linear 40s linear infinite;
}


.carousel:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-item {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.carousel-item span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(14px, 1.6vw, 22px);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (max-width: 1500px) {
  .carousel-item span {
    font-size: clamp(12px, 1.1vw, 16px);
    letter-spacing: 0.8px;
  }
}

.carousel-item:hover img {
  filter: brightness(0.4);
}

.carousel-item:hover span {
  opacity: 1;
}

/* Lineer akış */
@keyframes scroll-linear {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.33333%);
  }
}
.orange-link {
  text-decoration: none;
  color: #f57500;
}
/* ===================================================
   MOBILE OVERRIDES – MERGED
=================================================== */

/* Varsayılan (DESKTOP): mobil servisler GİZLİ */
.m-services {
  display: none;
}
@media (max-width: 1500px) {
.h-menu a,
  .services-toggle {
    height: 64px;
  }
}
/* ===================================================
   500px ve ALTINDA (MOBİL)
=================================================== */
@media (max-width: 500px) {
  .h-left-gap {
    display: none;
  }

  .h-logo {
    width: 159px;
    background: #313131;
    display: flex;
    align-items: end;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .h-logo img {
    max-height: 60px;
    height: 100%;
  }

  .hamburger {
    margin-left: 20px;
    width: 50px;
    margin-right: 16px;
  }
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}
  .h-whatsapp {
    width: 50px;
    background: #3b3b3b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
  }

  .h-whatsapp i {
    font-size: 20px;
  }

  .h-whatsapp span {
    display: none;
  }

  .h-social-lang {
    width: 180px;
    background: #f57500;
    color: #fff;
    display: flex;
    align-items: right;
  }

  .h-social-lang i {
    display: none;
  }

  .h-right-gap {
    display: none;
  }

  /* HERO alt alta */
  .hero {
    flex-direction: column;
    aspect-ratio: auto;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-caption-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 0px;
    height: 300px;
    background: #313131;
  }

  .hero-caption-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 0px;
    height: 0px;
    background: #f57500;
  }

  /* ================= HERO TEXT (WEB) ================= */

  .hero-text {
    position: absolute;
    left: 50px;
    top: 50px;
    max-width: 820px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
  }

  .hero-text.active {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-text h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 16px;
    white-space: nowrap;
  }

  .t-web {
    color: #f57500;
  }

  .t-design {
    color: #ffffff;
  }

  .hero-text p {
    font-family: 'Mukta Vaani', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 420px;
    margin-left: 6px;
  }

  /* CAROUSEL mobil davranış */
  .carousel {
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .carousel-track {
    animation: scroll-linear 40s linear infinite;
  }

  .carousel-item {
    min-width: 80vw;
    scroll-snap-align: start;
  }

}