/* Temel Sıfırlama */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --secondarycolor: #ffd700; /*fcb65a*/
}

:root {
  --excavator-yellow: #ffd700; /* Daha canlı sarı */
  --dark-gray: #181c23;
  --cream: #fffbe7;
  --transition-speed: 0.3s;
  --border-radius: 12px;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f7f7f7;
  color: #222;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

/* Section padding to account for fixed navbar */
section {
  padding-top: 60px;
  /* margin-top: -60px; */
}

.container {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
}

/* Modern Navbar */
.navbar-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  position: relative;
  height: 80px;
  padding: 0 1rem;
}

.logo-wrapper {
  flex: 0 0 auto;
  margin-right: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
  padding: 5px 0;
}

.logo img {
  height: 160px;
  width: auto;
  object-fit: contain;
  margin-top: -20px;
  margin-bottom: -20px;
}

.company-name {
  color: #ffd700;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-left: 20px;
}

.navbar nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.navbar nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}

.navbar nav ul li a:hover,
.navbar nav ul li a.active {
  background: #ffd700; /* Daha canlı sarı */
  color: #222;
}

.navbar-contact {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-link {
  color: #ffd700; /* Daha canlı sarı */
  font-weight: 600;
  text-decoration: none;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #222;
  padding: 0.3rem 0.8rem;
  border-radius: 18px;
  border: 1px solid #ffd70044; /* Daha canlı sarı */
  transition: background 0.18s, color 0.18s;
}

.phone-link:hover {
  background: #ffd700; /* Daha canlı sarı */
  color: #222;
}

.phone-icon {
  font-size: 1.2rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: 1rem;
  background: none;
  border: none;
  padding: 0;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffd700;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@keyframes breathing {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  background: url("arkap.jpg") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  margin-top: 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  animation: breathing 8s ease-in-out infinite;
  will-change: transform;
}

@keyframes breathing {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}

.hero-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.9rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  color: #ffd700;
  font-size: 1rem;
  font-weight: bold;
}

.hero-contact-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .hero {
    padding: 0;
    height: 100vh;
    min-height: 100vh;
  }

  .hero-content {
    padding: 2rem;
  }

  .hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  .hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 800px;
  }

  .hero-features {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .feature {
    font-size: 1.4rem;
  }

  .hero-contact-btns {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    gap: 1.5rem;
  }

  .contact-btn {
    width: auto;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: 220px;
  height: 160px;
  background: #e0e0e0;
  border: 2px dashed #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1.1rem;
  border-radius: 12px;
}

.services {
  padding: 20px 0;
  background: #181c23;
}

.services .container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.accordion-slider {
  display: flex;
  width: 100%;
  height: 500px;
  margin: 0 auto;
  background: #181c23;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.accordion-item {
  position: relative;
  transition: all 0.5s ease;
  cursor: pointer;
  overflow: hidden;
  /* border-right: 1px solid rgba(255, 255, 255, 0.1); */
  background-size: cover;
  background-position: center;
}

.accordion-item:not(.active) {
  width: 8%; /*calc(50% / 6); /* 6 adet aktif olmayan panel için */
}
.accordion-item:not(.active):before {
  content: "";
  color: #fff;
  writing-mode: vertical-lr;
  padding-top: 4rem;
  line-height: 6vw;
  text-align: start;
  font-size: larger;
}
.accordion-item.active {
  width: 52%;
}
.accordion-item.active::before {
  content: "" !important;
}

.accordion-item:nth-child(1) {
  background-image: url("img/hafriyat.webp");
}
.accordion-item:nth-child(1)::before {
  content: "Hafriyat";
}
.accordion-item:nth-child(2) {
  background-image: url("img/temel.webp");
}
.accordion-item:nth-child(2)::before {
  content: "Temel";
}
.accordion-item:nth-child(3) {
  background-image: url("img/yikim.webp");
}
.accordion-item:nth-child(3)::before {
  content: "Yıkım";
}
.accordion-item:nth-child(4) {
  background-image: url("img/kanal.webp");
}
.accordion-item:nth-child(4)::before {
  content: "Kanalizasyon";
}
.accordion-item:nth-child(5) {
  background-image: url("img/toprak.webp");
}
.accordion-item:nth-child(5)::before {
  content: "Bahçe Toprağı";
}
.accordion-item:nth-child(6) {
  background-image: url("img/gubre.webp");
}
.accordion-item:nth-child(6)::before {
  content: "Gübre";
}
.accordion-item:nth-child(7) {
  background-image: url("img/altyapi.webp");
}
.accordion-item:nth-child(7)::before {
  content: "Alt Yapı";
}
.accordion-item::before {
  width: 100%;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.9)
  );
  transition: all 0.5s ease;
  transform: rotate(180deg);
}

