/* styles.css */
:root {
  --primary-color: #FF6600;
  --secondary-color: #000000;
  --light-bg: #fafafa;
  --text-color: #333333;
  --whatsapp-color: #25D366;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  background: var(--light-bg);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--secondary-color);
  z-index: 1000;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo-wrapper {
  display: flex;
  align-items: center;
}
.header-logo {
  width: 40px;
  margin-right: .5rem;
}
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  position: relative;
  cursor: pointer;
}
.logo-text::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background: var(--primary-color);
  transition: width .3s;
}
.logo-text:hover::after {
  width: 100%;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
  padding: .3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background: var(--primary-color);
  transition: width .3s;
}
.nav-links a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('herobg.jpg') center/cover no-repeat;
}
.hero-content h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: .5rem;
  font-weight: 400;
}
.hero-content h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background .3s, transform .2s;
}
.btn:hover {
  background: #e65500;
  transform: translateY(-2px);
}

/* SECTION BASE */
.section {
  padding: 6rem 0;
  scroll-margin-top: 80px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.section-title::after {
  content: '';
  width: 60px; height: 3px;
  background: var(--primary-color);
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform .3s, box-shadow .3s;
}
.card h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-family: 'Montserrat', sans-serif;
}
.card p {
  font-size: .95rem;
  line-height: 1.5;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* KONUM & “BAŞKA ŞUBEMİZ YOKTUR!” */
.contact-item {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--secondary-color);
  text-align: center;
}
.no-branch-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-top: .5rem;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 60px; height: 60px;
  background: var(--whatsapp-color);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* FOOTER */
.footer {
  background: var(--secondary-color);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  font-size: .9rem;
}

/* ===== Responsive Ayarlar ===== */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0;
  }
  .nav-links {
    display: none;
  }
  .hero-content h2 {
    font-size: 1.5rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .btn {
    padding: .5rem 1rem;
    font-size: .9rem;
  }
  .cards {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .section {
    padding: 3rem 0;
  }
  .contact-item {
    font-size: .9rem;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.2rem;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .btn {
    padding: .5rem 1rem;
    font-size: .8rem;
  }
  .logo-text {
    font-size: 1.4rem;
  }
  .header-logo {
    width: 30px;
  }
}
