/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark: #1a1a2e;
  --navy: #0f0f1a;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --accent: #2563eb;
  --border: #e5e7eb;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
  margin-top: 40px;
}

/* Top Banner */
.top-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 12px;
  z-index: 50;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
  transition: background 0.2s;
}

.dropdown-content a:hover {
  background: #f3f4f6;
  color: var(--accent);
}

.cart-icon {
  display: flex;
  align-items: center;
  color: var(--text);
}

.cart-icon:hover {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  height: 85vh;
  min-height: 520px;
  background: url('https://images.unsplash.com/photo-1604719312566-8912e9227c6a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: var(--dark);
}

.btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 28px;
}

.btn-dark:hover {
  background: #111827;
}

/* Categories */
.categories {
  padding: 80px 0 60px;
  background: #fafafa;
}

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 16px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.category-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.category-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.category-card h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 20px 20px 8px;
}

.category-card p {
  font-size: 14px;
  color: var(--muted);
  padding: 0 20px;
  margin-bottom: 12px;
}

.see-more {
  display: inline-block;
  padding: 0 20px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.see-more:hover {
  text-decoration: underline;
}

/* Trending */
.trending {
  padding: 80px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.product-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.product-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 6px;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.btn-add {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.2s;
}

.btn-add:hover {
  background: #111827;
}

/* Reviews */
.reviews {
  padding: 80px 0;
  background: #f8fafc;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
}

.reviewer {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* Connect */
.connect {
  padding: 80px 0;
  text-align: center;
}

.contact-info {
  margin-top: 32px;
  background: #f8fafc;
  display: inline-block;
  padding: 32px 48px;
  border-radius: 12px;
  text-align: left;
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 15px;
}

.contact-info a {
  color: var(--accent);
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero {
    height: 70vh;
  }
  .categories-grid,
  .products-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .contact-info {
    padding: 24px;
  }
}
