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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0B1929;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #D4A574;
}

/* Navigation */
nav {
  background-color: #0B1929;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  color: #D4A574;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  display: inline-block;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #D4A574;
  border-bottom-color: #D4A574;
  outline: none;
}

.nav-links a[aria-current="page"] {
  color: #D4A574;
  border-bottom-color: #D4A574;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background-color: rgba(255, 255, 255, 0.1);
  outline: 2px solid #D4A574;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0B1929;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  background-color: #0B1929;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }
}

.hero-subtext {
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.9;
}

/* Sections */
.section-alt {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
}

.section-light {
  background-color: #fff;
  padding: 4rem 2rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0B1929;
  font-weight: 700;
}

@media (max-width: 768px) {
  section h2 {
    font-size: 1.5rem;
  }

  .section-alt,
  .section-light {
    padding: 3rem 2rem;
  }
}

/* Accent Line */
.accent-line {
  width: 80px;
  height: 3px;
  background-color: #D4A574;
  margin: 1.5rem 0 3rem;
  display: inline-block;
}

/* Categories Grid */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .categories {
    grid-template-columns: 1fr;
  }
}

/* Category Card */
.category-card {
  background-color: white;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.category-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.category-card h3 {
  color: #0B1929;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.category-card p {
  color: #666;
  line-height: 1.7;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: white;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-top: 3px solid #D4A574;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-card h3 {
  color: #0B1929;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.product-info {
  background-color: #f9f9f9;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.product-info-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.product-info-label {
  font-weight: 600;
  color: #0B1929;
}

.product-info-value {
  color: #666;
}

/* Product Details */
.product-detail {
  margin-bottom: 2rem;
}

.product-detail h3 {
  color: #0B1929;
  margin-top: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn:focus {
  outline: 3px solid #D4A574;
  outline-offset: 2px;
}

.btn-primary {
  background-color: #D4A574;
  color: #0B1929;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #c9965f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #0B1929;
  border: 2px solid #0B1929;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #0B1929;
  color: white;
  transform: translateY(-2px);
}

.btn-inquiry {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #D4A574;
  color: #0B1929;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-inquiry:hover,
.btn-inquiry:focus {
  background-color: #c9965f;
  outline: 2px solid #0B1929;
  outline-offset: 2px;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background-color: white;
  padding: 2rem;
  border-radius: 4px;
  border-left: 4px solid #D4A574;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #D4A574;
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  color: #0B1929;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step p {
  color: #666;
  line-height: 1.7;
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #0B1929;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #D4A574;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

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

/* Footer */
footer {
  background-color: #0B1929;
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}

.footer-section h4 {
  color: #D4A574;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  color: #aaa;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-section a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a:focus {
  color: #D4A574;
  outline: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* Accessibility: Focus Styles */
:focus-visible {
  outline: 2px solid #D4A574;
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #e0e0e0;
  }

  .section-alt {
    background-color: #262626;
  }

  input,
  select,
  textarea {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #444;
  }

  .category-card,
  .product-card,
  .step {
    background-color: #262626;
    color: #e0e0e0;
  }

  .category-card h3,
  .product-card h3,
  .step h3,
  section h2 {
    color: #e0e0e0;
  }

  .category-card p,
  .product-card p,
  .step p {
    color: #b0b0b0;
  }
}

/* Print Styles */
@media print {
  nav,
  footer,
  .menu-toggle,
  .btn {
    display: none;
  }

  body {
    background-color: white;
    color: black;
  }

  a {
    color: inherit;
  }
}

/* Utility Classes for Products Page */
.product-intro { margin-bottom: 3rem; color: #666; }
.product-title { font-size: 1.5rem; margin-bottom: 2rem; color: #0B1929; }
.product-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.product-section-title { color: #D4A574; margin-bottom: 1rem; }
.product-content { line-height: 1.8; color: #333; }
.product-list { line-height: 1.8; color: #333; list-style-position: inside; }
.product-box { background: #f5f5f5; padding: 2rem; border-radius: 4px; margin-bottom: 2rem; }
.box-title { color: #0B1929; margin-bottom: 1.5rem; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; font-size: 0.95rem; }
.spec-item { color: #666; }
.spec-note { margin-top: 1.5rem; font-size: 0.9rem; color: #666; font-style: italic; }
.grades-list { line-height: 2; color: #333; }
.storage-list { line-height: 2; color: #333; }
.packaging-box { background: #f9f9f9; padding: 2rem; border-radius: 4px; margin-bottom: 2rem; }
.packaging-text { margin-bottom: 1rem; color: #333; }
.packaging-list { margin-bottom: 1rem; color: #333; }
.packaging-note { font-size: 0.9rem; color: #666; }
.product-cta { display: inline-block; margin-bottom: 4rem; }
.faq-container { max-width: 750px; margin: 0 auto; }
.faq-item { margin-bottom: 2.5rem; }
.faq-question { font-size: 1.15rem; margin-bottom: 0.8rem; color: #0B1929; }
.faq-answer { color: #666; line-height: 1.7; }
