:root {
  --primary: #076633;     /* Site Başlık Rengi */
  --accent: #a8d5ba;
  --bg: #ffffff;          /* Zemin Rengi */
  --text: #222222;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inter, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.navbar {
  background-color: var(--bg);
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 48px;
  width: auto;
}

.menu a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
}

.menu a:hover {
  background-color: var(--primary); /* yeşil arka plan */
  color: var(--white); /* beyaz yazı */
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--text);
  margin: 4px 0;
  transition: 0.3s;
}

/* Mobil görünüm */
@media screen and (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .menu.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

.site-footer {
  background-color: #111;
  color: #ccc;
  padding: 40px 0 20px;
  font-size: 14px;
}

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

.footer-section h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  padding: 0px 10px;
  border: 2px solid transparent;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  border: 2px solid #fff;
  color: #ccc; /* Renk değişmesin */
  background-color: transparent; /* Arkaplan değişmesin */
}


.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 15px;
  text-align: center;
  color: #777;
  font-size: 13px;
}

/* Mobil uyum */
@media screen and (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }

  .footer-section {
    text-align: left;
  }
}

.custom-slider {
  margin: 20px 0;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-images img {
  width: 100%;
  height: auto;
  display: none;
  object-fit: cover;
  border-radius: 20px;
}

.slider-images img.active {
  display: block;
}

/* Kontroller */
.slider-controls {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}

.slider-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.slider-controls button:hover {
  background-color: #ddd;
}

.slider-controls span {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}


.product-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: left;
  transition: all 0.3s ease;
}

.product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.product-model {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #666;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4'lü kolon yapısı */
  gap: 20px;
}

@media screen and (max-width: 991px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr); /* Tablet görünümde 2'li */
  }
}

@media screen and (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr; /* Mobilde tekli */
  }
}

.product-section {
  margin: 20px 0px; /* Üst: 60px, Alt: 100px */
}

.detail-btn {
  display: inline-block;
  color: var(--primary);
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  border: 2px solid transparent;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

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


.section-title {
  text-align: center;         /* Ortalanır */
  font-size: 28px;            /* Daha büyük ve belirgin */
  font-weight: bold;          /* Kalın yazı */
  color: var(--primary);      /* Tema yeşili */
  margin-bottom: 10px;        /* Alt boşluk */
}

.about-section {
  background-color: #fdfdfd;
  margin: 0px 0;
  padding: 20px 0 20px;
}

.about-title {
  text-align: left;
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
}

.about-text {
  color: #444;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

.about-author {
  margin-top: 40px;
  font-weight: bold;
  text-align: right;
  color: #333;
}

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

.contact-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.contact-card {
  flex: 1 1 45%;
  background-color: #f8f8f8;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 20px;
}

.contact-card p {
  font-size: 15px;
  color: #333;
  margin-bottom: 8px;
}

.contact-hours {
  text-align: center;
  margin-top: 20px;
}

.contact-hours h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 10px;
}

.contact-hours p {
  font-size: 16px;
  color: #555;
  margin: 0px 0;
}

/* Mobil görünüm */
@media screen and (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }

  .contact-card {
    flex: 1 1 100%;
  }
}

.page-title {
  margin-top: 20px;
}

.page-title h1 {
  color: var(--primary);
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 700;
}

.contact-map {
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-detail {
  margin: 40px 0;
}

.detail-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.detail-slider {
  flex: 1 1 500px;
}

.thumbnail-wrapper {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  border: 2px solid #ccc;
}

.detail-info {
  flex: 1 1 500px;
}

.detail-info h2 {
  color: var(--primary);
  margin-top: 20px;
  font-size: 20px;
}

.detail-info p, .detail-info ul {
  font-size: 15px;
  color: #444;
}

.detail-info ul {
  padding-left: 20px;
  margin-top: 10px;
}

.video-section .video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.video-section iframe {
  width: 100%;
  max-width: 350px;
  height: 200px;
  border: none;
}

.keyword-section {
  margin: 30px 0;
  font-size: 14px;
  color: #666;
  background: #f8f8f8;
  padding: 15px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .detail-wrapper {
    flex-direction: column;
  }

  .detail-slider, .detail-info {
    width: 100%;
  }

  .page-title h1 {
    text-align: center;
  }

  .video-grid {
    justify-content: center;
  }

}

.etiketler {
  display: flex;
  justify-content: flex;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 16px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  width: fit-content;
}


.etiketler img {
  height: 30px;
  object-fit: contain;
}


.yorumlar-bolumu {
  background-color: #f9f9f9;
  padding: 60px 0;
  margin-top: 40px;
}

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

.yorum-karti {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  font-size: 14px;
  color: #333;
}

.yorum-ikon img {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 16px;
  left: 16px;
}

.yorum-metin {
  padding-left: 32px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.yorum-tarih {
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}

.yorum-model {
  margin-top: 8px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #228B22;
  font-weight: 500;
}

.yorum-model img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

/* Admin & Active Nav */
.menu a.active {
  background-color: var(--primary);
  color: var(--white);
}

/* ── Dropdown Menü ── */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  margin-left: 25px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-toggle:hover,
.dropdown:hover .dropdown-toggle {
  background-color: var(--primary);
  color: var(--white);
}

.dropdown-arrow { font-size: 12px; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 160px;
  list-style: none;
  padding: 6px 0;
  z-index: 999;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: var(--primary);
  color: var(--white);
}

@media screen and (max-width: 768px) {
  .dropdown { display: block; }
  .dropdown-toggle { margin-left: 0; display: block; width: 100%; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary);
    border-radius: 0;
    padding: 0;
    margin-left: 12px;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
}
