/* ========================================
   HEMEN ELEKTRİK – GENEL STİL DOSYASI
   Renkler: Ana mavi #2c3e50, vurgu mavi #3498db
   ======================================== */

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #212529;
  background-color: #f8f9fa;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

/* --- Header --- */
.header {
  background-color: #2c3e50;
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo img {
  height: 50px;
}

.main-nav a {
  color: white;
  margin: 0 15px;
  font-weight: 600;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #3498db;
}

.whatsapp-btn-header {
  background-color: #25d366;
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
}

.whatsapp-btn-header:hover {
  background-color: #128c7e;
  color: white;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero h1 span {
  color: #f1c40f;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 10px 0;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #128c7e;
  color: white;
}

.location-selector {
  margin-top: 30px;
}

.location-selector label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

#district {
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

/* --- Hizmetler --- */
.services {
  padding: 60px 0;
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #2c3e50;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

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

.service-card i {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #2c3e50;
}

.service-card p {
  color: #555;
  margin-bottom: 20px;
}

.btn-outline {
  display: inline-block;
  border: 2px solid #3498db;
  color: #3498db;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: #3498db;
  color: white;
}

/* --- Güven Avantajları --- */
.trust-advantages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 50px 0;
  background-color: white;
}

.advantage-item {
  text-align: center;
  max-width: 200px;
}

.advantage-item i {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 12px;
}

.advantage-item h3 {
  font-size: 1.1rem;
  color: #2c3e50;
}

/* --- Yorumlar --- */
.testimonials {
  padding: 60px 0;
  background-color: #f1f8ff;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #2c3e50;
}

.testimonial-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: left;
}

.testimonial p {
  font-style: italic;
  color: #444;
  margin-bottom: 10px;
}

.testimonial strong {
  color: #2c3e50;
  display: block;
  text-align: right;
}

.btn-text {
  display: inline-block;
  margin-top: 20px;
  color: #3498db;
  font-weight: bold;
}

/* --- İletişim CTA --- */
.contact-cta {
  padding: 60px 0;
  text-align: center;
}

.contact-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.contact-cta p {
  margin-bottom: 25px;
  color: #555;
}

.map-container {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* --- Sabit WhatsApp Butonu --- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform 0.3s;
}

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

/* --- Footer --- */
.footer {
  background-color: #2c3e50;
  color: white;
  padding: 50px 0 20px;
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}

.footer-links a,
.footer-contact a {
  display: block;
  margin: 8px 0;
  color: #bdc3c7;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #3498db;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
  font-size: 0.9rem;
}

/* --- Mobil Uyum --- */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .trust-advantages {
    gap: 15px;
  }

  .advantage-item {
    max-width: 150px;
  }
}