/* ========================================
   ADANA SU ARITMA (GEN) - Sumosu Style
   Clean, minimal e-commerce design
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #e0f2fe;
  --accent: #10b981;
  --accent-dark: #059669;
  --orange: #f59e0b;
  --red: #ef4444;
  --dark: #0f172a;
  --dark-700: #1e293b;
  --dark-600: #334155;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --green-wp: #25D366;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ========================================
   ANNOUNCEMENT BAR (Scrolling)
   ======================================== */
.announcement-bar {
  background: var(--dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-track {
  display: inline-flex;
  animation: scroll-left 30s linear infinite;
}
.announcement-track span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 40px;
  color: rgba(255,255,255,0.9);
}
.announcement-track span::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   HEADER
   ======================================== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  padding: 8px 0;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}
.logo-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav a:hover { color: var(--primary); background: var(--primary-light); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
  padding: 8px; min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all var(--transition);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 14px; font-size: 0.85rem; border-radius: var(--radius-sm); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.88rem; color: var(--dark);
  padding: 8px 12px; border-radius: var(--radius-full);
  transition: all var(--transition);
}
.header-phone:hover { color: var(--primary); }
.btn-whatsapp-header {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-wp); color: var(--white);
  padding: 9px 18px; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600;
  transition: all var(--transition);
}
.btn-whatsapp-header:hover { background: #20bd5a; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,211,102,0.3); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  display: none; position: relative;
  min-height: 520px;
  background-size: cover; background-position: center;
  align-items: center;
}
.hero-slide.active { display: flex; animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 40%, rgba(255,255,255,0.3) 100%);
}
.hero-slide-content {
  position: relative; z-index: 2; max-width: 560px; padding: 60px 0;
}
.hero-slide-label {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  color: var(--primary); background: var(--primary-light);
  padding: 6px 16px; border-radius: var(--radius-full);
  margin-bottom: 16px; letter-spacing: 0.02em;
}
.hero-slide-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15; color: var(--dark);
  margin-bottom: 16px;
}
.hero-slide-title em { font-style: normal; color: var(--primary); }
.hero-slide-desc {
  font-size: 1.05rem; color: var(--gray-500); line-height: 1.7;
  margin-bottom: 28px; max-width: 440px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.92rem;
  transition: all var(--transition); letter-spacing: 0.01em;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,165,233,0.3); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.hero-dots {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gray-300); cursor: pointer;
  transition: all var(--transition);
}
.hero-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }

/* ========================================
   CATEGORY CARDS
   ======================================== */
.categories { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 700; color: var(--dark); margin-bottom: 8px;
}
.section-header p { color: var(--gray-500); font-size: 0.95rem; }
.categories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.category-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  transition: all var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.category-card-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.category-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; background: linear-gradient(transparent, rgba(15,23,42,0.85));
  color: var(--white);
}
.category-card-content h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.category-card-content p { font-size: 0.78rem; opacity: 0.8; margin-top: 4px; }

/* ========================================
   PRODUCT CARDS
   ======================================== */
.products-section { padding: 64px 0; background: var(--gray-50); }
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.product-card-img {
  aspect-ratio: 1; background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.product-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.badge-sale { background: var(--red); color: var(--white); }
.badge-new { background: var(--accent); color: var(--white); }
.badge-popular { background: var(--orange); color: var(--white); }
.product-card-body { padding: 16px 18px 20px; }
.product-card-body h4 {
  font-size: 0.92rem; font-weight: 600; color: var(--dark);
  margin-bottom: 8px; line-height: 1.4;
}
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { color: var(--orange); font-size: 0.8rem; letter-spacing: 1px; }
.rating-count { font-size: 0.75rem; color: var(--gray-400); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-current { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--dark); }
.price-old { font-size: 0.85rem; color: var(--gray-400); text-decoration: line-through; }
.price-discount {
  font-size: 0.72rem; font-weight: 700; color: var(--red);
  background: #fef2f2; padding: 2px 8px; border-radius: var(--radius-full);
}
.btn-whatsapp-order {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; border-radius: var(--radius-lg);
  background: var(--green-wp); color: var(--white);
  font-size: 0.85rem; font-weight: 600;
  transition: all var(--transition);
}
.btn-whatsapp-order:hover { background: #20bd5a; }
.btn-detail {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px; border-radius: var(--radius-lg); margin-top: 8px;
  background: transparent; color: var(--dark); border: 1.5px solid var(--gray-200);
  font-size: 0.82rem; font-weight: 600;
  transition: all var(--transition);
}
.btn-detail:hover { border-color: var(--primary); color: var(--primary); }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials { padding: 64px 0; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 28px;
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--orange); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9rem; color: var(--dark-600); line-height: 1.7; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem;
}
.testimonial-name { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.testimonial-badge { font-size: 0.72rem; color: var(--accent); font-weight: 500; }

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-section { padding: 48px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  background: var(--gray-50); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.trust-text strong { display: block; font-size: 0.88rem; color: var(--dark); }
.trust-text span { font-size: 0.78rem; color: var(--gray-500); }

/* ========================================
   CTA
   ======================================== */
.cta {
  padding: 64px 0; text-align: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-700) 100%);
  color: var(--white);
}
.cta h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.cta p { color: var(--gray-400); font-size: 1rem; max-width: 480px; margin: 0 auto 28px; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-whatsapp-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-wp); color: var(--white);
  padding: 14px 32px; border-radius: var(--radius-full);
  font-size: 0.95rem; font-weight: 600; transition: all var(--transition);
}
.btn-whatsapp-cta:hover { background: #20bd5a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--gray-50); padding: 48px 0 0; border-top: 1px solid var(--gray-200); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 36px;
}
.footer-brand p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.7; margin: 12px 0 16px; }
.footer h4 {
  font-size: 0.82rem; font-weight: 700; color: var(--dark);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px;
}
.footer-links a {
  display: block; padding: 5px 0; font-size: 0.85rem; color: var(--gray-500);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-contact p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 6px; }
.footer-contact a { color: var(--primary); font-weight: 500; }
.footer-bottom {
  padding: 18px 0; border-top: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--gray-400);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; background: var(--green-wp);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.7rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--transition); animation: pulse-wp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-wp {
  0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.6s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ========================================
   PAGE HERO (subpages)
   ======================================== */
.page-hero {
  padding: 48px 0; text-align: center;
  background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.page-hero p { color: var(--gray-500); font-size: 0.95rem; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px 20px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--gray-200); z-index: 100; }
  .nav.mobile-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .header-actions .header-phone { display: none; }
  .mobile-toggle { display: flex; }
  .hero-slide { min-height: 400px; }
  .hero-slide-content { padding: 40px 0; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .hero-slide { min-height: 360px; }
  .hero-slide-title { font-size: 1.6rem; }
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 1.5rem; }
}