.accordion-item.active::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.7)
  );
}

.accordion-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: #fff;
  transform: rotate(-90deg);
  transform-origin: left top;
  white-space: nowrap;
  transition: all 0.5s ease;
  z-index: 1;
}

.accordion-item.active .accordion-header {
  transform: rotate(0);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.accordion-body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  padding: 80px 20px 20px;
  z-index: 1;
}

.accordion-item.active .accordion-body {
  opacity: 1;
  visibility: visible;
}

.accordion-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-content p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .accordion-slider {
    height: 400px;
  }

  .accordion-header h3 {
    font-size: 1.3rem;
  }

  .accordion-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .accordion-slider {
    height: 80vh;
    flex-direction: column;
  }
  .services > .container {
    padding: 0px;
  }
  .accordion-item {
    width: 100% !important;
  }
  .accordion-item:not(.active) {
    height: 8%;
    /* width: 100%; */
  }
  .accordion-item:not(.active):before {
    padding-top: 0px;
    line-height: 5vh;
    text-align: center;
    writing-mode: horizontal-tb;
    font-size: medium;
  }
  .accordion-item::before {
    transform: rotate(0deg);
  }
  .accordion-item.active {
    height: 48%;
    /* width: 100%; */
  }
  .accordion-header h3 {
    font-size: 1.1rem;
  }

  .accordion-content p {
    font-size: 0.8rem;
  }

  .accordion-body {
    padding: 60px 15px 15px;
  }
}

.testimonials {
  background: #ffd700;
  padding: 3rem 0 2rem 0;
  overflow: hidden;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #181c23;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 1rem;
}

.testimonials-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  min-height: 300px;
  padding: 0 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

.testimonial {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 100%;
  max-width: 450px;
  text-align: left;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  position: relative;
}

.testimonial::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.testimonial:nth-child(1)::before {
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 15px 15px 15px 0;
  border-color: transparent #fff transparent transparent;
}

.testimonial:nth-child(2)::before {
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 15px 0 15px 15px;
  border-color: transparent transparent transparent #fff;
}

.testimonial p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.2rem;
  position: relative;
  font-style: italic;
}

.testimonial .author {
  font-weight: bold;
  color: #ffd700;
  font-size: 1.1rem;
  text-align: right;
  margin-top: 0.8rem;
}

.testimonial.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .testimonials-list {
    flex-direction: column;
    gap: 3rem;
    padding: 0 1rem;
  }

  .testimonial {
    padding: 1.5rem;
    max-width: 100%;
  }

  .testimonial p {
    font-size: 1.1rem;
  }

  .testimonial .author {
    font-size: 1rem;
  }

  .testimonial:nth-child(1)::before {
    left: 20px;
    top: -15px;
    transform: none;
    border-width: 0 15px 15px 15px;
    border-color: transparent transparent #fff transparent;
  }

  .testimonial:nth-child(2)::before {
    right: 20px;
    top: -15px;
    transform: none;
    border-width: 0 15px 15px 15px;
    border-color: transparent transparent #fff transparent;
  }
}

.contact {
  padding: 3rem 0 2rem 0;
  background: #fff;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}

#contact-form {
  max-width: 500px;
  margin: 0 auto;
  background: #f7f7f7;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: #222;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: none;
}

.form-group textarea {
  min-height: 90px;
}

#form-message {
  margin-top: 1rem;
  text-align: center;
  color: #ffd700; /* Daha canlı sarı */
  font-weight: bold;
}

.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 2rem 0;
  margin-top: 0;
  font-size: 1rem;
  border-top: 2px solid #ffd70044;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.biemef-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s ease;
}

.biemef-link:hover {
  opacity: 0.8;
}

.biemef-logo {
  height: 30px;
  width: auto;
}

.biemef-link span {
  font-size: 0.9rem;
  color: #ffd700;
}

