/* Genel Ayarlar */
:root {
  --primary-color: #ffa500; /* Turuncu */
  --secondary-color: #1e90ff; /* Mavi */
  --white-color: #ffffff;
  --light-gray: #f8f8f8;
  --dark-gray: #333;
  --text-color: #555;
  --heading-color: #333;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: var(--heading-color);
  margin-bottom: 15px;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Butonlar */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.btn-primary:hover {
  background-color: #e69500; /* Biraz daha koyu turuncu */
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.btn-secondary:hover {
  background-color: #1a7ad9; /* Biraz daha koyu mavi */
  transform: translateY(-2px);
}

/* Header */

.menu-toggle {
    display: none;

  align-items: center;
  gap: 8px;
  background: none;
  border: 1px #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 12px;
  color: #fff; /* Menü yazısı beyaz */
}
.menu-toggle .menu-text {
  font-weight: 500;
  color: #fff; /* Menü yazısı beyaz */
}
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.hamburger-icon .bar {
  width: 20px;
  height: 2px;
  background-color: #fff; /* Çizgiler beyaz */
  border-radius: 1px;
}
.menu-toggle:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}
.menu-toggle .bar {
  display: block;
  width: 15px;
  height: 2px;
  background: #ffffff;
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0.85;
}

.header {
  background-color: var(--dark-gray);
  color: var(--white-color);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.header .logo {
  display: flex;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
}

.header .logo i {
  margin-right: 10px;
  color: var(--primary-color);
}

.header .logo h1 {
  color: var(--white-color);
  margin-bottom: 0;
}

.header .nav ul {
  display: flex;
  flex-wrap: wrap; /* Yeni öğeler için ekledim */
  justify-content: center; /* Yeni öğeler için ekledim */
}

.header .nav ul li {
  margin-left: 30px;
}

.header .nav ul li a {
  color: var(--white-color);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.header .nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.header .nav ul li a:hover::after,
.header .nav ul li a.active::after {
  width: 100%;
}

/* Hero Section */
 /*/ background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("/assets/img/4.jpg?height=800&width=1920")
    no-repeat center center / cover;*/
.hero {
background-color:#000000;
  color: var(--white-color);
  text-align: center;
  padding: 150px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.hero-content {
  max-width: 800px;
}

.hero-content h2 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--white-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Page Hero (Diğer Sayfalar İçin) */
.page-hero {
  background-color: var(--secondary-color);
  color: var(--white-color);
  text-align: center;
  padding: 100px 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h2 {
  font-size: 3em;
  color: var(--white-color);
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
}

.services-hero {
  background-image: url("/placeholder.svg?height=400&width=1200");
}

.why-us-hero {
  background-image: url("/placeholder.svg?height=400&width=1200");
}

.contact-hero {
  background-image: url("/placeholder.svg?height=400&width=1200");
}

.gallery-hero {
  background-image: url("/placeholder.svg?height=400&width=1200");
}

.districts-hero {
  background-image: url("/placeholder.svg?height=400&width=1200");
}

/* About Us Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* Responsive için ekledim */
  justify-content: center; /* Responsive için ekledim */
}

.about-text {
  flex: 1;
  min-width: 300px; /* Responsive için ekledim */
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.about-text ul {
  list-style: none;
  margin-top: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--dark-gray);
}

.about-text ul li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.about-image {
  flex: 1;
  text-align: center;
  min-width: 300px; /* Responsive için ekledim */
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-item {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.feature-item .icon-large {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.feature-item p {
  font-size: 1em;
  color: var(--text-color);
}

/* CTA Section */
.cta {
  background-color: var(--primary-color);
  color: var(--white-color);
  text-align: center;
  padding: 60px 0;
}

.cta-content h2 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--white-color);
}

.cta-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  border: 2px solid var(--white-color);
  color: var(--white-color);
  background-color: transparent;
}

.cta .btn:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Services List Section */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.service-item .icon-large {
  font-size: 3.5em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-item p {
  font-size: 1em;
  margin-bottom: 20px;
}

.service-item ul {
  text-align: left;
  padding-left: 20px;
}

.service-item ul li {
  margin-bottom: 8px;
  font-size: 0.95em;
  color: var(--dark-gray);
}

.service-item ul li i {
  color: var(--primary-color);
  margin-right: 8px;
}

/* Advantages Section (Neden Biz?) */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.advantage-item {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.advantage-item .icon-large {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.advantage-item h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.advantage-item p {
  font-size: 1em;
  color: var(--text-color);
}

/* Testimonials Section */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-item {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}

.testimonial-item::before {
  content: "\f10d"; /* Font Awesome quote-left icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
  color: var(--primary-color);
  position: absolute;
  top: 15px;
  left: 20px;
  opacity: 0.2;
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--dark-gray);
}

.testimonial-item h4 {
  font-size: 1.2em;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.testimonial-item span {
  font-size: 0.9em;
  color: var(--text-color);
}

/* Mission Vision Section */
.mv-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.mv-item {
  flex: 1;
  min-width: 400px;
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.mv-item h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.mv-item h3 i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.mv-item p {
  font-size: 1.1em;
  line-height: 1.7;
}

/* Contact Info Section */
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.contact-detail-item {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-detail-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.contact-detail-item .icon-large {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-detail-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.contact-detail-item p {
  font-size: 1em;
  color: var(--text-color);
}

/* Contact Form Section */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--white-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--dark-gray);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  color: var(--text-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  margin-top: 10px;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  display: none; /* Başlangıçta gizli */
}

/* Map Section */
.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  border-radius: 10px;
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white-color);
  padding: 60px 0 20px;
  font-size: 0.95em;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.4em;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section.links ul li {
  margin-bottom: 10px;
}

.footer-section.links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section.links ul li a:hover {
  color: var(--primary-color);
}

.footer-section.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-section.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.1em;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Galeri Sayfası Stilleri */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 250px; /* Sabit yükseklik */
  object-fit: cover; /* Resmin oranını koruyarak doldur */
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white-color);
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-align: center;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.gallery-item .overlay p {
  margin: 0;
  font-weight: bold;
}

/* İlçeler Sayfası Stilleri */
.section-description {
  text-align: center;
  max-width: 800px;
  margin: -40px auto 60px auto; /* Başlık ile grid arasına boşluk */
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--dark-gray);
}

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

.district-item {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  cursor: pointer; /* Tıklanabilir olduğunu belirtmek için */
  display: block; /* A etiketi blok element gibi davranmalı */
  color: inherit; /* Link rengini sıfırla */
}

.district-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.district-item .icon-small {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.district-item h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.district-item p {
  font-size: 0.95em;
  color: var(--text-color);
}

.district-details-container {
  margin-top: 60px;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

.district-detail-content {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  display: none; /* Başlangıçta gizli */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-align: center;
}

.district-detail-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.district-detail-content h3 {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.district-detail-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.district-detail-content ul {
  list-style: none;
  margin-top: 20px;
  padding-left: 0;
}

.district-detail-content ul li {
  margin-bottom: 10px;
  font-size: 1em;
  color: var(--dark-gray);
}

.district-detail-content ul li i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }
  .header .container {
    position: relative;
  }

  /* Varsayılan: kapalı */
  .header .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    background: rgba(51, 51, 51, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1001;
  }
  .header .nav.open {
    display: block;
  }

  .header .nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .header .nav ul li {
    margin-left: 0;
  }
  .header .nav ul li a {
    display: block;
    padding: 12px 16px;
    color: #fff;
  }
  .header .nav ul li a:hover::after,
  .header .nav ul li a.active::after {
    width: 100%;
    background-color: var(--primary-color);
  }
}

@media (max-width: 992px) {
  .header .nav ul li {
    margin-left: 20px;
  }

  .hero-content h2 {
    font-size: 2.8em;
  }

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

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    margin-top: 30px;
  }

  .mv-item {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    text-align: center;
  }

  .header .logo {
    margin-bottom: 20px;
  }

  .header .nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .header .nav ul li {
    margin-left: 0;
  }

  .hero {
    padding: 100px 0;
  }

  .hero-content h2 {
    font-size: 2.2em;
  }

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

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }

  .feature-grid,
  .service-grid,
  .advantage-grid,
  .testimonial-grid,
  .contact-details-grid,
  .image-grid,
  .district-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    min-width: unset;
  }

  .footer-section.contact-info p {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header .logo h1 {
    font-size: 1.5em;
  }

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

  .hero-content p {
    font-size: 0.9em;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .section-title {
    font-size: 1.8em;
  }

  .contact-form {
    padding: 20px;
  }
}
