/* Genel Stil Ayarları */
:root {
  --primary-color: #28a745; /* Yeşil tonu */
  --secondary-color: #218838; /* Daha koyu yeşil */
  --accent-color: #ffc107; /* Sarımsı vurgu */
  --text-color: #333;
  --light-text-color: #666;
  --bg-light: #f8f9fa;
  --bg-dark: #343a40;
  --white: #fff;
  --border-color: #ddd;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

* {
  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);
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color);
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color var(--transition-speed) ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  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;
}

.text-center {
  text-align: center;
}

.bg-light {
  background-color: var(--bg-light);
}

/* Header */
.header {
  background-color: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 5px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo h1 {
  margin: 0;
  font-size: 1.8em;
  color: var(--primary-color);
}

.header .nav ul {
  display: flex;
  gap: 30px;
}

.header .nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.header .nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.header .nav ul li a:hover::after,
.header .nav ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/assets/img/banner.jpeg?height=800&width=1920")
    no-repeat center center / cover;
  color: var(--white);
  text-align: center;
  padding: 150px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.hero-content {
  max-width: 800px;
  animation: fadeInScale 1s ease-out forwards;
}

.hero-content h2 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--white);
  opacity: 0.9;
}

.hero-content .btn {
  font-size: 1.1em;
  padding: 15px 35px;
}

/* Page Hero Section (for inner pages) */
.page-hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("/placeholder.svg?height=400&width=1920")
    no-repeat center center / cover;
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-section h2 {
  font-size: 3em;
  margin-bottom: 15px;
  color: var(--white);
}

.page-hero-section p {
  font-size: 1.1em;
  color: var(--white);
  opacity: 0.9;
}

/* About Us Preview Section */
.about-us-preview .about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-us-preview .about-text {
  flex: 1;
}

.about-us-preview .about-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.about-us-preview .about-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-us-preview .about-image {
  flex: 1;
  text-align: center;
}

.about-us-preview .about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease;
}

.about-us-preview .about-image img:hover {
  transform: translateY(-5px);
}

/* Services Preview Section */
.services-preview .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
  margin-bottom: 50px;
}

.services-preview .service-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-preview .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.services-preview .service-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.services-preview .service-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.services-preview .service-item p {
  color: var(--light-text-color);
}

/* Testimonials Section */
.testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonials .testimonial-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-light);
  font-style: italic;
  position: relative;
  transition: transform 0.3s ease;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-5px);
}

.testimonials .testimonial-item::before {
  content: "“";
  font-size: 4em;
  color: var(--primary-color);
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.2;
  line-height: 1;
}

.testimonials .testimonial-item p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--light-text-color);
}

.testimonials .testimonial-item .customer-name {
  font-weight: bold;
  text-align: right;
  color: var(--text-color);
  font-style: normal;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 60px 0 20px;
  font-size: 0.95em;
}

.footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer .footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.3em;
}

.footer .footer-section p,
.footer .footer-section ul li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.footer .footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.footer .footer-section ul li a:hover {
  color: var(--white);
}

.footer .footer-section.contact p i {
  margin-right: 10px;
  color: var(--accent-color);
}

.footer .footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hizmetler Detay Sayfası */
.services-detail .service-item-detail {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  padding: 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-light);
}

.services-detail .service-item-detail.reverse {
  flex-direction: row-reverse;
}

.services-detail .service-item-detail img {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.services-detail .service-item-detail .service-text {
  flex-grow: 1;
}

.services-detail .service-item-detail h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.services-detail .service-item-detail p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
}

.services-detail .service-item-detail ul {
  list-style: none;
  padding-left: 0;
}

.services-detail .service-item-detail ul li {
  margin-bottom: 8px;
  color: var(--light-text-color);
  display: flex;
  align-items: center;
}

.services-detail .service-item-detail ul li i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* Galeri Sayfası */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-light);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(40, 167, 69, 0.7); /* Primary color with transparency */
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Hakkımızda Sayfası */
.about-detail .about-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  padding: 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-light);
}

.about-detail .about-content-block.reverse {
  flex-direction: row-reverse;
}

.about-detail .about-content-block img {
  flex-shrink: 0;
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-detail .about-content-block .text-content {
  flex-grow: 1;
}

.about-detail .about-content-block h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.about-detail .about-content-block p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-detail .about-content-block ul {
  list-style: none;
  padding-left: 0;
}

.about-detail .about-content-block ul li {
  margin-bottom: 8px;
  color: var(--light-text-color);
  display: flex;
  align-items: flex-start;
}

.about-detail .about-content-block ul li i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.2em;
  margin-top: 3px;
}

.why-choose-us {
  margin-top: 80px;
  text-align: center;
}

.why-choose-us .reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.why-choose-us .reason-item {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us .reason-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.why-choose-us .reason-item i {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.why-choose-us .reason-item h3 {
  font-size: 1.5em;
  color: var(--text-color);
  margin-bottom: 10px;
}

.why-choose-us .reason-item p {
  color: var(--light-text-color);
}

/* İletişim Sayfası */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info,
.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-light);
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: var(--light-text-color);
}

.contact-info p i {
  margin-right: 15px;
  color: var(--accent-color);
  font-size: 1.2em;
  margin-top: 3px;
}

.contact-info ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.contact-info ul li {
  margin-bottom: 5px;
  color: var(--light-text-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.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 var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: auto;
  padding: 12px 30px;
  font-size: 1.1em;
}

.map-container {
  margin-top: 60px;
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-light);
  text-align: center;
}

.map-container h3 {
  margin-bottom: 30px;
  font-size: 2em;
  color: var(--primary-color);
}

.map-container iframe {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container .map-note {
  margin-top: 20px;
  font-style: italic;
  color: var(--light-text-color);
}

/* Animasyonlar */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Tasarım */
@media (max-width: 992px) {
  .header .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px var(--shadow-light);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
  }

  .header .nav.active {
    display: flex;
  }

  .header .nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .header .nav ul li a {
    padding: 10px 0;
    display: block;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h2 {
    font-size: 2.8em;
  }

  .hero-content p {
    font-size: 1.1em;
  }

  .about-us-preview .about-content,
  .services-detail .service-item-detail,
  .about-detail .about-content-block {
    flex-direction: column;
    text-align: center;
  }

  .services-detail .service-item-detail.reverse {
    flex-direction: column; /* Reset for mobile */
  }

  .about-us-preview .about-image,
  .services-detail .service-item-detail img,
  .about-detail .about-content-block img {
    width: 100%;
    max-width: 500px; /* Limit image size on smaller screens */
    margin-bottom: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }

  .hero-section {
    padding: 100px 0;
    min-height: 500px;
  }

  .hero-content h2 {
    font-size: 2.2em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .page-hero-section {
    padding: 80px 0;
    min-height: 250px;
  }

  .page-hero-section h2 {
    font-size: 2.5em;
  }

  .services-preview .service-grid,
  .testimonials .testimonial-grid,
  .image-gallery,
  .why-choose-us .reason-grid,
  .footer .footer-content {
    grid-template-columns: 1fr;
  }

  .footer .footer-section {
    text-align: center;
  }

  .footer .footer-section ul {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .header .logo h1 {
    font-size: 1.5em;
  }

  .hero-content h2 {
    font-size: 1.8em;
  }

  .hero-content .btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  .section-title {
    font-size: 1.8em;
  }

  .services-detail .service-item-detail img,
  .about-detail .about-content-block img {
    width: 100%;
    height: auto;
  }

  .contact-info,
  .contact-form {
    padding: 30px 20px;
  }
}