/* Mobil Uyum */
@media (max-width: 1440px) {
  .container {
    width: 95%;
  }

  .services-main,
  .gallery-main {
    max-width: 95%;
  }

  #services-main-img,
  #gallery-main-img {
    height: 100%;
  }

  .vehicle-card {
    min-width: 300px;
    max-width: 320px;
    flex: 0 0 300px;
  }
}

@media (max-width: 900px) {
  .container {
    width: 92%;
  }

  .services-main,
  .gallery-main {
    max-width: 90%;
  }

  #services-main-img,
  #gallery-main-img {
    /* height: 400px; */
  }

  .vehicle-card {
    min-width: 280px;
    max-width: 300px;
    flex: 0 0 280px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .services-title,
  .gallery-desc {
    font-size: 1.3rem;
  }

  .services-desc {
    font-size: 1.1rem;
  }

  .company-name {
    font-size: 2rem;
  }
}

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

  .navbar-flex {
    padding: 0 0.5rem;
  }

  .logo-wrapper {
    margin-right: 1rem;
  }

  .navbar nav {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .navbar nav ul {
    display: none;
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 60px;
    right: 0;
    width: 180px;
    border-radius: 0 0 0 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 99;
    padding: 1rem 0.5rem;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .navbar nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-contact {
    display: none;
  }

  .hero,
  .hero-content-center {
    min-height: 400px;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    max-width: 95%;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .services-main,
  .gallery-main {
    max-width: 95%;
    padding: 0.7rem 0.2rem 1rem 0.2rem;
  }

  #services-main-img,
  #gallery-main-img {
    /* height: 300px; */
  }

  .services-title,
  .gallery-desc {
    font-size: 1.2rem;
    padding: 0 0.5rem;
  }

  .services-desc {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .services-thumbnails,
  .gallery-thumbnails {
    gap: 0.5rem;
  }

  .services-thumbnails img,
  .gallery-thumbnails img {
    /*width: 70px;
    height: 52px;*/
  }

  .vehicle-card {
    min-width: 252px;
    max-width: 280px;
    flex: 0 0 252px;
    padding: 0.8rem;
  }

  .vehicle-card img {
    height: 126px;
  }

  .vehicle-card h3 {
    font-size: 1.1rem;
  }

  .vehicle-card p {
    font-size: 0.95rem;
  }

  .gallery-main {
    width: 95%;
    height: 350px;
  }

  .gallery-thumbnails img {
    /*width: 60px;
    height: 45px;*/
  }

  .slider-btn,
  .gallery-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .hero-contact-btns {
    flex-direction: column;
    gap: 0.8rem;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 98%;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .services-main,
  .gallery-main {
    padding: 0.5rem 0.2rem 0.8rem 0.2rem;
  }

  #services-main-img,
  #gallery-main-img {
    /* height: 250px; */
    /* height: 100%; */
  }

  .services-title,
  .gallery-desc {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .services-desc {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .services-thumbnails,
  .gallery-thumbnails {
    gap: 0.4rem;
  }

  .services-thumbnails img,
  .gallery-thumbnails img {
    width: 60px;
    height: 45px;
  }

  .vehicle-card {
    min-width: 220px;
    max-width: 240px;
    flex: 0 0 220px;
  }

  .vehicle-card img {
    height: 110px;
  }

  .gallery-main {
    height: 300px;
    padding: 0px;
  }

  .gallery-thumbnails img {
    /*width: 50px;
    height: 38px;*/
  }

  .slider-btn,
  .gallery-btn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .company-name {
    font-size: 1.5rem;
  }
}

/* Dokunmatik cihazlar için özel stiller */
@media (hover: none) {
  .vehicle-card:hover {
    transform: none;
  }

  .slider-btn:hover,
  .gallery-btn:hover {
    background: #ffd700;
    color: #222;
  }

  .contact-btn:hover {
    background: #222;
    color: #fff;
  }
}

/* Araçlar Section */
.vehicles {
  padding: 80px 0;
  background: #ffd700;
  overflow: hidden;
}
.araclarBlock {
  display: none;
}

.vehicles h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #181c23;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 1rem;
}

.vehicles-slider {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
}

.vehicles-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 30px;
  padding: 30px 40px;
  cursor: grab;
  scrollbar-width: none;
  /* scrollbar-width: thin; */
  scrollbar-color: #ffd700 rgba(24, 28, 35, 0.2);
}

.vehicles-track::-webkit-scrollbar {
  height: 12px;
}

.vehicles-track::-webkit-scrollbar-track {
  background: rgba(24, 28, 35, 0.2);
  border-radius: 6px;
}

.vehicles-track::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 6px;
  border: 2px solid rgba(24, 28, 35, 0.2);
}

.vehicles-track::-webkit-scrollbar-thumb:hover {
  background: #ffe44d;
}

.vehicles-track:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  .vehicles-track {
    gap: 20px;
    padding: 20px 30px;
  }

  .araclarBlock {
    display: block;
    position: absolute;
    z-index: 9;
    width: 100%;
    height: 100%;
  }
  .vehicles-track::-webkit-scrollbar {
    height: 10px;
  }

  .vehicles-track::-webkit-scrollbar-track {
    border-radius: 5px;
  }

  .vehicles-track::-webkit-scrollbar-thumb {
    border-radius: 5px;
    border: 2px solid rgba(24, 28, 35, 0.2);
  }

  .vehicle-card {
    flex: 0 0 260px;
    padding: 12px;
  }

  .vehicle-card img {
    height: 180px;
  }

  .vehicle-card h3 {
    font-size: 1rem;
  }

  .vehicle-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .vehicles-track {
    gap: 15px;
    padding: 15px 20px;
  }

  .vehicles-track::-webkit-scrollbar {
    height: 8px;
  }

  .vehicles-track::-webkit-scrollbar-track {
    border-radius: 4px;
  }

  .vehicles-track::-webkit-scrollbar-thumb {
    border-radius: 4px;
    border: 1px solid rgba(24, 28, 35, 0.2);
  }

  .vehicle-card {
    flex: 0 0 240px;
    padding: 10px;
  }

  .vehicle-card img {
    height: 160px;
  }

  .vehicle-card h3 {
    font-size: 0.95rem;
  }

  .vehicle-card p {
    font-size: 0.8rem;
  }
}

