:root {
  --primary: #1a1a2e;
  --accent: #e3963c;
  --accent-hover: #c87f2a;
  --light: #f8f8f8;
  --text: #333;
  --text-light: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, rgba(26,26,46,0.75), rgba(26,26,46,0.5)),
    url('https://images.unsplash.com/photo-1481018085669-2bc6e4f00eed?w=1800&q=85') center/cover no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.nav-link {
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
  outline: none;
}
.nav-link:hover { color: var(--accent); }
.nav-link:focus, .nav-link:active { outline: none; color: var(--accent); }
a, a:focus, a:active { outline: none; }

.logo-img {
  height: 26px;
  width: auto;
  display: block;
}
.logo-img-light { filter: brightness(0) invert(1); }
@media (max-width: 640px) {
  .logo-img { height: 22px; }
}

.product-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 12px;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.product-card img {
  transition: transform 0.5s;
}
.product-card:hover img {
  transform: scale(1.05);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(227,150,60,0.4);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 10px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), #f0a855);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 24px;
}

.category-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.category-btn:hover, .category-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.footer-section a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-section a:hover { color: var(--accent); }

.page-hero {
  background: linear-gradient(135deg, var(--primary), #16213e);
  padding: 80px 0 40px;
  text-align: center;
  color: #fff;
}

.detail-image {
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
}
.detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--primary); color: #fff; padding: 12px; text-align: left; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #eee; }
.admin-table tr:hover { background: #f9f9f9; }

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227,150,60,0.1);
}

.mobile-menu { display: none; }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
}

@media (max-width: 768px) {
  .hero { min-height: 60vh; }
  .detail-image img { height: 280px; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.6s ease forwards; }

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.4s; opacity: 0; }
