:root {
  --primary: #1D79B4;
  --primary-dark: #155A8A;
  --primary-light: #2E9BD6;
  --primary-glow: rgba(29, 121, 180, 0.35);
  --secondary: #0D5C8C;
  --accent: #F07C1A;
  --accent-green: #00A86B;
  --cream: #F5F9FC;
  --dark: #1A2332;
  --dark-soft: #2C3A4F;
  --text-muted: #6B7A8D;
  --white: #FFFFFF;
  --card-shadow: 0 8px 32px rgba(29, 121, 180, 0.08);
  --card-shadow-hover: 0 20px 50px rgba(29, 121, 180, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes twinkle {
  from { opacity: 0.3; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.3); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
  50% { box-shadow: 0 0 0 12px transparent; }
}

/* NAVBAR */
.navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.7rem 0;
  box-shadow: 0 4px 30px rgba(26, 35, 50, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(29, 121, 180, 0.08);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.navbar-brand:hover { transform: scale(1.03); }
.navbar-brand img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}
.nav-link {
  font-weight: 600;
  color: var(--dark-soft) !important;
  margin: 0 0.4rem;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  position: relative;
  padding: 0.4rem 0.6rem !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: var(--transition);
  transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after { width: 70%; }
.nav-link:hover,
.nav-link.active { color: var(--primary) !important; }

.btn-signup {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 0.55rem 1.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--primary-glow);
  position: relative;
  overflow: hidden;
}
.btn-signup::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.5s;
}
.btn-signup:hover::before { left: 100%; }
.btn-signup:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--primary-glow);
  color: white !important;
}

/* ========== HERO ========== */
.hero-section {
  background: linear-gradient(135deg, #0F4C75 0%, #1D79B4 45%, #2E9BD6 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  min-height: 560px;
  /* NO faded bottom - clean edge */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(0,168,107,0.12) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* Parallax plane layer */
.hero-parallax {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: min(480px, 48vw);
  z-index: 2;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.15s linear;
}
.hero-parallax img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.3));
  display: block;
}

.hero-content {
  position: relative;
  z-index: 3;
}
.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.3rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
  letter-spacing: -0.5px;
  animation: fadeInUp 0.8s ease forwards;
}
.hero-content p {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}
.btn-shop {
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 0.95rem 2.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
  text-decoration: none;
}
.btn-shop:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0,0,0,0.2);
  color: var(--primary-dark);
}
.btn-shop i { transition: transform 0.3s; }
.btn-shop:hover i { transform: translateX(4px); }

.stars {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 1;
}
.star {
  position: absolute;
  width: 5px; height: 5px;
  background: white;
  border-radius: 50%;
  opacity: 0.7;
  animation: twinkle 2s infinite alternate;
  box-shadow: 0 0 6px white;
}

/* SECTION TITLES */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 2.8rem;
  position: relative;
  letter-spacing: -0.3px;
}
.section-title::after {
  content: '';
  display: block;
  width: 70px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-green));
  margin: 14px auto 0;
  border-radius: 4px;
}

/* CATEGORY */
.category-section { padding: 90px 0 70px; background: var(--white); }
.category-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem 1.2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(29,121,180,0.06);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-green));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--card-shadow-hover);
}
.category-img {
  width: 100%; height: 160px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--cream), #fff);
  padding: 15px;
  transition: var(--transition);
}
.category-card:hover .category-img { transform: scale(1.06); }
.category-card h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.category-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.category-card a:hover { color: var(--primary-dark); gap: 8px; }

/* PRODUCTS */
.new-arrivals { padding: 70px 0 90px; background: var(--cream); }
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(29,121,180,0.05);
  position: relative;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
}
.product-img-wrap {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--cream) 0%, #fff 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.product-img-wrap img {
  max-height: 165px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-img-wrap img { transform: scale(1.1) rotate(2deg); }

.sale-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, #E53935, #FF5252);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(229,57,53,0.35);
  animation: pulse-glow 2.5s infinite;
}
.product-info {
  padding: 1.3rem 1.1rem 1.6rem;
  text-align: center;
}
.product-info h6 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}
.product-price {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}
.product-price .old {
  color: #B0B0C0;
  text-decoration: line-through;
  font-weight: 400;
  font-size: 0.9rem;
  margin-right: 6px;
}
.btn-view-all {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.2rem;
  font-weight: 700;
  margin-top: 2.8rem;
  transition: var(--transition);
  box-shadow: 0 6px 20px var(--primary-glow);
  text-decoration: none;
  display: inline-block;
}
.btn-view-all:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--primary-glow);
  color: white;
}

