/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

:root {
  --bg: #0D0D0D;
  --paper: #121212;
  --cream: #E6D6B8;
  --gold: #C5A572;
  --muted: #ccc;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 89px; /* nav (~56px) + category-dropdown (~33px) */
}

/* Fallback for first sections */
.hero, .container, .overview {
  margin-top: 1rem;
}

/* Global Link Styling */
a {
  text-decoration: none;
  color: inherit;
}

/* Card Link Styling */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

/* Header Container */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(6px);
}

/* Navbar Styling */
nav {
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}
nav .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #FFFFFF;
}
nav .logo a {
  text-decoration: none;
}
nav .logo span {
  color: var(--gold);
}
nav .nav-links {
  display: flex;
  gap: 1.2rem;
}
nav .nav-links a {
  color: #FFFFFF;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 2px;
}
nav .nav-links a:hover {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

/* Secondary Navigation (Desktop) */
.category-dropdown {
  display: flex;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: transparent;
  border-bottom: 1px solid rgba(165, 129, 71, 0.932);
  margin: 0;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  outline: none;
}
.dropdown-toggle svg {
  width: 30px;
  height: 5px;
  fill: var(--gold);
  filter: drop-shadow(0 0 4px rgb(150, 85, 47));
  transition: transform 0.3s ease, fill 0.3s ease, filter 0.3s ease;
}
.dropdown-toggle:hover svg,
.dropdown-toggle:focus svg {
  fill: var(--cream);
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(230, 214, 184, 0.5));
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--paper);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.dropdown-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 1;
  transform: translateY(0);
}
.dropdown-menu a {
  color: var(--cream);
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

 .btn {
      display: inline-block;
      padding: 0.75rem 2rem;
      border: 1px solid #C5A572;
      color: #C5A572;
      font-size: 0.95rem;
      letter-spacing: 1px;
      transition: all 0.3s ease;
      border-radius: 50px;
    }

    .btn:hover {
      background: #C5A572;
      color: #0D0D0D;
    }

/* Secondary Navigation (Static Bar) */
.category-bar {
  display: flex;
  gap: 20px;
  justify-content: center;
  background: var(--paper);
  padding: 12px;
  position: sticky;
  top: 56px;
  z-index: 999;
}
.category-bar a {
  color: var(--cream);
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.category-bar a:hover {
  color: var(--gold);
}

/* Mobile Hamburger Menu */
.category-mobile {
  display: none;
  position: fixed;
  top: 56px;
  z-index: 999;
  background: var(--paper);
  padding: 0 1rem 0.8rem 1rem;
}
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid rgba(198, 166, 100, 0.2);
  border-radius: 6px;
}
.mobile-toggle svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
  transition: transform 0.3s ease;
}
.mobile-toggle:hover svg,
.mobile-toggle:focus svg {
  transform: scale(1.1);
}
.category-mobile ul {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: var(--paper);
  padding: 1rem;
  border-radius: 8px;
  margin: 0 0 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  list-style-type: none;
}
.category-mobile ul.active {
  display: flex;
  animation: slideDown 0.3s ease-in-out;
}
.category-mobile a {
  color: var(--cream);
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Animation for Dropdown */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer Styling */
.footer {
  background-color: var(--bg);
  color: var(--muted);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(197, 165, 114, 0.2);
  text-align: center;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}
.footer-logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-logo a span {
  color: var(--gold);
}
.footer-logo a:hover {
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-copy {
  font-size: 0.85rem;
  color: #777777;
  margin-top: 1rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .header-container nav { padding: 1rem 1.5rem; }
  .category-dropdown { padding: 0.5rem 1rem; }
  .category-bar { padding: 10px; }
  .dropdown-toggle svg { width: 28px; }
  .dropdown-menu { padding: 1.2rem; }
  .footer-logo a { font-size: 1.6rem; }
}
@media (max-width: 992px) {
  .header-container nav { padding: 1rem 1.2rem; }
  .category-dropdown, .category-bar { top: 50px; }
  .dropdown-menu a { font-size: 0.85rem; }
  .footer-logo a { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  body { padding-top: 56px; }
  .header-container nav {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem;
  }
  nav .logo { font-size: 1.3rem; }
  nav .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  }
  nav .nav-links.active { display: flex; }
  .category-dropdown, .category-bar { display: none; }
  .category-mobile { display: block; }
  .footer-logo a { font-size: 1.4rem; }
  .footer-links { gap: 1rem; }
}
@media (max-width: 576px) {
  .header-container nav { padding: 0.6rem; }
  nav .logo { font-size: 1.2rem; }
  nav .nav-links a { font-size: 0.8rem; }
  .category-mobile { padding: 0.6rem 0.8rem; }
  .mobile-toggle svg { width: 20px; height: 20px; }
  .category-mobile ul { padding: 0.8rem; }
  .category-mobile a { font-size: 0.9rem; }
  .footer-logo a { font-size: 1.3rem; }
  .footer-copy { font-size: 0.8rem; }
}