@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Mobilde sağa sola kaymayı (taşmayı) kesin olarak engeller */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

:root {
  /* Siyaha Kaçan Koyu Zümrüt Yeşili Tema */
  --p1:          #F0FDF4; /* En açık yeşil / arka planlar için */
  --p2:          #D1FAE5; 
  --p3:          #34D399; 
  --p4:          #059669; /* Zümrüt */
  --p5:          #064E3B; /* Koyu Zümrüt */
  --p6:          #022C22; /* SİYAH-YEŞİL (Müşterinin İstediği Ana Renk) */
  --bg:          #F9FAFB; /* Sayfa genel zemini (Çok uçuk gri/beyaz) */
  --white:       #FFFFFF;
  --text-dark:   #022C22; 
  --text-mid:    #064E3B;
  --text-light:  #4B5563; 

  /* Glassmorphism & Gölgeler */
  --shadow:      0 8px 24px rgba(2, 44, 34, 0.08);
  --shadow-lg:   0 20px 50px rgba(2, 44, 34, 0.15);
  --glass-blur:  blur(12px);
  
  /* Alt sayfalar için uyumluluk değişkenleri */
  --primary:     #022C22;
  --accent:      #059669;
  --dusty-rose:  #064E3B; 
  --soft-bg:     #F0FDF4;
  --light:       #D1FAE5;
  --dark:        #022C22;
}

body { font-family: 'Poppins', sans-serif; line-height: 1.7; color: var(--text-dark); background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Kurumsal, Düz ve Modern Başlıklar */
h1, h2, h3, h4, h5, h6, .logo, .hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--p6);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(2, 44, 34, 0.1);
  position: sticky; top: 0; z-index: 1000;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 2rem; font-weight: 800; color: var(--p6); text-decoration: none; letter-spacing: -0.5px;}
.logo i { color: var(--p4); font-size: 1.6rem; }

.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--text-mid); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; transition: color 0.3s; position: relative; padding-bottom: 6px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--p6); transition: width 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--p6); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--p6); transition: 0.3s; }

/* =========================================
   HERO SECTION (Beyaz Kart & Siyah-Yeşil Arka Plan)
   ========================================= */
.hero {
  min-height: 90vh; 
  display: flex; align-items: center; justify-content: center;
  /* Arka plan müşterinin istediği siyaha kaçan koyu yeşil */
  background: linear-gradient(135deg, #064E3B 0%, #022C22 100%);
  position: relative; overflow: hidden; text-align: center; padding: 60px 20px;
}

.hero-content {
  position: relative; z-index: 2; max-width: 800px; width: 100%;
  animation: fadeInUp 1s ease;
  background: var(--white);
  border-radius: 36px; 
  padding: 60px 50px;
  box-shadow: var(--shadow-lg);
}

.hero-badge { 
  display: inline-block; 
  background: var(--p1); 
  color: var(--p6); 
  padding: 8px 24px; 
  border-radius: 50px; 
  font-family: 'Montserrat', sans-serif;
  font-size: 0.80rem; 
  letter-spacing: 1.5px; 
  font-weight: 700; 
  margin-bottom: 1.5rem; 
  text-transform: uppercase; 
  border: 1px solid var(--p2);
}

.hero-title { 
  font-size: 4rem; 
  color: var(--p6); 
  line-height: 1.1; 
  margin-bottom: 1rem; 
  letter-spacing: -1px;
}

.hero-subtitle { 
  font-size: 1.2rem; 
  color: var(--text-mid); 
  margin-bottom: 1rem; 
  font-weight: 500;
}

.hero-tagline { 
  font-size: 0.95rem; 
  color: var(--text-light); 
  margin: 0 auto 2.5rem; 
  line-height: 1.8; 
  max-width: 600px; 
}

/* Hap Şeklinde Özellikler */
.hero-features { 
  display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 2rem; 
}
.hero-features span { 
  background: transparent; 
  color: var(--p6); 
  padding: 10px 24px; 
  border-radius: 50px; 
  font-size: 0.9rem; 
  font-weight: 600; 
  border: 2px solid var(--p2); 
  display: flex; align-items: center; gap: 8px;
}
.hero-features i { color: var(--p4); font-size: 1.1rem; }

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem;}

/* Premium Oval Butonlar */
.btn, .btn-order, .btn-detail { 
  padding: 14px 36px; text-decoration: none; border-radius: 50px; 
  font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; 
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
  font-family: 'Montserrat', sans-serif; text-transform: uppercase;
  border: none; cursor: pointer;
}
.btn-primary, .btn-order, .btn-detail { 
  background: var(--p6); color: var(--white); box-shadow: 0 6px 20px rgba(2, 44, 34, 0.25); 
}
.btn-primary:hover, .btn-order:hover, .btn-detail:hover { 
  background: var(--p5); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(2, 44, 34, 0.4); 
}
.btn-secondary { background: var(--white); color: var(--p6); border: 2px solid var(--p6); }
.btn-secondary:hover { background: var(--p1); transform: translateY(-3px); }

