/* ==================== Global Styles ==================== */
:root {
  --primary-green: #43a047;
  --primary-pink: #e91e63;
  --dark-green: #2d7a31;
  --light-green: #c8f7dc;
  --light-pink: #ffd7d7;
  --text-dark: #333;
  --text-light: #666;
  --border-color: #e0e0e0;
  --bg-light: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-green);
}

img {
  max-width: 100%;
  height: auto;
}

/* ==================== Top Bar ==================== */
.top-bar {
  background: var(--bg-light);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
}

.top-links a {
  margin-right: 20px;
  color: var(--text-light);
}

.top-links a:hover {
  color: var(--primary-green);
}

.top-info span {
  color: var(--text-light);
}

/* ==================== Main Header ==================== */
.main-header {
  padding: 20px 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 50px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
}

.search-form .form-control {
  border: 2px solid var(--border-color);
  border-right: none;
  padding: 12px 15px;
  font-size: 14px;
}

.search-form .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: none;
}

.btn-search {
  background: var(--primary-green);
  color: white;
  border: 2px solid var(--primary-green);
  padding: 12px 25px;
}

.btn-search:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  font-weight: 500;
}

.action-link i {
  font-size: 20px;
}

.cart-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary-pink);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

/* ==================== Mobile Menu Toggle ==================== */
.mobile-menu-toggle {
  background: var(--primary-green);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

/* ==================== Navigation (Desktop) ==================== */
.main-nav {
  background: var(--primary-green);
  padding: 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.desktop-menu {
  display: flex !important;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  display: block;
  padding: 15px 20px;
  color: white;
  font-weight: 500;
  font-size: 14px;
}

.nav-menu li a:hover {
  background: var(--dark-green);
  color: white;
}

/* ==================== DROPDOWN DÜZELTMESİ ==================== */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
  padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  padding: 12px 20px;
  color: var(--text-dark) !important;
  display: block;
  border-bottom: 1px solid var(--border-color);
  background: white;
  font-weight: 400;
}

.dropdown-menu a:hover {
  background: var(--light-green) !important;
  color: var(--primary-green) !important;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

/* ==================== Mobile Menu ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  background: var(--primary-green);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-header h5 {
  margin: 0;
  font-size: 18px;
}

.close-mobile-menu {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-list li a {
  display: block;
  padding: 15px 20px;
  color: var(--text-dark);
  font-weight: 500;
}

.mobile-menu-list li a i {
  margin-right: 10px;
  color: var(--primary-green);
}

.mobile-menu-list li a:hover {
  background: var(--bg-light);
  color: var(--primary-green);
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--bg-light);
  display: none;
}

.mobile-submenu.active {
  display: block;
}

.mobile-submenu li a {
  padding-left: 50px;
  font-size: 14px;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.mobile-menu-overlay.active {
  display: block;
}

/* ==================== Hero Section ==================== */
.hero-section {
  padding: 30px 0;
}

.hero-card {
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-5px);
}

.hero-large {
  height: 100%;
}

.hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-green);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.hero-card h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.hero-card p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.btn-hero {
  background: white;
  color: var(--text-dark);
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-hero:hover {
  transform: scale(1.05);
  color: var(--primary-green);
}

.hero-images {
  position: absolute;
  right: 30px;
  bottom: 0;
  max-width: 40%;
}

.hero-img {
  max-height: 280px;
  object-fit: contain;
}

/* ==================== Category Cards ==================== */
.category-card {
  display: block;
  border-radius: 15px;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  text-align: center;
  transition: transform 0.3s ease;
  color: white;
}

.category-card:hover {
  transform: translateY(-8px);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-card img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  margin-bottom: 15px;
}

.category-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.badge-delivery {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
}

/* ==================== Product Cards ==================== */
.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: var(--bg-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-pink);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 48px;
}

.product-info h3 a {
  color: var(--text-dark);
}

.product-price {
  margin-bottom: 15px;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 14px;
  margin-right: 8px;
}

.new-price,
.price {
  color: var(--primary-green);
  font-size: 20px;
  font-weight: 700;
}

.btn-add-cart {
  width: 100%;
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background: var(--dark-green);
  transform: scale(1.02);
}

/* ==================== Info Section ==================== */
.info-section {
  background: var(--bg-light);
}

.info-item i {
  color: var(--primary-green);
}

.info-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.info-item p {
  color: var(--text-light);
  font-size: 14px;
}

/* ==================== Section Titles ==================== */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-green);
}