.vehicle-card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.vehicle-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
}

.vehicle-card p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.4;
  font-weight: 500;
}

@media (max-width: 768px) {
  .vehicle-card {
    flex: 0 0 calc(50% - 20px);
  }

  .vehicle-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .vehicle-card {
    flex: 0 0 calc(100% - 20px);
  }

  .vehicle-card img {
    height: 160px;
  }
}

.gallery {
  padding: 2rem 0;
  background: #181c23;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-bottom: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.gallery-slider {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 2px solid #ffd70044;
  margin-bottom: 0.8rem;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(24, 28, 35, 0.8);
  border: 2px solid #ffd700;
  color: #ffd700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.gallery-btn:hover {
  background: #ffd700;
  color: #181c23;
  transform: translateY(-50%) scale(1.1);
}

.gallery-btn.left {
  left: 20px;
}

.gallery-btn.right {
  right: 20px;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 5px;
  overflow-x: auto;
  justify-content: flex-start;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ffd700 rgba(24, 28, 35, 0.2);
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: rgba(24, 28, 35, 0.2);
  border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
  background: #ffe44d;
}

.gallery-thumbnail {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #ffd70044;
  transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
  transform: scale(1.05);
  border-color: #ffd700;
}

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

.gallery-thumbnail.active {
  border-color: #ffd700;
  transform: scale(1.05);
}

.gallery-desc {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 1rem;
  text-align: center;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .gallery {
    padding: 1.5rem 0;
  }

  .gallery h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
  }

  .gallery-slider {
    height: 60vh;
  }

  .gallery-main {
    margin-bottom: 0.6rem;
  }

  .gallery-thumbnails {
    gap: 6px;
    margin-top: 8px;
    padding: 4px;
  }
}

@media (max-width: 480px) {
  .gallery {
    padding: 1rem 0;
  }

  .gallery h2 {
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
  }

  .gallery-slider {
    height: 50vh;
  }

  .gallery-main {
    margin-bottom: 0.5rem;
  }

  .gallery-thumbnails {
    gap: 5px;
    margin-top: 6px;
    padding: 3px;
  }
  .gallery-btn {
    width: 30px;
    height: 30px;
  }
}

