:root {
  --green: #74b124;
  --dark: #222;
  --light: #f8f8f8;
  --accent: #f4c542;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

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

/* NAVBAR */
.navbar {
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  color: var(--green);
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--green);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--green);
}

/* SIDEBAR (Mobile Menu) */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  transition: right 0.3s ease;
  z-index: 2000;
}

.sidebar.active {
  right: 0;
}

.sidebar a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  margin: 15px 0;
  transition: color 0.3s;
}

.sidebar a:hover {
  color: var(--green);
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark);
  align-self: flex-end;
  margin-bottom: 20px;
}

/* HERO (Background Slider) */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  animation: fadeInUp 1.2s ease;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn {
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--green);
}

/* HERO SLIDER CONTROLS */
.hero-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
}

.hero-controls span {
  cursor: pointer;
  font-size: 2.2rem;
  color: white;
  background: rgba(0,0,0,0.4);
  padding: 10px 15px;
  border-radius: 50%;
  transition: background 0.3s;
}

.hero-controls span:hover {
  background: rgba(0,0,0,0.7);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.hero-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dots .dot.active {
  background: var(--green);
}

/* NEDEN BİZ */
.nedenbiz {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.nedenbiz h2 {
  color: var(--green);
  font-size: 2rem;
  margin-bottom: 15px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

.feature {
  background: var(--light);
  padding: 15px 25px;
  border-radius: 15px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature i {
  color: var(--green);
  margin-right: 8px;
}

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

/* ÜRÜNLER */
.urunler {
  padding: 70px 0;
  background: var(--light);
  text-align: center;
}

.urunler h2 {
  color: var(--green);
  margin-bottom: 40px;
  font-size: 2.2rem;
}

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

.urun {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.urun img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
  object-fit: cover;
  height: 200px;
}

.urun h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.urun p {
  font-weight: 700;
  color: var(--green);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* BUTON */
.btn {
  background: var(--green);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}

.btn:hover {
  background: #5c7a14;
  transform: scale(1.05);
}

/* HAKKIMIZDA */
.hakkimizda {
  padding: 60px 0;
  background: white;
  text-align: center;
}

.hakkimizda h2 {
  color: var(--green);
  margin-bottom: 20px;
  font-size: 2rem;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 40px 0;
  margin-top: 50px;
}

.footer h3 {
  margin-bottom: 15px;
  color: var(--accent);
}

.footer p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.footer .socials {
  margin: 15px 0;
}

.footer .socials a {
  color: white;
  margin: 0 10px;
  font-size: 1.3rem;
  transition: color 0.3s;
}

.footer .socials a:hover {
  color: var(--accent);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
