/* ============================================
   DFW DOGS — Main Stylesheet
   dfwdogs.org
   ============================================ */

:root {
  --navy: #1a3a5c;
  --blue: #2c6fad;
  --blue-light: #4a9eda;
  --gold: #c8960a;
  --gold-light: #f5c842;
  --cream: #f9f6f1;
  --light-gray: #f4f7fa;
  --mid-gray: #e8edf2;
  --text: #2d2d2d;
  --text-muted: #6b7c8d;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(26,58,92,0.10);
  --shadow-hover: 0 8px 36px rgba(26,58,92,0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.25s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

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

.centered { text-align: center; }

/* ============================================
   HEADER & NAV
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--mid-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(26,58,92,0.08);
}

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

.logo-img { height: 64px; width: auto; }
.logo-link { flex-shrink: 0; }

.main-nav { position: relative; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 1.4rem;
  padding: 6px 14px;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition);
}

.nav-link:hover, .nav-link.active {
  background: var(--light-gray);
  color: var(--blue);
}

.btn-submit {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: 9px 16px !important;
}
.btn-submit:hover { background: var(--navy) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius);
  min-width: 230px;
  box-shadow: var(--shadow);
  z-index: 100;
  padding: 8px 0;
}

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

.dropdown-menu li a {
  display: block;
  padding: 9px 20px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
  border-radius: 0;
}
.dropdown-menu li a:hover { background: var(--light-gray); color: var(--blue); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a47 40%, #1a3a5c 70%, #2c5f8a 100%);
  padding: 60px 0 70px;
  overflow: hidden;
  min-height: auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a9eda' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 58, 92, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.15;
  text-shadow: 0 3px 12px rgba(0,0,0,0.4);
  font-weight: 900;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--blue-light);
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  max-width: 860px;
  margin: 0 auto 28px;
}

.search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-select, .search-input {
  flex: 1;
  min-width: 160px;
  padding: 12px 16px;
  border: 2px solid var(--mid-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}

.search-select:focus, .search-input:focus {
  outline: none;
  border-color: var(--blue);
}

.search-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.search-btn:hover { background: var(--navy); transform: translateY(-1px); }

/* Quick cats */
.quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.qcat {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}
.qcat:hover { background: rgba(255,255,255,0.25); color: var(--white); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 72px 0; }
.section-light { background: var(--cream); }
.section-categories { background: var(--white); }
.section-cities { background: var(--light-gray); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 20px;
  line-height: 1.8;
}
.centered .section-lead { margin: 0 auto 28px; }

.section-intro p {
  font-size: 1.02rem;
  margin-bottom: 14px;
  line-height: 1.8;
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 28px 18px 24px;
  transition: all var(--transition);
  color: var(--text);
}

.cat-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  color: var(--navy);
}

.cat-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.cat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   WHY SECTION — TWO COL
   ============================================ */
.section-why { background: var(--navy); color: var(--white); }
.section-why .section-title, .section-why h2 { color: var(--white); font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.section-why p { color: rgba(255,255,255,0.85); margin-bottom: 14px; font-size: 1rem; line-height: 1.8; }
.section-why a { color: var(--blue-light); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.feature-list li {
  padding: 6px 0;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.9);
}

.col-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 8px;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.stat-card.accent { background: var(--gold); border-color: var(--gold); }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-light);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card.accent .stat-num { color: var(--white); }

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* ============================================
   CITY TAGS
   ============================================ */
.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.city-tag {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 700;
  cursor: default;
}

/* ============================================
   BLOG GRID
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow); }

.blog-icon { font-size: 2rem; margin-bottom: 12px; }

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue); }

.blog-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 14px; }

.read-more { font-size: 0.88rem; font-weight: 700; color: var(--blue); }
.read-more:hover { color: var(--navy); }

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
  background: linear-gradient(135deg, var(--gold) 0%, #e8a808 100%);
  color: var(--white);
}
.section-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  color: var(--white);
}
.section-cta .section-lead { color: rgba(255,255,255,0.9); margin: 0 auto 28px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.btn-white:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ============================================
   DIRECTORY PAGE STYLES
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1d4a7a 100%);
  padding: 52px 0 44px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero p {
  color: var(--blue-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--mid-gray);
  padding: 16px 0;
  position: sticky;
  top: 84px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-select, .filter-input {
  padding: 10px 14px;
  border: 2px solid var(--mid-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.filter-select:focus, .filter-input:focus { outline: none; border-color: var(--blue); }

.filter-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background var(--transition);
}
.filter-btn:hover { background: var(--navy); }

.results-count {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* Listing Grid */
.listings-section { padding: 40px 0 72px; background: var(--light-gray); }

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--mid-gray);
  transition: all var(--transition);
  position: relative;
}
.listing-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--blue-light); }

