@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* { 
  box-sizing: border-box; 
  font-family: 'Poppins', sans-serif; 
  margin: 0; 
  padding: 0; 
}

:root {
  --bg: #0f1111;
  --panel: #131921;
  --accent: #febd69;
  --muted: #9aa0a6;
  --card: #16181a;
}

body {
  background: linear-gradient(180deg, var(--bg), #080808);
  color: #fff;
  min-height: 100vh;
}

/* HEADER */
.site-header {
  background: var(--panel, #000000);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  font-weight: 700;
  font-size: 24px;
  color: var(--accent, #fbbf24);
  margin-bottom: 10px;
  text-align: center;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent, #fbbf24);
}

/* HERO SECTION */
.hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 600px;
  margin-top: 20px;
}

.hero-slide {
  display: none;
  position: center;
  width: 100%;
  height: 100%;
}
.hero-slide.active { display: block; }

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.cta {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
}

.cta h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.cta p {
  color: #ddd;
  margin-bottom: 15px;
}

.button {
  background: var(--accent);
  color: #000;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background .3s;
}

.button:hover {
  background: #ffca80;
}

/* PRODUCT GRID */
.section-title {
  margin: 40px 0 20px;
  font-size: 24px;
  font-weight: 600;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.6);
  text-align: center;
  transition: transform .18s, box-shadow .18s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,.7);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.card h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.price {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

/* FOOTER */
.footer {
  text-align: center;
  color: var(--muted);
  margin-top: 50px;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* LOADER */
.loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--bg);
  z-index: 9999;
}

.spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,0.08);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

@keyframes spin { 
  100% { transform: rotate(360deg); } 
}

#loader.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}

/* RESPONSIVE */
@media(max-width: 600px) {
  .hero { height: 220px; }
  .cta h1 { font-size: 22px; }
  .cta { left: 20px; }
  nav a { margin-left: 8px; font-size: 14px; }
}

/* -----------------------------------------------------------
   FIX ADDED: FORM FIELD & DROPDOWN PROPER ALIGNMENT
------------------------------------------------------------ */

form label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #fff;
}

form input, 
form select, 
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

form button {
  margin-top: 20px;
}