/* ==================== Filters Sidebar ==================== */
.filters-sidebar {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.filter-group .form-check {
  margin-bottom: 10px;
}

.filter-group .form-check-input:checked {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

/* ==================== Product Detail ==================== */
.product-detail-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.stars {
  color: #ffc107;
}

.product-detail-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 5px;
  cursor: pointer;
}

.quantity-input {
  width: 60px;
  text-align: center;
  border: 2px solid var(--border-color);
  padding: 8px;
  border-radius: 5px;
}

/* ==================== Cart ==================== */
.cart-table {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-summary {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-summary h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.summary-total {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
}

/* ==================== Footer ==================== */
.site-footer {
  background: #2c3e50;
  color: white;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.site-footer h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-green);
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-contact i {
  color: var(--primary-green);
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
}

.social-link:hover {
  background: var(--primary-green);
  color: white;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 10px;
}

/* ==================== WhatsApp Float Button ==================== */
.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 5px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
  /* Top bar mobilde gizle */
  .top-bar {
    display: none;
  }

  /* Desktop menüyü gizle */
  .desktop-menu {
    display: none !important;
  }

  .hero-card {
    min-height: 250px;
    padding: 25px;
  }

  .hero-card h2 {
    font-size: 28px;
  }

  .hero-images {
    max-width: 35%;
  }

  .section-title {
    font-size: 24px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

/* ==================== Utilities ==================== */
.btn-primary-custom {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
}

.btn-pink {
  background: var(--primary-pink);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-pink:hover {
  background: #c2185b;
}

.text-green {
  color: var(--primary-green);
}

.text-pink {
  color: var(--primary-pink);
}

.bg-light-green {
  background: var(--light-green);
}

.bg-light-pink {
  background: var(--light-pink);
}

/* ==================== Hero Section Güncelleme ==================== */
.hero-card {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 80px;
  transition: transform 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-5px);
}

/* Hero Content Wrapper */
.hero-content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.hero-badge {
  position: static;
  display: inline-block;
  background: var(--primary-green);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-card h2 {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.1;
}

.hero-card p {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-hero {
  background: white;
  color: var(--text-dark);
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: var(--primary-green);
}

/* ==================== Hero Shape Decorations ==================== */
.hero-shape {
  position: absolute;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  transition: all 0.3s ease;
}

/* Shape 1 - SOL ÜST Köşe (Dikey Çiçek Dizisi) */
.hero-shape-1 {
  top: -30px;
  left: 50px; /* right yerine left */
  width: 200px;
  height: auto;
  animation: floatShape1 6s ease-in-out infinite;
}

/* Shape 2 - Sol Alt Köşe (Köşe Dekorasyonu) */
.hero-shape-2 {
  bottom: -40px;
  left: -20px;
  width: 250px;
  height: auto;
  animation: floatShape2 8s ease-in-out infinite;
  animation-delay: 1s;
}

/* Shape 3 - Sağ Orta (Büyük Çiçek) */
.hero-shape-3 {
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  width: 280px;
  height: auto;
  opacity: 1;
  animation: floatShape3 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* Float Animations - Yumuşak Hareketler */
@keyframes floatShape1 {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

@keyframes floatShape2 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) translateX(10px) rotate(-2deg);
  }
}

@keyframes floatShape3 {
  0%,
  100% {
    transform: translateY(-50%) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-55%) scale(1.05) rotate(2deg);
  }
}

/* Hover Effect */
.hero-card:hover .hero-shape {
  opacity: 0.25;
}

/* ==================== Responsive - MOBİL İYİLEŞTİRME ==================== */
@media (max-width: 1200px) {
  .hero-shape-1 {
    width: 160px;
    left: 40px;
  }

  .hero-shape-2 {
    width: 200px;
  }

  .hero-shape-3 {
    width: 220px;
    right: 30px;
  }
}

@media (max-width: 992px) {
  .hero-shape-1 {
    width: 120px;
    left: 20px;
    top: -15px;
  }

  .hero-shape-2 {
    width: 150px;
    left: -10px;
    bottom: -30px;
  }

  .hero-shape-3 {
    width: 160px;
    right: 15px;
  }
}

@media (max-width: 768px) {
  .hero-card {
    padding: 35px 25px;
    min-height: 280px;
  }

  /* Shape 1 - Mobilde gizle (sol üstte yazıyla çakışıyor) */
  .hero-shape-1 {
    display: none;
  }

  /* Shape 2 - Küçült ve saydamlaştır */
  .hero-shape-2 {
    width: 100px;
    left: -5px;
    bottom: -20px;
    opacity: 0.08;
  }

  /* Shape 3 - Daha küçük ve saydamlaştır */
  .hero-shape-3 {
    width: 120px;
    right: 10px;
    opacity: 0.06;
  }
}

@media (max-width: 576px) {
  .hero-card {
    padding: 30px 20px;
    min-height: 250px;
  }

  /* Tüm shape'leri gizle - Mobilde sadece içerik */
  .hero-shape-1,
  .hero-shape-2,
  .hero-shape-3 {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero-card {
    padding: 25px 15px;
    min-height: 230px;
  }
}
