/* ==================== Global Styles ==================== */
:root {
  --primary-red: #d32f2f;
  --primary-orange: #ff6b6b;
  --dark-red: #b71c1c;
  --light-red: #ffebee;
  --light-orange: #ffe0e0;
  --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-red);
}

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-red);
}

.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-red);
}

.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-red);
  box-shadow: none;
}

.btn-search {
  background: var(--primary-red);
  color: white;
  border: 2px solid var(--primary-red);
  padding: 12px 25px;
}

.btn-search:hover {
  background: var(--dark-red);
  border-color: var(--dark-red);
}

.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-red);
  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-red);
  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-red);
  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-red) !important;
  color: var(--primary-red) !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-red);
  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-red);
}

.mobile-menu-list li a:hover {
  background: var(--bg-light);
  color: var(--primary-red);
}

.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;
}

/* ==================== Modern Hero Section ==================== */
.hero-section {
  padding: 40px 0 60px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.modern-hero {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.hero-content {
  padding: 60px 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-red);
  color: var(--primary-red);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.hero-badge i {
  font-size: 14px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.feature-item i {
  color: var(--primary-red);
  font-size: 18px;
}

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

.btn-hero-primary {
  background: var(--primary-red);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.3);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background: var(--dark-red);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(211, 47, 47, 0.4);
}

.btn-hero-secondary {
  background: #25d366;
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: #1fb854;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

/* Hero Image Section */
.hero-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--light-red) 0%, #ffe5e5 100%);
}

.hero-image-decoration {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  height: 200px;
  background: var(--primary-red);
  border-radius: 50%;
  opacity: 0.1;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.hero-main-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Floating Cards */
.hero-floating-card {
  position: absolute;
  background: white;
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

.hero-floating-card i {
  font-size: 24px;
  color: var(--primary-red);
}

.hero-floating-card strong {
  display: block;
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 700;
}

.hero-floating-card small {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.hero-card-1 {
  top: 60px;
  left: 20px;
  animation-delay: 0s;
}

.hero-card-2 {
  bottom: 80px;
  right: 30px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==================== Modern Category Cards ==================== */
.modern-category-card {
  display: block;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.modern-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.category-image-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.category-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modern-category-card:hover .category-image-wrapper img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(211, 47, 47, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-category-card:hover .category-overlay {
  opacity: 1;
}

.category-info {
  padding: 20px;
  position: relative;
}

.category-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.modern-category-card:hover .category-info h3 {
  color: var(--primary-red);
}

.category-info p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--light-red);
  color: var(--primary-red);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modern-category-card:hover .category-arrow {
  background: var(--primary-red);
  color: white;
  transform: translateX(5px);
}

.category-arrow i {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .category-image-wrapper {
    height: 140px;
  }

  .category-info {
    padding: 15px;
  }

  .category-info h3 {
    font-size: 16px;
  }

  .category-info p {
    font-size: 12px;
  }
}

/* ==================== 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-red);
  font-size: 20px;
  font-weight: 700;
}

.btn-add-cart {
  width: 100%;
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background: var(--dark-red);
  transform: scale(1.02);
}

/* ==================== Info Section ==================== */
.info-section {
  background: var(--bg-light);
}

.info-item i {
  color: var(--primary-red);
}

.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-red);
}

/* ==================== 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-red);
  border-color: var(--primary-red);
}

/* ==================== 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-red);
  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-red);
}

/* ==================== 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-red);
}

.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-red);
  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-red);
  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);
}

/* ==================== Phone Float Button ==================== */
.phone-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #1900ff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 5px 15px rgba(0, 153, 255, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}

.phone-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.6);
}

/* ==================== Responsive ==================== */
@media (max-width: 992px) {
  .hero-content {
    padding: 50px 40px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-image-wrapper {
    min-height: 400px;
  }

  .hero-main-image {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  /* Top bar mobilde gizle */
  .top-bar {
    display: none;
  }

  /* Desktop menüyü gizle */
  .desktop-menu {
    display: none !important;
  }

  .hero-section {
    padding: 20px 0 40px;
  }

  .modern-hero {
    border-radius: 20px;
  }

  .hero-content {
    padding: 40px 30px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 30px;
  }

  .hero-image-wrapper {
    min-height: 350px;
    padding: 30px;
  }

  .hero-main-image {
    max-width: 280px;
  }

  .hero-floating-card {
    padding: 12px 15px;
  }

  .hero-card-1 {
    top: 30px;
    left: 10px;
  }

  .hero-card-2 {
    bottom: 50px;
    right: 10px;
  }

  .section-title {
    font-size: 24px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  .phone-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 20px;
    left: 20px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .feature-item {
    font-size: 14px;
  }

  .hero-image-wrapper {
    min-height: 300px;
    padding: 20px;
  }

  .hero-main-image {
    max-width: 240px;
  }

  .hero-floating-card {
    padding: 10px 12px;
  }

  .hero-floating-card i {
    font-size: 20px;
  }

  .hero-floating-card strong {
    font-size: 14px;
  }

  .hero-floating-card small {
    font-size: 11px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 12px 25px;
    font-size: 15px;
  }
}

/* ==================== Utilities ==================== */
.btn-primary-custom {
  background: var(--primary-red);
  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-red);
  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-red);
}

.text-pink {
  color: var(--primary-pink);
}

.bg-light-green {
  background: var(--light-red);
}

.bg-light-pink {
  background: var(--light-pink);
}

/* Old hero styles removed - now using modern hero design */