.nav-desc {
  display: block;
  font-size: 0.78em;
  color: #ffd700cc; /* Daha canlı sarı */
  font-weight: 400;
  margin-top: 0.1em;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.navbar {
  background: rgba(24, 28, 35, 0.95);
  padding: 0.3rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffd700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand img {
  height: 28px;
  width: auto;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.85rem;
}

.contact-item i {
  color: #ffd700;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.3rem 1rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-brand img {
    height: 25px;
  }

  .nav-link {
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
  }

  .contact-item {
    font-size: 0.8rem;
  }
}

.hero-contact-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 0.7em 1.5em;
  border-radius: 30px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  justify-content: center;
}

.contact-btn .contact-icon {
  font-size: 1.3em;
  margin-right: 0.3em;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
}

.whatsapp-btn:hover {
  background: #1ebe57;
  color: #fff;
}

.phone-btn {
  background: #ffd700; /* Daha canlı sarı */
  color: #222;
}

.phone-btn:hover {
  background: #ffe44d; /* Daha açık sarı */
  color: #222;
}

@media (max-width: 768px) {
  .hero-contact-btns {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .contact-btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    font-size: 1.1rem;
    padding: 0.7em 1em;
  }
}

@media (max-width: 480px) {
  .hero-contact-btns {
    gap: 0.6rem;
  }

  .contact-btn {
    font-size: 1rem;
    padding: 0.6em 0.9em;
  }
}

.about-us {
  padding: 4rem 0;
  background: #181c23;
}

.about-us h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.about-us h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #ffd700;
  border-radius: 2px;
  opacity: 0;
  transition: all 0.6s ease-out 0.3s;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-text {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
}

.about-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-us {
    padding: 3rem 0;
  }

  .about-us h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .about-text {
    padding: 1.5rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-us {
    padding: 2rem 0;
  }

  .about-us h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .about-text {
    padding: 1.2rem;
  }
}

@media (max-width: 768px) {
  .navbar-flex {
    height: 100px;
  }

  .logo img {
    height: 130px;
    margin-top: -15px;
    margin-bottom: -15px;
  }
}

@media (max-width: 480px) {
  .navbar-flex {
    height: 90px;
  }

  .logo img {
    height: 110px;
    margin-top: -10px;
    margin-bottom: -10px;
  }
}

@media (max-width: 768px) {
  .hero::before {
    animation: breathing 10s ease-in-out infinite;
  }
}

@media (max-width: 480px) {
  .hero::before {
    animation: breathing 12s ease-in-out infinite;
  }
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  filter: brightness(0) invert(1);
  vertical-align: middle;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 0.7em 1.5em;
  border-radius: 30px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  justify-content: center;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
}

