
:root {
    --color-primary: #3a7d3a;
    --color-primary-dark: #2d5f2d;
    --color-gold: #d4a843;
    --bg-cream: #f5f0e8;
    --white: #ffffff;
    --text-dark: #1a2e1a;
    --text-mid: #4a5a4a;
    --text-light: #8a9a8a;
    --border-color: #e0e0d8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --grad-green: linear-gradient(135deg, #3a7d3a, #5aad5a);
    --grad-gold: linear-gradient(135deg, #b8860b, #d4a843);
}
body.dark-mode {
    --bg-cream: #0a1210;
    --white: #162019;
    --text-dark: #e8f0e8;
    --text-mid: #b0c0b0;
    --text-light: #708070;
    --border-color: #2a3a2a;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg-cream); color: var(--text-dark); line-height: 1.6; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
body.dark-mode .navbar { background: rgba(22,32,25,0.95); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; height: 64px; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.1rem; color: var(--text-dark); text-decoration: none; white-space: nowrap; }
.nav-logo-icon { font-size: 1.5rem; }
.nav-links { display: flex; list-style: none; gap: 0.25rem; margin-left: auto; }
.nav-link { padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.88rem; font-weight: 500; color: var(--text-mid); text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background: var(--bg-cream); color: var(--color-primary); text-decoration: none; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 220px; padding: 0.5rem 0; z-index: 1001; list-style: none; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a { display: block; padding: 0.5rem 1rem; font-size: 0.85rem; color: var(--text-dark); text-decoration: none; transition: background 0.2s; }
.nav-dropdown-menu li a:hover { background: var(--bg-cream); color: var(--color-primary); text-decoration: none; }
.search-toggle, .dark-toggle { background: none; border: 2px solid var(--border-color); border-radius: 50%; width: 36px; height: 36px; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.search-toggle:hover, .dark-toggle:hover { border-color: var(--color-primary); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6rem 1.5rem 3rem; background: linear-gradient(135deg, #1a3a1a 0%, #2d5f2d 50%, #1a4a2a 100%); color: white; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -30%; width: 80%; height: 200%; background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%); }
.hero-float { position: absolute; font-size: 2rem; opacity: 0.15; animation: float 6s ease-in-out infinite; }
.hero-float:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-float:nth-child(2) { top: 25%; right: 15%; animation-delay: 1s; }
.hero-float:nth-child(3) { bottom: 25%; left: 20%; animation-delay: 2s; }
.hero-float:nth-child(4) { bottom: 15%; right: 25%; animation-delay: 3s; }
.hero-float:nth-child(5) { top: 50%; left: 5%; animation-delay: 4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; margin-bottom: 1.5rem; backdrop-filter: blur(5px); }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.hero h1 span { background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn { display: inline-block; padding: 0.8rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: all 0.3s; cursor: pointer; border: none; text-decoration: none; }
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-dark); text-decoration: none; }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); text-decoration: none; }
.hero-stats { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; }
.hero-stat-label { font-size: 0.8rem; opacity: 0.7; }

/* SECTIONS */
.section { padding: 5rem 1.5rem; }
.section:first-of-type { padding-top: 100px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: inline-block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.75rem; }
.section-header p { font-size: 1rem; color: var(--text-mid); max-width: 600px; margin: 0 auto; }

/* CARDS */
.card { background: var(--white); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; color: var(--text-mid); }
.overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

/* QUICK LINKS */
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.quick-link { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text-dark); transition: all 0.3s; border-left: 4px solid transparent; }
.quick-link:hover { transform: translateX(4px); border-left-color: var(--color-primary); text-decoration: none; box-shadow: var(--shadow-md); }
.quick-link-icon { font-size: 1.8rem; }
.quick-link-text h4 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.quick-link-text p { font-size: 0.8rem; color: var(--text-light); }

/* FORMS */
input, select, textarea { padding: 0.6rem 0.8rem; border: 2px solid var(--border-color); border-radius: 8px; font-size: 0.9rem; background: var(--white); color: var(--text-dark); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-primary); }

/* TABS */
.tab-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tab-btn { padding: 0.5rem 1rem; border: 2px solid var(--border-color); border-radius: 50px; background: var(--white); color: var(--text-mid); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.tab-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.tab-btn.active { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ACCORDION */
.accordion-item { background: var(--white); border-radius: 12px; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.accordion-header { padding: 1rem 1.25rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.95rem; }
.accordion-header:hover { background: var(--bg-cream); }
.accordion-body { padding: 0 1.25rem 1rem; font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; display: none; }
.accordion-item.open .accordion-body { display: block; }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: white; border: none; font-size: 1.2rem; cursor: pointer; opacity: 0; transition: all 0.3s; z-index: 999; }
.back-to-top.visible { opacity: 1; }

/* SEARCH OVERLAY */
.search-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 2000; }
.search-overlay.open { display: flex; align-items: flex-start; justify-content: center; padding-top: 10vh; }
.search-panel { background: var(--white); border-radius: 16px; width: 90%; max-width: 600px; max-height: 70vh; overflow-y: auto; padding: 1.5rem; box-shadow: var(--shadow-lg); }
.search-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.search-panel-header h3 { font-size: 1.1rem; }
.search-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-mid); }
.search-input-wrap { margin-bottom: 1rem; }
.search-input-wrap input { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--border-color); border-radius: 50px; font-size: 0.95rem; }
.search-quick-links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.search-quick-link { padding: 0.3rem 0.7rem; border: 1px solid var(--border-color); border-radius: 20px; background: var(--bg-cream); font-size: 0.78rem; cursor: pointer; color: var(--text-mid); transition: all 0.2s; }
.search-quick-link:hover { border-color: var(--color-primary); color: var(--color-primary); }
#searchResults .search-result { padding: 0.75rem; border-radius: 8px; cursor: pointer; margin-bottom: 0.5rem; border: 1px solid transparent; }
#searchResults .search-result:hover { background: var(--bg-cream); border-color: var(--border-color); }
#searchResults .search-result h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
#searchResults .search-result p { font-size: 0.8rem; color: var(--text-light); }

