:root {
  --navy: #0a1628;
  --gold: #c9a84c;
  --ivory: #f8f4ef;
  --soft-gray: #e8e4df;
  --text: #2c2c2c;
}

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

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

h1, h2, h3, .logo {
  font-family: 'Playfair Display', serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: var(--navy);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo a {
  color: var(--gold);
  text-decoration: none;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}

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

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  min-width: 200px;
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
}

.dropdown-menu li a:hover {
  background: rgba(201, 168, 76, 0.15);
}

.hero {
  height: 80vh;
  background: linear-gradient(rgba(10,22,40,0.6), rgba(10,22,40,0.6)), url('images/oBmJM.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.cta-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: transform 0.2s, background 0.3s;
}

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

.products-preview, .about, .contact, .products-page {
  padding: 4rem 8%;
  max-width: 1400px;
  margin: 0 auto;
}

.products-preview h2, .about h2, .contact h2, .products-page h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #555;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.preview-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.preview-card:hover {
  transform: translateY(-8px);
}

.preview-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.preview-card h3 {
  padding: 1.2rem 1.2rem 0.5rem;
  font-size: 1.6rem;
  color: var(--navy);
}

.preview-card p {
  padding: 0 1.2rem 1.5rem;
  color: #555;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h3 {
  padding: 1rem 1rem 0.4rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.product-card p {
  padding: 0 1rem 0.8rem;
  font-size: 0.95rem;
  color: #555;
}

.price {
  display: block;
  padding: 0 1rem 1.2rem;
  font-weight: 600;
  color: var(--gold);
}

.about p, .contact p {
  max-width: 800px;
  margin: 1rem auto;
  text-align: center;
  font-size: 1.1rem;
}

footer {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

.inquiry-page, .admin-page {
  padding: 4rem 8%;
  max-width: 800px;
  margin: 0 auto;
}

.inquiry-form, .inquiries-list {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.success-message {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1.5rem;
}

.inquiries-list .inquiry-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.inquiries-list .inquiry-item:last-child {
  border-bottom: none;
}

.inquiry-item h4 {
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.inquiry-item p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.clear-btn {
  background: #c0392b;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 1rem;
}

.clear-btn:hover {
  background: #a93226;
}

.inquire-btn {
  display: inline-block;
  margin: 0.5rem 1rem 1rem;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
}

.inquire-btn:hover {
  background: #e0c068;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .inquiry-page, .admin-page {
    padding: 2rem 5%;
  }
}