/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

.hbg-homepage {
    font-family: 'Inter', sans-serif;
    color: #0E2A1B;
    background: #F9FAFB;
    line-height: 1.6;
}

.hbg-homepage h1, .hbg-homepage h2, .hbg-homepage h3, .hbg-homepage h4 {
    font-family: 'Playfair Display', serif;
    color: #0E2A1B;
    margin-bottom: 0.5em;
}

.hbg-gold-italic {
    color: #C87D32;
    font-style: italic;
}

/* Buttons */
.hbg-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.hbg-btn-primary {
    background: #C87D32;
    color: #FFFFFF;
}
.hbg-btn-primary:hover {
    background: #b56e29;
}
.hbg-btn-outline {
    border: 1px solid #C87D32;
    color: #C87D32;
    background: transparent;
}
.hbg-btn-outline:hover {
    background: #C87D32;
    color: #FFFFFF;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 1. Hero */
.hbg-hero {
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.hbg-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #C87D32;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}
.hbg-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hbg-search-bar {
    margin: 2rem auto;
    max-width: 500px;
    display: flex;
    gap: 0.5rem;
}
.hbg-search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.hbg-search-bar button {
    background: #0E2A1B;
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    border-radius: 6px;
    cursor: pointer;
}
.hbg-chips {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.hbg-chip {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
}
.hbg-hero-actions { display: flex; gap: 1rem; justify-content: center; }

/* 2. Stats */
.hbg-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* 3. Alphabet */
.hbg-alphabet-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}
.hbg-letter-btn {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #0E2A1B;
    text-decoration: none;
    font-weight: 600;
}
.hbg-letter-btn:hover {
    background: #C87D32;
    color: #fff;
    border-color: #C87D32;
}

/* Utility Grid */
.hbg-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Cards */
.hbg-card, .hbg-region-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.hbg-explore-link {
    color: #C87D32;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

/* 5. Spotlight */
.hbg-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hbg-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}
.hbg-spec-badge {
    background: #eee;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Tags */
.hbg-tags a {
    display: inline-block;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: #0E2A1B;
    text-decoration: underline;
}

/* 7. Colors */
.hbg-colors {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}
.hbg-colors-visual {
    background: #D4A373;
    padding: 2rem;
    border-radius: 12px;
    color: #fff;
}
.hbg-colors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.hbg-color-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* 8. Table */
.hbg-table-responsive {
    overflow-x: auto;
}
.hbg-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.hbg-table th, .hbg-table td {
    padding: 1rem;
    border: 1px solid #eee;
    text-align: left;
}
.hbg-table th {
    background: #0E2A1B;
    color: #fff;
}

/* 9. Anatomy Box */
.hbg-anatomy {
    background: #0E2A1B;
    color: #fff;
    border-radius: 12px;
    padding: 3rem;
}
.hbg-anatomy h2 { color: #fff; }

/* 10. CTA Box */
.hbg-cta {
    text-align: center;
    border: 2px solid #C87D32;
    border-radius: 12px;
    padding: 4rem;
    background: #fff;
}

@media (max-width: 768px) {
    .hbg-spotlight, .hbg-colors {
        grid-template-columns: 1fr;
    }
}