/* PROMO BANNER */
.promo-banner {
  background: linear-gradient(135deg, #0F4C75 0%, #1D79B4 50%, #2E9BD6 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.promo-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}
.promo-banner p {
  color: rgba(255,255,255,0.92);
  max-width: 420px;
  margin-bottom: 2rem;
  line-height: 1.75;
  font-size: 1.05rem;
}
.promo-banner .btn-shop {
  background: white;
  color: var(--primary);
  animation: none;
  opacity: 1;
}
.promo-img {
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

/* BEST SELLERS & OFFERS */
.bestsellers { padding: 80px 0; background: var(--white); }
.special-offers { padding: 80px 0; background: var(--cream); }

/* FEATURES */
.features-section { padding: 90px 0; background: var(--white); }
.features-section h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2.2rem;
}
.feature-item {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.feature-item:hover {
  background: var(--cream);
  transform: translateX(6px);
}
.feature-icon {
  width: 54px; height: 54px; min-width: 54px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.25rem;
  box-shadow: 0 6px 18px var(--primary-glow);
  transition: var(--transition);
}
.feature-item:hover .feature-icon { transform: scale(1.08) rotate(-5deg); }
.feature-item h6 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}
.feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}
.features-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
}
.features-img img { width: 100%; height: auto; display: block; }

/* INSTAGRAM */
.instagram-section { padding: 60px 0 40px; text-align: center; background: var(--white); }

/* NEWSLETTER */
.newsletter-section { padding: 80px 0; background: var(--cream); }
.newsletter-box {
  background: white;
  border-radius: 28px;
  padding: 3.2rem;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  border: 1px solid rgba(29,121,180,0.06);
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-light), var(--accent-green));
}
.newsletter-illustration { flex: 0 0 260px; text-align: center; }
.newsletter-illustration img { max-width: 200px; }
.newsletter-content { flex: 1; min-width: 280px; }
.newsletter-content h3 {
  font-weight: 800;
  color: var(--dark);
  font-size: 1.9rem;
  margin-bottom: 0.7rem;
}
.newsletter-content p { color: var(--text-muted); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px;
  border: 2px solid #D6E8F5;
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: var(--cream);
}
.newsletter-form input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.newsletter-form button {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--primary-glow);
}
.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

/* FOOTER */
.footer {
  background: linear-gradient(180deg, var(--dark) 0%, #111820 100%);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 30px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-green), var(--primary));
}
.footer-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-brand img {
  height: 44px; width: auto;
  background: white;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.footer h6 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.3rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.65rem; }
.footer ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}
.footer ul li a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.7);
}
.social-links a {
  display: inline-flex;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: white;
  margin-right: 8px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 18px var(--primary-glow);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 45px;
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #0F4C75 0%, #1D79B4 50%, #2E9BD6 100%) !important;
  padding: 50px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb-item a:hover { color: white; }
.breadcrumb-item.active { color: white; font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-section { padding: 80px 0 90px; min-height: 500px; }
  .hero-parallax { width: min(340px, 55vw); right: 2%; bottom: 5%; }
  .promo-banner h2 { font-size: 2rem; }
  .newsletter-box { flex-direction: column; text-align: center; padding: 2.5rem; }
  .newsletter-form { justify-content: center; }
}
@media (max-width: 767.98px) {
  .hero-content h1 { font-size: 2.1rem; text-align: center; }
  .hero-content p { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-content { text-align: center; margin-bottom: 1rem; }
  .hero-parallax {
    position: relative;
    right: auto;
    bottom: auto;
    width: 70%;
    max-width: 280px;
    margin: 1.5rem auto 0;
    display: block;
  }
  .hero-section { min-height: auto; padding: 70px 0 60px; }
  .section-title { font-size: 1.7rem; }
  .navbar-brand img { height: 42px; }
}
@media (max-width: 575.98px) {
  .btn-signup { padding: 0.4rem 1.1rem; font-size: 0.85rem; }
  .hero-content h1 { font-size: 1.8rem; }
  .btn-shop { padding: 0.75rem 1.8rem; font-size: 0.95rem; }
}
