/* Optik Güneş - Modern Light Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-red: #E30613;
  --primary-red-hover: #c4040f;
  --sun-yellow: #FFC800;
  --sky-blue: #0088CE;
  --dark-navy: #111827;
  --dark-heading: #1F2937;
  --text-body: #4B5563;
  --text-muted: #9CA3AF;
  --bg-light: #F9FAFB;
  --bg-card: #FFFFFF;
  --border-light: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.whitespace-nowrap {
  white-space: nowrap !important;
}

/* -------------------------------------------------------------
 * 1. KAYAN ANONS BANDI (Ticker / Marquee Banner)
 * ------------------------------------------------------------- */
.ticker-wrap {
  background: #111827;
  color: #FFFFFF;
  overflow: hidden;
  height: 34px;
  line-height: 34px;
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: 2px solid var(--primary-red);
}

.ticker-move {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker 35s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 2rem;
  color: #F3F4F6;
}

.ticker-item i {
  color: var(--sun-yellow);
  margin-right: 6px;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

.ticker-wrap:hover .ticker-move {
  animation-play-state: paused;
}

/* -------------------------------------------------------------
 * 2. MAIN HEADER & LOGO & SEARCH
 * ------------------------------------------------------------- */
.main-header-logo {
  height: 56px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.rounded-pill-start {
  border-top-left-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
}
.rounded-pill-end {
  border-top-right-radius: 50px !important;
  border-bottom-right-radius: 50px !important;
}

/* Minimalist Header Links & Badges */
.nav-minimal-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark-navy);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 50px;
}
.nav-minimal-link:hover {
  color: var(--primary-red);
  background: rgba(227, 6, 19, 0.05);
}

.cart-badge-minimal {
  background: var(--primary-red);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Category Navigation Sub-Bar */
.nav-category-bar .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  color: var(--dark-navy) !important;
  transition: var(--transition);
  padding-left: 1.1rem !important;
  padding-right: 1.1rem !important;
}

.nav-category-bar .nav-link:hover, .nav-category-bar .nav-link.active {
  color: var(--primary-red) !important;
  background: transparent !important;
}

/* Custom Buttons */
.btn-red {
  background-color: var(--primary-red);
  color: #FFFFFF !important;
  border: none;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25);
}
.btn-red:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 6, 19, 0.35);
}

.btn-outline-dark-custom {
  border: 1.5px solid #D1D5DB;
  color: var(--dark-navy);
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  background: #FFFFFF;
  transition: var(--transition);
}
.btn-outline-dark-custom:hover {
  border-color: var(--dark-navy);
  background-color: var(--dark-navy);
  color: #FFFFFF;
}

/* -------------------------------------------------------------
 * 3. PRODUCT CARDS & GRID
 * ------------------------------------------------------------- */
.product-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(227, 6, 19, 0.3);
}
.product-img-wrapper {
  position: relative;
  overflow: hidden;
  background: #F3F4F6;
  padding-top: 80%;
}
.product-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: var(--transition);
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-red);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.product-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--sky-blue);
  letter-spacing: 1px;
  font-weight: 700;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 6px 0 12px 0;
  color: var(--dark-navy);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-top: auto;
}
.product-price .old-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
  font-weight: 500;
}

/* -------------------------------------------------------------
 * 4. PREMIUM CATEGORY CARDS (Illustrated SVG)
 * ------------------------------------------------------------- */
.category-card-premium {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 14px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--dark-navy);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.category-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: var(--transition);
}
.category-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: transparent;
  color: var(--dark-navy);
}
.category-card-premium:hover::before {
  background: var(--primary-red);
}

.category-icon-box {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 12px;
}
.category-card-premium:hover .category-icon-box {
  transform: scale(1.08) rotate(-3deg);
}

.category-svg-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: var(--transition);
}

.category-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.3;
  color: var(--dark-navy);
}

.category-arrow {
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}
.category-card-premium:hover .category-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* -------------------------------------------------------------
 * 5. HEALTH BLOG & CARDS
 * ------------------------------------------------------------- */
.health-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.health-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.health-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.health-card-body {
  padding: 20px;
}
.health-tag {
  background: rgba(0, 136, 206, 0.1);
  color: var(--sky-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

/* -------------------------------------------------------------
 * 6. HERO SLIDER
 * ------------------------------------------------------------- */
.hero-slider .swiper-slide {
  height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(17,24,39,0.85) 0%, rgba(17,24,39,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 650px;
}
.hero-title {
  font-size: 3.2rem;
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

/* -------------------------------------------------------------
 * 7. FLOATING BUTTONS & FOOTER
 * ------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
  text-decoration: none;
}
.float-btn:hover {
  transform: scale(1.12);
  color: #FFF;
}
.float-btn.whatsapp { background-color: #25D366; }
.float-btn.phone { background-color: var(--dark-navy); }

/* Footer */
.footer {
  background-color: var(--dark-navy);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
  padding-bottom: 30px;
}
.footer h5 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-red);
  border-radius: 2px;
}
.footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: var(--transition);
}
.footer a:hover {
  color: var(--sun-yellow);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.85rem;
}