.whatsapp-btn:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .whatsapp-icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .whatsapp-icon {
    width: 20px;
    height: 20px;
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

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

.section-heading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.section-heading.animate {
  opacity: 1;
  transform: translateY(0);
}

.services h2.animate,
.vehicles h2.animate,
.gallery h2.animate,
.testimonials h2.animate,
.about-us h2.animate {
  opacity: 1;
  transform: translateY(0);
}

.services h2::after.animate,
.vehicles h2::after,
.gallery h2::after,
.testimonials h2::after,
.about-us h2::after {
  opacity: 1;
}

.nav-arrow {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 40px;
  height: 40px;
  background: rgba(24, 28, 35, 0.8);
  border: 2px solid #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: #ffd700;
  transform: scale(1.1);
}

.nav-arrow:hover .arrow-icon {
  border-color: #181c23;
}

.arrow-icon {
  width: 12px;
  height: 12px;
  border-right: 3px solid #ffd700;
  border-bottom: 3px solid #ffd700;
  transition: all 0.3s ease;
}

.arrow-up {
  bottom: 80px;
}

.arrow-down {
  bottom: 30px;
}

.arrow-up .arrow-icon {
  transform: rotate(225deg);
}

.arrow-down .arrow-icon {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .nav-arrow {
    right: 20px;
    width: 35px;
    height: 35px;
  }

  .arrow-up {
    bottom: 70px;
  }

  .arrow-down {
    bottom: 25px;
  }

  .arrow-icon {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .nav-arrow {
    right: 15px;
    width: 30px;
    height: 30px;
  }

  .arrow-up {
    bottom: 60px;
  }

  .arrow-down {
    bottom: 20px;
  }

  .arrow-icon {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .company-name {
    left: -120px;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .company-name {
    left: -100px;
    font-size: 1.5rem;
  }
}

@keyframes vibrate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.vibrating {
  animation: vibrate 0.5s ease-in-out;
}

.contact-heading {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Moving Excavator Animation */
.moving-excavator {
  position: fixed;
  font-size: 2rem;
  z-index: 1000;
  transform: rotate(0deg);
  pointer-events: none;
  color: #ffffff;
  text-shadow: none;
  filter: brightness(0) invert(1);
  right: 8px;
  transition: top 0.1s linear;
}

@media (max-width: 768px) {
  .moving-excavator {
    font-size: 1.5rem;
    right: 4px;
  }
}

@media (max-width: 480px) {
  .moving-excavator {
    font-size: 1.2rem;
    right: 2px;
  }
}

.truck-track {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 999;
}

.left-track {
  left: 2px;
}

.right-track {
  right: 2px;
}

/* Remove Image Optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Remove Preload critical images */
.logo img {
  height: 160px;
  width: auto;
  object-fit: contain;
  margin-top: -20px;
  margin-bottom: -20px;
}

/* Remove Optimize background images */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("arkap.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Remove Optimize vehicle images */
.vehicle-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Remove Optimize gallery images */
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Konum Section */
.location {
  padding: 4rem 0;
  background: #ffd700;
}

.location h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #181c23;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

.location h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #181c23;
  border-radius: 2px;
  opacity: 1;
  transition: all 0.6s ease-out 0.3s;
}

.map-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 2px solid #181c2344;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

@media (max-width: 768px) {
  .location {
    padding: 3rem 0;
  }

  .location h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .location {
    padding: 2rem 0;
  }

  .location h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .map-container iframe {
    height: 300px;
  }
}

.phone-icon-nav {
  font-size: 1.5rem;
  color: #ffd700;
  transition: all 0.3s ease;
}

.nav-arrow:hover .phone-icon-nav {
  color: #181c23;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .phone-icon-nav {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .phone-icon-nav {
    font-size: 1.1rem;
  }
}

.vehicles-progress {
  margin-top: 20px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-track {
  width: 50%;
  height: 4px;
  background: rgba(24, 28, 35, 0.2);
  border-radius: 2px;
  position: relative;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.progress-handle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: grab;
  transition: transform 0.2s ease;
  will-change: transform;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  line-height: 46px;
  text-align: center;
}

.progress-handle:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .vehicles-progress {
    margin-top: 15px;
    padding: 0 15px;
  }

  .progress-track {
    width: 60%;
    height: 3px;
  }

  .progress-handle {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .vehicles-progress {
    margin-top: 12px;
    padding: 0 12px;
  }

  .progress-track {
    width: 70%;
    height: 3px;
  }

  .progress-handle {
    width: 14px;
    height: 14px;
  }
}

.vehicles-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 10px;
  overflow-x: auto;
  justify-content: center;
  scrollbar-width: thin;
  scrollbar-color: #ffd700 rgba(24, 28, 35, 0.2);
}

.vehicles-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.vehicles-thumbnails::-webkit-scrollbar-track {
  background: rgba(24, 28, 35, 0.2);
  border-radius: 3px;
}

.vehicles-thumbnails::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 3px;
}

.vehicles-thumbnails::-webkit-scrollbar-thumb:hover {
  background: #ffe44d;
}

.vehicle-thumbnail {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #ffd70044;
  transition: all 0.3s ease;
}

.vehicle-thumbnail:hover {
  transform: scale(1.05);
  border-color: #ffd700;
}

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

.vehicle-thumbnail.active {
  border-color: #ffd700;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .vehicles-thumbnails {
    gap: 8px;
    padding: 8px;
  }

  .vehicle-thumbnail {
    width: 60px;
    height: 45px;
  }
}

.video-section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #181c23;
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease;
  transform: scale(1.01); /* Prevent white edges during transition */
  will-change: transform, opacity;
}

.video-player.active {
  opacity: 1;
  z-index: 1;
}

@media (max-width: 768px) {
  .video-section {
    height: 80vh;
  }
}

@media (max-width: 480px) {
  .video-section {
    height: 60vh;
  }
}

/* Loading Animation */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #181c23;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loader-wrapper.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 80px;
  height: 80px;
  position: relative;
}

