/* OzarkSilver Styles */
:root {
  --gold: #D4AF37;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --accent: #8B4513;
  --text: #333;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.6;
}

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

/* Navbar */
.navbar {
  background: var(--dark);
  color: var(--gold);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-menu a:hover {
  color: var(--gold);
}

/* Main View */
#view {
  min-height: 60vh;
  padding: 3rem 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark), var(--accent));
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 0.75rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background: var(--accent);
  color: white;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.product-card {
  background: var(--light);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.product-card .category {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: bold;
}

.product-card .description {
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem 0;
}

.product-card .specs {
  font-size: 0.85rem;
  color: #777;
  margin: 1rem 0;
}

.product-card .prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.product-card .prices div {
  padding: 0.5rem;
  background: white;
  border-radius: 4px;
}

.product-card .prices strong {
  color: var(--gold);
  display: block;
}

/* Form */
form {
  max-width: 500px;
  margin: 2rem auto;
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button {
  margin-top: 1.5rem;
  width: 100%;
}

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.about-section h2 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

/* Utility */
.empty {
  text-align: center;
  padding: 2rem;
  color: #999;
}

.success {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.error {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .navbar .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}
