/* --- TEMEL AYARLAR & FONT --- */
:root {
  --primary-green: #036635;
  --dark-green: #024222;
  --gold: #c9a66b;
  --cream: #f9f7f2;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- EN ÜSTTEKİ TEMEL AYARLAR KISMINI BÖYLE GÜNCELLE --- */

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Yatay kaydırmayı engeller */
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden; /* Yatay taşmayı kesinlikle gizle */
  width: 100%;
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* --- NAVBAR --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 4%;
  position: fixed;
  top: 0;
  left: 0; /* Sola yapıştır */
  right: 0; /* Sağa yapıştır */
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.logo {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0 auto;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-green);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.basket-btn {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(3, 102, 53, 0.2);
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.basket-btn:hover {
  transform: translateY(-2px);
  background: var(--dark-green);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  margin-left: 15px;
}

/* --- HERO SLIDER --- */
.hero-slider {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: none;
}

.slide.active {
  display: block;
  animation: fadeIn 1s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  max-width: 600px;
  z-index: 10;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-btn {
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.hero-btn:hover {
  background: #b08d55;
  letter-spacing: 2px;
}

/* --- GENEL BÖLÜM STİLLERİ --- */
.section-padding {
  padding: 6rem 10%;
}

.bg-cream {
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.sub-title {
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.8rem;
  color: var(--primary-green);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 15px auto 0;
}

/* --- KARTLAR & GRID --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}

.card-3d {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.card-3d:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-3d.minimal {
  color: var(--text-light);
  text-align: left;
  padding: 2rem;
}

.card-3d.minimal h4 {
  color: #036635;
  margin-top: 2rem;
}

.card-3d.minimal .price {
  color: #555555;
  font-weight: bold;
}

.card-3d:hover .minimal-img img {
  transform: scale(1.1);
}

.img-box {
  height: 400px;
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.minimal-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}

.minimal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.content-box {
  padding: 2rem;
}

.content-box h3 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.content-box p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* --- HAKKIMIZDA --- */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-img {
  flex: 1;
  position: relative;
}

.about-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 2rem;
  color: #555;
}

.signature {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-style: italic;
}

/* --- SPLIT SECTION --- */
.split-section {
  display: flex;
}

.split-img,
.split-text {
  flex: 1;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text {
  background: var(--primary-green);
  color: white;
  padding: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-text h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.split-text .sub-title {
  color: rgba(255, 255, 255, 0.7);
}

.split-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

/* --- FOOTER (GÜNCELLENMİŞ) --- */
.modern-footer {
  background: #1a1a1a;
  color: white;
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  /* ÖNEMLİ DÜZELTME: 3 sütun yerine 2 sütun (1fr 1fr) yapıldı */
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 4rem;
  max-width: 1000px;
  margin: 0 auto; /* Sayfanın ortasına hizalar */
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-col h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.footer-col h4 {
  margin-bottom: 1.5rem;
}

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.socials a:hover {
  background: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #888;
}

/* --- MODAL --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal-glass {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid white;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #aaa;
}

.input-group {
  position: relative;
  margin-bottom: 1.2rem;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-green);
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  outline: none;
  transition: 0.3s;
}

.input-group input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(3, 102, 53, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.submit-btn:hover {
  background: var(--dark-green);
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 3000;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.tooltip {
  position: absolute;
  right: 70px;
  background: white;
  color: #333;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  white-space: nowrap;
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
  right: 80px;
}

/* ==================================================
   RESPONSIVE (MOBİL VE TABLET) AYARLARI
   (Tüm kural dışı ve tekrar eden kodlar birleştirildi)
================================================== */

/* 1. TV ve BÜYÜK EKRANLAR (1600px+) */
@media (min-width: 1601px) {
  html {
    font-size: 20px;
  }
  .container {
    max-width: 1400px;
    margin: 0 auto;
  }
  .hero-content h1 {
    font-size: 5rem;
  }
}

/* 2. LAPTOP EKRANLARI (1200px altı) */
@media (max-width: 1200px) {
  .navbar {
    padding: 0.8rem 2%;
  }
  .nav-links {
    gap: 1rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
}

/* 3. TABLET VE MOBİL (1024px altı) */
@media (max-width: 1024px) {
  /* Navbar & Menü */
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
  .basket-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .basket-btn span {
    display: none;
  } /* "Sipariş Ver" yazısını gizler */
  .hamburger {
    display: block;
  }

  /* Genel Layout */
  .about-wrapper,
  .split-section {
    flex-direction: column;
  }
  .split-text {
    padding: 3rem 2rem;
  }

  /* Footer: Mobilde tek sütun olsun, masaüstünde 2 */
  .footer-grid {
    grid-template-columns: 1fr; /* Mobilde tek sütun */
    gap: 3rem;
  }

  /* Açılan Mobil Menü */
  .nav-links.nav-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 70px;
    height: calc(100vh - 70px);
    background-color: var(--white);
    width: 60%;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  .nav-links.nav-active li {
    margin: 1.5rem 0;
  }
}

/* 4. TELEFON (768px altı) */
@media (max-width: 768px) {
  .hero-content {
    left: 5%;
    width: 90%;
  }
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .hero-content p {
    font-size: 1rem;
  }

  .section-padding {
    padding: 4rem 5%;
  }
  .section-title {
    font-size: 2rem;
  }
  .split-text {
    padding: 3rem 1.5rem;
  }

  .modal-glass {
    width: 95%;
    padding: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Link Animasyonu */
  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}