/* FOOTER */
.footer { background: #1a2e1a; color: white; padding: 3rem 1.5rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-col p { font-size: 0.85rem; opacity: 0.7; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; text-decoration: none; }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; opacity: 0.5; }

/* FADE UP */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* DIRECTORY SECTION */
.directory-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; padding: 1.5rem; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); }
.filter-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-mid); }
.filter-group select, .filter-group input { width: 100%; padding: 0.6rem 0.8rem; border: 2px solid var(--border-color); border-radius: 8px; font-size: 0.9rem; background: var(--white); color: var(--text-dark); }
.directory-stats { text-align: center; margin-bottom: 1.5rem; font-size: 0.9rem; color: var(--text-mid); }
.directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.dir-card { background: var(--white); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-sm); transition: all 0.3s; border-left: 4px solid var(--color-primary); }
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dir-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.dir-card-name { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); }
.dir-card-type { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.72rem; font-weight: 600; background: var(--bg-cream); color: var(--color-primary); }
.dir-card-location { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.dir-card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.75rem; }
.dir-card-detail { font-size: 0.82rem; color: var(--text-mid); }
.dir-card-detail strong { color: var(--text-dark); }
.dir-card-contact { padding-top: 0.75rem; border-top: 1px solid var(--border-color); }
.dir-card-contact-item { font-size: 0.82rem; color: var(--text-mid); margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.4rem; }
.dir-card-contact-item a { color: var(--color-primary); }
.dir-card-status { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 12px; font-size: 0.7rem; font-weight: 600; }
.dir-card-status.active { background: #e8f5e9; color: #2e7d32; }
body.dark-mode .dir-card-status.active { background: #1b5e20; color: #a5d6a7; }
.dir-card-status.pending { background: #fff3e0; color: #e65100; }
body.dark-mode .dir-card-status.pending { background: #bf360c; color: #ffcc80; }
.dir-card-products { margin-top: 0.5rem; }
.dir-card-products-tag { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 12px; font-size: 0.72rem; background: var(--bg-cream); color: var(--text-mid); margin: 0.15rem 0.25rem 0.15rem 0; }
.dir-empty { text-align: center; padding: 3rem; color: var(--text-mid); }
.dir-empty-icon { font-size: 3rem; margin-bottom: 1rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { position: fixed; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border-color); display: none; }
    .nav-links.open { display: flex; }
    .nav-dropdown-menu { position: static; box-shadow: none; background: var(--bg-cream); border-radius: 8px; margin: 0.25rem 0 0.5rem 1rem; padding: 0.25rem 0; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-num { font-size: 1.3rem; }
    .section-header h2 { font-size: 1.6rem; }
}