.listing-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.listing-category {
  display: inline-block;
  background: var(--light-gray);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.listing-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.listing-phone a, .listing-website a {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.listing-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--mid-gray);
}
.listing-social a {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
}
.listing-social a:hover { color: var(--blue); }

/* Category Description Box */
.category-desc {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 32px 0;
}
.category-desc h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.category-desc h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--blue);
  margin: 18px 0 8px;
}
.category-desc p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo { height: 56px; margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-domain { font-size: 0.85rem; color: var(--gold-light); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 36px;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin: 24px 0 10px;
}

.about-text p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 16px;
}

.team-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================
   SUBMIT PAGE
   ============================================ */
.submit-form {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--mid-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

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

.form-group textarea { min-height: 100px; resize: vertical; }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--blue); }
.breadcrumb span { margin: 0 6px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 36px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item p { font-size: 0.95rem; line-height: 1.6; }
.contact-item a { color: var(--blue); font-weight: 700; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-block;
  padding: 9px 16px;
  border: 2px solid var(--mid-gray);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-hero { background: linear-gradient(135deg, var(--navy) 0%, #1d4a7a 100%); padding: 52px 0; text-align: center; }
.blog-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); }
.blog-hero p { color: var(--blue-light); font-size: 1.05rem; margin-top: 10px; }

.blog-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.blog-full-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition);
}
.blog-full-card:hover { box-shadow: var(--shadow); }

.blog-tag {
  display: inline-block;
  background: var(--light-gray);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.blog-full-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-full-card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .two-col, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .col-stat { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--mid-gray);
    border-radius: var(--radius);
    min-width: 240px;
    padding: 12px 0;
    box-shadow: var(--shadow);
    z-index: 200;
  }
  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-link { display: block; border-radius: 0; }
  .dropdown-menu { position: static; display: none; box-shadow: none; border: none; padding-left: 16px; }
  .nav-dropdown.open .dropdown-menu { display: block; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .search-row { flex-direction: column; }
  .search-select, .search-input, .search-btn { width: 100%; min-width: unset; }
  .filter-row { flex-direction: column; }
  .filter-select, .filter-input, .filter-btn { width: 100%; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 52px 0 48px; }
  .section { padding: 48px 0; }
}

/* ============================================
   MOBILE NAVIGATION ENHANCEMENTS
   ============================================ */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Mobile Menu Improvements */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px 24px;
    gap: 0;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid var(--mid-gray);
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 14px 0 !important;
    font-size: 1rem !important;
  }
  
  .nav-dropdown {
    width: 100%;
  }
  
  .nav-dropdown.open .dropdown-menu {
    display: block;
    position: static;
    width: 100%;
    background: var(--light-gray);
    box-shadow: none;
    padding: 8px 0;
    margin-top: 8px;
    margin-bottom: 8px;
  }
  
  .dropdown-menu li {
    border-bottom: none;
  }
  
  .dropdown-menu a {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
  }
  
  .btn-submit {
    background: var(--blue) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 8px;
  }
}

/* Print styles */
@media print {
  .site-header,
  .filter-bar,
  .back-to-top,
  .nav-overlay,
  .section-cta {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .listing-card {
    page-break-inside: avoid;
  }
}
