/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fafc;
  color: #1e1e1e;
  padding-top: 100px;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* === Navbar === */
.navbar {
  background-color: #0b1d3a;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background-color: #081631;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo img {
  height: 90px;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links ul li a {
  color: white;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  display: inline-block;
}

/* === Hizmet Kartlar === */
.hizmetler {
  padding: 4rem 1rem;
  background-color: #ffffff;
}

.hizmetler h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0b1d3a;
}

.hizmet-kartlari {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.hizmet-kart {
  flex: 1 1 300px;
  max-width: 350px;
  background: #f3f6fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hizmet-kart:hover {
  transform: translateY(-5px);
}

.hizmet-kart img {
  width: 100%;
  height: 200px;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

/* Kart ierii */
.hizmet-kart h3 {
  padding: 1rem 1rem 0;
  font-size: 1.3rem;
  color: #0b1d3a;
}

.hizmet-kart p {
  padding: 0 1rem 1rem;
  font-size: 1rem;
  color: #333;
}


/* === Neden Biz Kartlar === */
.nedenbiz {
  background: #f9fafc;
  padding: 4rem 1rem;
}

.nedenbiz h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0b1d3a;
}

.neden-listesi {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.neden {
  flex: 1 1 300px;
  max-width: 350px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.neden:hover {
  transform: translateY(-5px);
}

.neden img {
  width: 100%;
  height: 200px;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.neden h3 {
  padding: 1rem 1rem 0;
  font-size: 1.3rem;
  color: #0b1d3a;
}

.neden p {
  padding: 0 1rem 1rem;
  font-size: 1rem;
  color: #333;
}

/* === Responsive Yap === */
@media (max-width: 768px) {
  .hizmet-kartlari,
  .neden-listesi {
    flex-direction: column;
    align-items: center;
  }

  .hizmet-kart,
  .neden {
    max-width: 100%;
  }
}


/* Hamburger Menü */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 5px;
}

/* === Hero Banner === */
.hero-banner {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.hero-banner .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-banner .hero-overlay h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  padding: 0 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* WhatsApp Butonu */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  width: 55px;
  height: 55px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: bounce 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 30px;
  height: 30px;
}

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

/* === Footer === */
.footer {
  background: #0b1d3a;
  color: white;
  text-align: center;
  padding: 4rem 1rem 2rem;
  font-size: 0.9rem;
}

.footer-servis {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
  text-align: left;
}

.footer-servis-info {
  flex: 1 1 300px;
}

.footer-servis-info small {
  font-weight: 600;
  color: #ddd;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-servis-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-servis-info p {
  color: #f0f0f0;
}

.footer-servis-phone {
  flex: 1 1 200px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.footer-servis-phone a {
  color: white;
  display: inline-block;
  margin-top: 0.3rem;
}

.footer-servis-btn {
  flex: 1 1 200px;
  text-align: right;
}

.footer-servis-btn .btn-white {
  background: white;
  color: #0b1d3a;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.footer-servis-btn .btn-white:hover {
  background: #f0f0f0;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-nav ul li a {
  color: white;
  font-weight: 500;
}


/* === Responsive === */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #0b1d3a;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 9999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
  }

  .nav-links ul li a {
    color: white;
    font-size: 1rem;
    font-weight: 600;
  }

  .nav-links ul li {
    width: 100%;
    text-align: center;
  }
}