.loader-inner {
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: #ff6b6b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-inner::before,
.loader-inner::after {
  content: "";
  position: absolute;
  border: 4px solid transparent;
  border-radius: 50%;
}

.loader-inner::before {
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-top-color: #4ecdc4;
  animation: spin 2s linear infinite;
}

.loader-inner::after {
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-top-color: #ffd166;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Page Transitions */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #181c23;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
  transform: translateY(0);
}

/* Section Animations */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 90px;
  }
}

/* Counter Section 
.counter-section {
  padding: 80px 0;
  background: #181c23;
}

.counter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.counter-item {
  text-align: center;
}

.counter-circle {
  width: 180px;
  height: 180px;
  background: rgba(255, 215, 0, 0.1);
  border: 3px solid #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.counter {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffd700;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.counter-plus {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffd700;
  display: inline-block;
  margin-left: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.counter-item h3 {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}*/
/* Counter Section */
.counter-section {
  padding: 80px 0;
  background: #181c23;
}

.counter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.counter-item {
  text-align: center;
}

.counter-circle {
  width: 180px;
  height: 180px;
  background: #181c23; /* rgba(255, 215, 0, 0.1);*/
  /* border: 3px solid var(--secondarycolor); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

/***/
.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  width: 180px;
  height: 180px;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.circle {
  fill: none;
  stroke: var(--secondarycolor);
  stroke-width: 8;
  stroke-dasharray: 503; /* 2 * π * r, r = 80 => ≈ 502 */
  stroke-dashoffset: 503;
  transition: stroke-dashoffset 0.5s ease;
}

.counter-content {
  position: absolute;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondarycolor);
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.counter-plus {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondarycolor);
  display: inline-block;
  margin-left: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.counter-item h3 {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .counter-wrapper {
    gap: 70px;
  }

  .counter-circle {
    width: 150px;
    height: 150px;
  }

  .counter {
    font-size: 3rem;
  }

  .counter-plus {
    font-size: 2rem;
  }

  .counter-item h3 {
    font-size: 1.3rem;
  }
  .progress-ring {
    left: auto;
    top: auto;
  }
}

@media (max-width: 480px) {
  .counter-wrapper {
    flex-direction: column;
  }
  .counter-wrapper {
    gap: 30px;
  }

  .counter-circle {
    width: 120px;
    height: 120px;
  }

  .counter {
    font-size: 2.5rem;
  }

  .counter-plus {
    font-size: 1.8rem;
  }
  .counter-item {
    margin-top: 1.5rem;
  }

  .counter-item h3 {
    font-size: 1.2rem;
  }
}

/* Mobil Uyumluluk için Genel Düzenlemeler */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }

  .navbar-flex {
    height: 80px;
    padding: 0 10px;
    gap: 1rem;
  }

  .logo img {
    height: 100px;
    margin-top: -15px;
    margin-bottom: -15px;
  }

  .company-name {
    font-size: 1.8rem;
    margin-left: 10px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .services-main {
    margin: 0;
  }

  #services-main-img {
    height: 60vh;
  }

  .services-desc {
    font-size: 1.3rem;
    padding: 1.5rem;
    bottom: 100px;
  }

  .services-thumbnails {
    padding: 0.8rem;
  }

  .services-thumbnails img {
    width: 90px;
    height: 68px;
  }

  .vehicle-card {
    min-width: 280px;
    padding: 12px;
  }

  .vehicle-card img {
    height: 180px;
  }

  .vehicle-card h3 {
    font-size: 1.1rem;
  }

  .vehicle-card p {
    font-size: 0.9rem;
  }

  .gallery-slider {
    height: 50vh;
  }

  .gallery-main {
    margin-bottom: 0.8rem;
  }

  .gallery-thumbnails {
    gap: 6px;
  }

  .gallery-thumbnails img {
    /*width: 70px;
    height: 52px;*/
  }

  .counter-circle {
    width: 140px;
    height: 140px;
    margin-bottom: 2rem;
  }

  .counter {
    font-size: 2.8rem;
  }

  .counter-plus {
    font-size: 1.8rem;
  }

  .counter-item h3 {
    font-size: 1.2rem;
  }

  .about-text {
    padding: 1.5rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 98%;
  }

  .navbar-flex {
    height: 70px;
    padding: 0 5px;
    gap: 0.3rem;
  }

  .logo img {
    height: 70px;
    margin-top: -10px;
    margin-bottom: -10px;
  }

  .company-name {
    font-size: 1rem;
    margin-left: 8px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  #services-main-img {
    height: 50vh;
  }

  .services-desc {
    font-size: 1.1rem;
    padding: 1.2rem;
    bottom: 80px;
  }

  .services-thumbnails {
    padding: 0.6rem;
  }

  .services-thumbnails img {
    width: 70px;
    height: 52px;
  }

  .vehicle-card {
    min-width: 240px;
    padding: 10px;
  }

  .vehicle-card img {
    height: 160px;
  }

  .vehicle-card h3 {
    font-size: 1rem;
  }

  .vehicle-card p {
    font-size: 0.85rem;
  }

  .gallery-slider {
    height: 40vh;
  }

  .gallery-main {
    margin-bottom: 0.6rem;
  }

  .gallery-thumbnails {
    gap: 4px;
  }

  .gallery-thumbnails img {
    /*width: 60px;
    height: 45px;*/
  }

  .counter-circle {
    width: 120px;
    height: 120px;
  }

  .counter {
    font-size: 2.2rem;
  }

  .counter-plus {
    font-size: 1.5rem;
  }

  .counter-item h3 {
    font-size: 1.1rem;
  }

  .about-text {
    padding: 1.2rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .map-container iframe {
    height: 300px;
  }

  .contact-btn {
    font-size: 1rem;
    padding: 0.6em 1.2em;
  }

  .whatsapp-icon {
    width: 20px;
    height: 20px;
  }
}