/* Uçuşan İkonlar (Koyu zeminde görünmesi için beyaz parlama efekti eklendi) */
.floating-flowers { position: absolute; width:100%; height:100%; top:0; left:0; pointer-events:none; z-index:1; }
.flower { position: absolute; animation: floatFloat 6s ease-in-out infinite alternate; user-select: none; filter: drop-shadow(0 0 8px rgba(255,255,255,0.15)); }
.f1 { top: 15%; left: 12%; font-size: 2.5rem; }
.f2 { bottom: 20%; right: 10%; font-size: 2.2rem; animation-delay: 2s;}
.f3 { top: 20%; right: 18%; font-size: 1.5rem; opacity: 0.7; animation-delay: 1s;}
.f4 { bottom: 25%; left: 15%; font-size: 1.8rem; opacity: 0.5; animation-delay: 3s;}

@keyframes floatFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(10deg); }
}
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

/* Stats */
.stats-section { background: var(--white); padding: 50px 0; border-bottom: 1px solid var(--p2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat-item { padding: 18px; background: var(--p1); border-radius: 20px; border: 1px solid var(--p2); }
.stat-number { display: block; font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--p6); line-height: 1.2; }
.stat-label { font-size: 0.9rem; color: var(--text-mid); font-weight: 600; text-transform: uppercase;}

/* Sections */
.section-title { font-size: 2.8rem; text-align: center; margin-bottom: 0.5rem; color: var(--p6); }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 3rem; font-size: 1rem; }

/* Featured Products (Kart Tasarımı) */
.featured-products { padding: 100px 0; background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.product-card { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.35s ease; border: 1px solid var(--p2); display: flex; flex-direction: column;}
.product-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: var(--p4); }
.product-image { position: relative; height: 280px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.product-card:hover .product-image img { transform: scale(1.10); }
.badge { position: absolute; top: 12px; right: 12px; background: var(--p6); color: var(--white); padding: 6px 18px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.product-info { padding: 26px 22px; text-align: center; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between;}
.product-info h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--p6); }
.product-info p { color: var(--text-light); margin-bottom: 18px; font-size: 0.9rem; }

/* Butonlar için %100 genişlik ve margin (Kartların altı için) */
.btn-order, .btn-detail { width: 100%; margin-top: auto; }

/* Services */
.services { padding: 100px 0; background: var(--p1); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.service-card { text-align: center; padding: 40px 28px; background: var(--white); border-radius: 24px; box-shadow: var(--shadow); transition: all 0.3s ease; border: 1px solid var(--p2); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--p4); }
.service-icon { width: 80px; height: 80px; background: var(--p1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 1px solid var(--p2); }
.service-icon i { font-size: 2rem; color: var(--p6); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--p6); }

/* Footer */
.footer { background: var(--p6); color: var(--white); padding: 60px 0 22px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2.5rem; margin-bottom: 38px; }
.footer-section h3 { font-size: 2rem; margin-bottom: 12px; color: var(--p3); }
.footer-section h4 { font-size: 1rem; margin-bottom: 16px; color: var(--p2); text-transform: uppercase; }
.footer-section p { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-bottom: 10px; display: flex; align-items: flex-start; gap: 9px; }
.footer-section a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-section a:hover { color: var(--p3); }
.footer-section ul { list-style: none; } .footer-section ul li { margin-bottom: 10px; font-size: 0.9rem; }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); transition: 0.3s; }
.social-links a:hover { background: var(--p4); }
.footer-bottom { text-align: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* Page Header (Alt Sayfalar İçin) */
.page-header { background: linear-gradient(135deg, #064E3B 0%, #022C22 100%); padding: 100px 0 60px; text-align: center; border-radius: 0 0 40px 40px; margin-bottom: 40px; }
.page-header h1 { font-size: 3.5rem; color: var(--white); margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* WP Sabit Buton */
.whatsapp-fixed { position: fixed; bottom: 28px; right: 28px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.8rem; box-shadow: 0 6px 24px rgba(37,211,102,0.4); z-index: 9999; text-decoration: none; transition: 0.3s; }
.whatsapp-fixed:hover { transform: scale(1.1); }

/* ==============================================================
   MÜKEMMEL MOBİL UYUMLULUK
   ============================================================== */
@media (max-width: 768px) {
  .nav-links { 
    display: none; flex-direction: column; position: absolute; 
    top: 65px; left: 0; right: 0; background: var(--white); 
    padding: 20px 24px; border-bottom: 1px solid var(--p2); box-shadow: var(--shadow); 
  }
  .nav-links.active { display: flex; } 
  .hamburger { display: flex; }
  
  .hero-content { padding: 40px 20px; } 
  .hero-title { font-size: 2.8rem; } 
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  
  .hero { padding: 40px 10px; }
  .hero-content { padding: 30px 15px; border-radius: 24px; }
  .hero-badge { font-size: 0.7rem; padding: 6px 12px; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-tagline { font-size: 0.85rem; padding: 0 10px; }
  
  .hero-features { gap: 8px; }
  .hero-features span { font-size: 0.75rem; padding: 8px 12px; width: 100%; justify-content: center; }
  
  .hero-buttons { flex-direction: column; width: 100%; gap: 10px; }
  .btn { width: 100%; justify-content: center; padding: 14px 20px; }

  .stats-section { padding: 30px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-item { padding: 15px 10px; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.75rem; word-break: break-word; line-height: 1.4; display: block; }

  .section-title { font-size: 2rem; }
  .product-image { height: 240px; }
  .product-grid { gap: 1.5rem; }
  .page-header h1 { font-size: 2.5rem; }
}