@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --primary:   #2e2e2e;
  --surface:   #383838;
  --card:      #424242;
  --accent:    #c8a96e;
  --accent2:   #d4b97e;
  --accent3:   #b8994e;
  --text:      #f5f5f5;
  --muted:     #b0a898;
  --white:     #ffffff;
  --border:    rgba(200,169,110,0.25);
  --border2:   rgba(200,169,110,0.12);
}

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

body {
  font-family: 'Barlow', sans-serif;
  background: #f0ede8;
  color: #2e2e2e;
  min-height: 100vh;
}

/* =====================
   HEADER
   ===================== */
header {
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  gap: 20px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

/* SEARCH */
.search-bar {
  flex: 1;
  max-width: 580px;
  display: flex;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.search-bar:focus-within { border-color: var(--accent2); }

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 16px;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  outline: none;
  min-width: 0;
}

.search-bar input::placeholder { color: var(--muted); }

.search-bar button {
  background: var(--accent);
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  color: var(--primary);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}

.search-bar button:hover { background: var(--accent2); }

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-actions a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  text-align: center;
  transition: color 0.2s;
  line-height: 1.3;
}

.header-actions a:hover { color: var(--white); }
.header-actions .icon { font-size: 20px; display: block; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* NAV */
nav {
  background: var(--card);
  border-top: 1px solid var(--border2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0 20px;
  gap: 0;
  white-space: nowrap;
}

nav ul li a {
  display: block;
  padding: 11px 14px;
  color: var(--muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s, border-bottom-color 0.2s;
  border-bottom: 3px solid transparent;
}

nav ul li a:hover,
nav ul li a:active {
  color: var(--white);
  border-bottom-color: var(--accent);
}

/* Mobile nav - vertical dropdown */
nav.mobile-open {
  overflow-x: hidden;
}

nav.mobile-open ul {
  flex-direction: column;
  white-space: normal;
  padding: 8px 0;
}

nav.mobile-open ul li a {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border2);
  font-size: 15px;
}

/* =====================
   HERO
   ===================== */
.hero {
  background: linear-gradient(135deg, #2e2e2e 0%, #3a3530 50%, #2a2520 100%);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse, rgba(200,169,110,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

.hero h1 span { color: var(--accent2); }

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 32px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  padding: 13px 32px;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--accent2);
  padding: 13px 32px;
  border-radius: 6px;
  border: 2px solid var(--accent);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

/* =====================
   SECTION
   ===================== */
.section {
  padding: 60px 40px;
  background: #f0ede8;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: #2e2e2e;
}

.section-title span { color: var(--accent3); }

.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent3), var(--accent2));
  border-radius: 2px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: #7a746e;
  font-size: 15px;
  margin-bottom: 36px;
  font-weight: 300;
}

/* =====================
   CATEGORY GRID
   ===================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.category-card {
  background: #ffffff;
  border: 1px solid #ddd8d0;
  border-radius: 10px;
  padding: 28px 24px;
  text-decoration: none;
  color: #2e2e2e;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.25s;
  transform-origin: bottom;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-card:hover::before { transform: scaleY(1); }

.category-icon { font-size: 34px; margin-bottom: 14px; display: block; }

.category-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: #2e2e2e;
}

.category-subs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.category-subs li {
  font-size: 13px;
  color: #7a746e;
  padding-left: 13px;
  position: relative;
}

.category-subs li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent3);
}

/* =====================
   PAGE HEADER
   ===================== */
.page-header {
  background: linear-gradient(135deg, #2e2e2e, #3d3830);
  padding: 44px 40px;
  border-bottom: 3px solid var(--accent);
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumb a { color: var(--accent2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.page-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
}

.page-header h1 span { color: var(--accent2); }

/* =====================
   SUB CARDS
   ===================== */
.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 40px;
  background: #f0ede8;
}

.sub-card {
  background: #ffffff;
  border: 1px solid #ddd8d0;
  border-radius: 10px;
  padding: 32px 28px;
  text-decoration: none;
  color: #2e2e2e;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sub-card .sub-icon { font-size: 40px; }

.sub-card .sub-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2e2e2e;
}

.sub-card .sub-desc {
  font-size: 14px;
  color: #7a746e;
  line-height: 1.6;
  font-weight: 300;
}

.sub-card .sub-link {
  margin-top: 8px;
  font-size: 13px;
  color: var(--accent3);
  font-weight: 600;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #1a1a1a !important;
  border-top: none !important;
  padding: 60px 80px 0 !important;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #333;
}

.footer-brand .logo img {
  height: 55px !important;
  max-width: 240px !important;
  margin-bottom: 18px !important;
}

.footer-brand p {
  color: #888 !important;
  font-size: 14px;
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c8a96e;
  color: #1a1a1a;
  padding: 11px 24px;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-call-btn:hover { background: #d4b97e; }

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff !important;
  margin-bottom: 18px !important;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #888 !important; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: #c8a96e !important; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #888;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-contact li a { color: #c8a96e !important; }
.footer-contact li a:hover { color: #d4b97e !important; }
.footer-icon { font-size: 16px; flex-shrink: 0; }

.footer-bottom {
  padding: 20px 0 !important;
  border-top: none !important;
  text-align: center;
  color: #555 !important;
  font-size: 13px;
}

/* =====================
   TABLET — max 1024px
   ===================== */
@media (max-width: 1024px) {
  .header-top { padding: 14px 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 48px 40px 0 !important; }
}

/* =====================
   MOBILE — max 768px
   ===================== */
@media (max-width: 768px) {

  /* Header */
  .header-top {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo img { height: 40px; max-width: 200px; }

  /* Show hamburger, hide search and actions by default */
  .hamburger { display: flex; }

  .search-bar {
    order: 3;
    flex: 0 0 100%;
    max-width: 100%;
    display: none;
  }

  .search-bar.mobile-visible { display: flex; }

  .header-actions { display: none; }

  /* Nav becomes vertical dropdown */
  nav { display: none; }
  nav.mobile-open { display: block; overflow-x: hidden; }
  nav.mobile-open ul {
    flex-direction: column;
    white-space: normal;
    padding: 0;
  }
  nav.mobile-open ul li a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border2);
    font-size: 15px;
    border-bottom-color: var(--border2) !important;
  }

  /* Hero */
  .hero { padding: 48px 20px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }

  /* Sections */
  .section { padding: 36px 16px; }
  .section-title { font-size: 28px; }

  /* Category grid — 1 column on mobile */
  .categories-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Page header */
  .page-header { padding: 28px 16px; }
  .page-header h1 { font-size: 30px; }

  /* Sub cards — 1 column on mobile */
  .subcategories-grid {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 14px;
  }

  .sub-card { padding: 24px 20px; }

  /* Footer */
  footer { padding: 40px 20px 0 !important; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-brand p { max-width: 100%; }
  .footer-call-btn { width: 100%; justify-content: center; }
}

/* =====================
   SMALL MOBILE — max 480px
   ===================== */
@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .page-header h1 { font-size: 26px; }
  .section-title { font-size: 24px; }
}
