:root {
  --accent: #18b5e1;
  --bg-dark: #111111;
  --bg-light: #ffffff;
  --text-dark: #222222;
}

/* Genel */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: auto;
  min-width: 1200px;
  margin-bottom: 8%;
}

html {
  overflow-x: auto;
  min-width: 1200px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: var(--bg-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100vw;
  min-width: 1200px;
  box-sizing: border-box;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 100px;
  user-select: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo {
  font-size: 2em;
  font-weight: bold;
  color: var(--bg-dark);
}

.logo2 {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--bg-dark);
}

/* Menü linkleri */
.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Normal linkler */
.nav-links a {
  background-color: #1c1c1c;
  color: var(--bg-light);
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  height: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.yeniButon {
  background-color: #1c1c1c;
  color: var(--bg-light);
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  height: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
  position: relative;
  gap: 8px;
}

.nav-links a:hover {
  background-color: var(--accent);
  color: white;
}

.yeniButon:hover {
  background-color: var(--accent);
  color: white;
}

/* Dropdown link */
.nav-link.dropdown {
  position: relative;
  user-select: none;
}

/* Dropdown ok ikonu */
.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Dropdown açıkken ok yukarı dönecek */
.nav-link.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown menü */
.dropdown-menu {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1c1c1c;
  border-radius: 8px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 3px 12px rgba(24, 181, 225, 0.25);
  z-index: 200;
  margin-top: 5px;
}

/* Dropdown menü açıkken */
.dropdown-menu.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dropdown-menu button {
  background: none;
  border: none;
  color: white;
  padding: 12px 20px;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
  border-radius: 0;
  user-select: none;
  font-size: 14px;
}

.dropdown-menu button:hover {
  background-color: var(--accent);
  color: white;
}

/* Buton genel */
.btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-green {
  background-color: var(--accent);
  color: white;
}

.btn-green:hover {
  background-color: #117a9e;
}

/* Hero Bölümü */
.hero {
  z-index: -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 5%;
  background-color: #ffffff;
  width: 90%;
  box-sizing: border-box;
  margin-left: 5%;
  margin-top: 5%;
  background-size: cover;
  background-position: center;
}

.hero-text {
  color: white;
  max-width: 100%;
}

.hero-text h1 {
  font-size: 2.5em;
  margin: 0 0 10px;
}

.green {
  color: var(--accent);
}

.hero-img img {
  max-width: 400px;
  width: 100%;
  user-select: none;
}

/* Alt Sayfa */
.subpage-section {
  padding: 60px 5%;
  background-color: var(--bg-light);
  color: var(--text-dark);
  min-width: 1200px;
  width: 100vw;
  box-sizing: border-box;
}

.section-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  border-left: 6px solid var(--accent);
  padding-left: 18px;
}

.section-content {
  background: linear-gradient(135deg, #d0eaff 0%, #f0faff 100%);
  border-left: 5px solid var(--accent);
  padding: 30px 35px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(24, 181, 225, 0.15);
  line-height: 1.65;
  transition: box-shadow 0.3s ease;
}

.section-content:hover {
  box-shadow: 0 6px 24px rgba(24, 181, 225, 0.25);
}

.subpage-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 22px;
  background-color: var(--accent);
  color: white;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(24, 181, 225, 0.4);
}

.subpage-btn:hover {
  background-color: #117a9e;
  box-shadow: 0 4px 14px rgba(17, 122, 158, 0.5);
}

/* Sayfa Geçiş Efektleri */
@keyframes slideFadeOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50px);
  }
}

@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-exit {
  animation: slideFadeOut 0.4s ease forwards;
}

.page-enter {
  animation: slideFadeIn 0.4s ease forwards;
}

/* Diğer stil kuralları */
.yazıStili {
  margin-right: 26%;
  font-size: 20px;
  color: rgb(246, 246, 246);
  margin-left: 3%;
  line-height: 40px;
  width: 90%;
}

.sayfaAyari {
  padding: 60px 5%;
  background-color: #f0faff;
  margin-top: 100px;
  min-width: 1200px;
  width: 100vw;
  box-sizing: border-box;
}

.sembol {
  width: 200px;
}

.gorsel-golge {
  margin-left: 3%;
  position: relative;
  width: 90%;
  height: 450px;
  background-image: url('images/pompa.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 60px 5%;
  background-color: #f0faff;
  margin-top: 100px;
  min-width: 100px;
  box-sizing: border-box;
}

.golge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.baslik {
  margin-left: 2%;
  color: #38d4ff;
  font-size: 50px;
  margin-top: 3%;
}

/* Hizmetler Bölümü */
.services-section {
  padding: 60px 5%;
  background-color: #f0faff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: white;
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  padding: 30px 25px;
  box-shadow: 0 3px 12px rgba(24, 181, 225, 0.15);
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 6px 24px rgba(24, 181, 225, 0.25);
}

.service-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

/* Neden Biz */
.why-us-section {
  background-color: #ffffff;
  padding: 60px 5%;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.why-us-item {
  background: linear-gradient(135deg, #d0eaff 0%, #f0faff 100%);
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.why-us-item:hover {
  transform: translateY(-5px);
}

.why-icon {
  font-size: 1.8em;
  margin-bottom: 10px;
}

/* CTA */
.cta-section {
  padding: 60px 5%;
  background-color: #18b5e1;
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

.cta-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  border: 2px solid white;
  color: white;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background-color: white;
  color: #18b5e1;
}