/* Küçük Mobil Cihazlar için Ek Düzenlemeler */
@media (max-width: 360px) {
  .container {
    width: 100%;
    padding: 0 3px;
  }

  .navbar-flex {
    height: 60px;
  }

  .logo img {
    height: 60px;
  }

  .company-name {
    font-size: 0.8rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content h2 {
    font-size: 1.3rem;
  }

  #services-main-img {
    height: 45vh;
  }

  .services-desc {
    font-size: 1rem;
    padding: 1rem;
  }

  .services-thumbnails img {
    width: 60px;
    height: 45px;
  }

  .vehicle-card {
    min-width: 220px;
  }

  .vehicle-card img {
    height: 140px;
  }

  .gallery-slider {
    height: 35vh;
  }

  .gallery-thumbnails img {
    width: 50px;
    height: 38px;
  }

  .counter-circle {
    width: 100px;
    height: 100px;
  }

  .counter {
    font-size: 2rem;
  }

  .counter-plus {
    font-size: 1.3rem;
  }

  .counter-item h3 {
    font-size: 1rem;
  }
}

/* Tablet için Ek Düzenlemeler */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: 92%;
  }

  .navbar-flex {
    height: 90px;
  }

  .logo img {
    height: 140px;
  }

  .company-name {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  #services-main-img {
    height: 70vh;
  }

  .services-desc {
    font-size: 1.5rem;
  }

  .services-thumbnails img {
    width: 100px;
    height: 75px;
  }

  .vehicle-card {
    min-width: 300px;
  }

  .vehicle-card img {
    height: 200px;
  }

  .gallery-slider {
    height: 60vh;
  }

  .gallery-thumbnails img {
    /*width: 80px;
    height: 60px;*/
  }

  .counter-circle {
    width: 160px;
    height: 160px;
  }

  .counter {
    font-size: 3rem;
  }

  .counter-plus {
    font-size: 2rem;
  }

  .counter-item h3 {
    font-size: 1.3rem;
  }
}

/* Yatay Mobil Görünüm için Düzenlemeler */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 500px;
  }

  .hero-content-center {
    min-height: 500px;
  }

  #services-main-img {
    height: 80vh;
  }

  .services-desc {
    bottom: 60px;
  }

  .gallery-slider {
    height: 80vh;
  }

  .counter-circle {
    width: 100px;
    height: 100px;
  }

  .counter {
    font-size: 2rem;
  }

  .counter-plus {
    font-size: 1.3rem;
  }
}

/* Dokunmatik Cihazlar için Özel Düzenlemeler */
@media (hover: none) {
  .vehicle-card:hover {
    transform: none;
  }

  .services-thumbnails img:hover {
    transform: none;
  }

  .gallery-thumbnails img:hover {
    transform: none;
  }

  .contact-btn:hover {
    transform: none;
  }
}
