/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;600&display=swap');

:root {
  --primary: #5d3c2c;
  --accent: #b57f4d;
  --bg: #fffaf2;
  --text: #2e2e2e;
  --light: #f6f1ea;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 2em 0;
}

/* NAVBAR */
.navbar {
  background: var(--primary);
  color: white;
  padding: 1em 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 1.5em;
  font-weight: bold;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

.navbar ul li a {
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: var(--accent);
}

/* HERO */
.hero-slider {
  position: relative;
  width: 100%;
  height: 500px; /* Slider yüksekliğini büyük tutuyoruz */
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 10px;
}

.slider-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
}

.slide-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45); /* Daha koyu overlay, okunabilirlik için */
  border-radius: 10px;
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 30px;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.slide-content p {
  font-size: 1.25rem;
  line-height: 1.5;
  text-shadow: 0 1px 5px rgba(0,0,0,0.7);
}

/* Butonlar */
.hero-slider button.prev,
.hero-slider button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 2.5rem;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 3;
  transition: background-color 0.3s ease;
  user-select: none;
}

.hero-slider button.prev:hover,
.hero-slider button.next:hover {
  background-color: rgba(0,0,0,0.7);
}

.hero-slider button.prev {
  left: 20px;
}

.hero-slider button.next {
  right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 300px;
  }
  .slide-content h2 {
    font-size: 1.8rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
  .hero-slider button.prev,
  .hero-slider button.next {
    font-size: 1.8rem;
    padding: 8px 12px;
  }
}



/* HAKKIMIZDA */
.hakkimizda {
  background: #fec415;
  text-align: center;
  padding: 4em 0;
}

.hakkimizda p {
  max-width: 700px;
  margin: auto;
  font-size: 1.1em;
  color: #444;
}

/* GRID BÖLÜMLER */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

/* CARD */
/* CARD */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;              /* Eklendi */
  flex-direction: column;     /* Eklendi */
  justify-content: flex-start;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card img {
  max-width: 100%;
  max-height: 300px;
  object-fit: cover; /* contain yerine cover daha iyi görünür */
  border-radius: 8px 8px 0 0;
}

.card h3 {
  font-size: 1.2em;
  margin: 1em;
  color: var(--primary);
}

.card p {
  font-size: 0.95em;
  margin: 0 1em 1em;
  color: #555;
  flex-grow: 1; /* Paragraf kart içinde esneyebilir */
}

.card .btn {
  display: inline-block;
  margin: 0 1em 1em 1em;
  align-self: flex-start; /* Buton kart içinde taşmayı önler */
  padding: 0.8em 1.5em;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .card img {
    max-height: 180px;
  }
}


.card h3 {
  font-size: 1.2em;
  margin: 1em;
  color: var(--primary);
}

.card p {
  font-size: 0.95em;
  margin: 0 1em 1em;
  color: #555;
}

/* İSTATİSTİKLER */
.istatistikler {
  background: #fec415;
  color: white;
  padding: 4em 0;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 3em;
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 120px;
}

.stat h3 {
  font-size: 2.5em;
  color: var(--primary);
  margin-bottom: 0.2em;
}

.stat p {
  font-size: 1em;
  font-weight: 600;
}

/* FOOTER */
.footer {
  background: var(--light);
  text-align: center;
  padding: 2em 0;
  font-size: 0.9em;
  color: #666;
  margin-top: 2em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    background: var(--primary);
    display: none;
  }

  .hero h2 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .stats-grid {
    flex-direction: column;
    gap: 1.5em;
  }
}
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
}

.logo {
  font-size: 1.6em;
  font-family: 'DM Serif Display', serif;
  color: var(--primary);
  font-weight: bold;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2em;
}

.main-nav ul li a {
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.main-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.main-nav ul li a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
  }

  .nav-container {
    flex-direction: column;
  }
}
/* Hamburger buton */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    z-index: 999; /* EKLENDİ */
  }

  .main-nav.open {
    transform: scaleY(1);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1em;
    padding: 1em 0;
    align-items: center;
  }

  .nav-container {
    flex-direction: column;
  }
}

.action-buttons {
  padding: 3em 0;
  text-align: center;
}

.buttons-grid {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

.btn {
  padding: 1em 2em;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1em;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent);
}

.btn-secondary {
  background-color: #8a7e66;
  color: white;
}

.btn-secondary:hover {
  background-color: #a4916e;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background-color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .buttons-grid {
    flex-direction: column;
    gap: 1em;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-form label {
  font-weight: 600;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75em 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
}
