/* Design 06: Modern Minimal
 * Ultra-clean design with transparent sticky header, lots of whitespace, subtle interactions
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-dark); background: var(--color-light); line-height: 1.7; }
a { color: var(--color-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; border-radius: var(--border-radius); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; color: var(--color-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* === HEADER - Transparent, becomes solid on scroll === */
.site-header { background: transparent; padding: 0; position: sticky; top: 0; z-index: 100; transition: all 0.3s; }
.site-header.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo img { max-height: 32px; }
.site-logo .logo-text { font-family: var(--font-logo); font-size: var(--logo-font-size); font-weight: var(--logo-font-weight); color: var(--color-dark); }

/* === NAV - In header, simple clean === */
.nav-list { display: flex; list-style: none; gap: 0; }
.nav-item a { display: block; padding: 8px 16px; color: var(--color-dark); font-size: 0.9rem; font-weight: 400; transition: color 0.2s; }
.nav-item a:hover { color: var(--color-accent); }

.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--color-light); border-radius: var(--border-radius); min-width: 200px; z-index: 100; box-shadow: 0 8px 32px rgba(0,0,0,0.08); list-style: none; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { padding: 10px 16px; display: block; font-size: 0.85rem; }
.dropdown li a:hover { color: var(--color-accent); background: var(--color-muted); }
.dropdown-divider { border-top: 1px solid var(--color-muted); margin: 4px 0; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--color-dark); margin: 5px 0; transition: all 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); z-index: 999; }
.mobile-nav-overlay.active { display: flex; align-items: center; justify-content: center; }
.mobile-nav { width: 100%; max-width: 400px; padding: 32px; text-align: center; }
.mobile-nav .nav-list { flex-direction: column; gap: 0; }
.mobile-nav .nav-item a { padding: 16px 0; font-size: 1.2rem; font-weight: 500; border-bottom: none; }
.mobile-nav .dropdown { position: static; display: block; box-shadow: none; }
.mobile-nav .dropdown li a { font-size: 1rem; }

.nav-below { display: none; }

.site-main { min-height: 60vh; padding: 48px 0; }

.breadcrumbs { padding: 12px 32px; font-size: 0.8rem; color: #bbb; }
.breadcrumbs a { color: #bbb; }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs .sep { margin: 0 8px; }

/* === FEATURED GRID === */
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 64px; }
.featured-main { grid-row: span 2; }
.featured-card { display: block; position: relative; overflow: hidden; border-radius: var(--border-radius); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.featured-card:hover .featured-image img { transform: scale(1.02); }
.featured-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); }
.featured-category { font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--color-light); opacity: 0.8; }
.featured-title { font-size: 1.1rem; margin-top: 6px; color: var(--color-light); font-weight: 500; }
.featured-main .featured-title { font-size: 1.8rem; }
.featured-excerpt { font-size: 0.85rem; margin-top: 8px; color: rgba(255,255,255,0.8); }

/* === CATEGORY SECTIONS === */
.category-section { margin-bottom: 64px; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.section-title { font-size: 1.2rem; font-weight: 500; }
.see-all { font-size: 0.8rem; color: var(--color-accent); font-weight: 400; }

/* === POST CARDS === */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { display: block; background: transparent; overflow: hidden; transition: opacity 0.3s; }
.post-card:hover { opacity: 0.8; }
.post-card-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.post-card-body { padding: 16px 0; }
.post-card-title { font-size: 1rem; font-weight: 500; color: var(--color-dark); }
.post-card-excerpt { font-size: 0.85rem; color: #999; margin-top: 8px; }
.post-card-date { font-size: 0.75rem; color: #ccc; margin-top: 8px; display: block; }

/* === SINGLE POST === */
.single-post.has-sidebar { display: grid; grid-template-columns: 1fr 280px; gap: 56px; }
.single-post.sidebar-left { grid-template-columns: 280px 1fr; }
.single-post.sidebar-left .sidebar { order: -1; }
.post-header { margin-bottom: 32px; }
.post-category { font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; color: #999; }
.post-title { font-size: 2.4rem; margin-top: 12px; font-weight: 500; }
.post-date { font-size: 0.8rem; color: #ccc; margin-top: 12px; display: block; }
.post-featured-image { margin-bottom: 32px; }
.post-featured-image img { width: 100%; }
.post-body { font-size: 1.05rem; line-height: 1.85; }
.post-body h2 { font-size: 1.5rem; margin: 40px 0 16px; font-weight: 500; }
.post-body h3 { font-size: 1.2rem; margin: 32px 0 12px; font-weight: 500; }
.post-body p { margin-bottom: 18px; }

.post-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 4px 12px; background: var(--color-muted); border-radius: var(--border-radius); font-size: 0.8rem; color: #888; }
.tag:hover { color: var(--color-accent); }

.internal-links { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-muted); }
.internal-links h3 { font-size: 1rem; font-weight: 500; margin-bottom: 16px; }
.internal-links ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.internal-links li a { font-size: 0.85rem; color: #888; }
.internal-links li a:hover { color: var(--color-accent); }

/* === SIDEBAR === */
.sidebar { display: flex; flex-direction: column; gap: 32px; }
.sidebar-widget { padding: 0; }
.sidebar-widget h3 { font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 16px; color: #999; }
.widget-related .related-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--color-muted); }
.widget-related .related-item img { width: 56px; height: 42px; object-fit: cover; }
.widget-related .related-item span { font-size: 0.85rem; color: var(--color-dark); }
.widget-categories ul { list-style: none; }
.widget-categories li { padding: 8px 0; }
.widget-categories a { font-size: 0.85rem; color: #888; }
.widget-categories a:hover { color: var(--color-accent); }

/* === STATIC PAGE === */
.static-page { max-width: 720px; padding: 48px 32px; }
.page-title { font-size: 2.2rem; margin-bottom: 32px; font-weight: 500; }
.page-body { font-size: 1.05rem; line-height: 1.85; }
.page-body p { margin-bottom: 18px; }

.category-header { margin-bottom: 40px; }
.category-title { font-size: 2rem; font-weight: 500; }
.category-description { font-size: 1rem; color: #999; margin-top: 8px; }

.banner { margin: 32px auto; text-align: center; }

/* === ENTITY / LOCAL === */
.entity-hero { text-align: center; padding: 80px 0 60px; }
.entity-title { font-size: 2.5rem; font-weight: 500; }
.entity-subtitle { font-size: 1rem; color: #999; margin-top: 12px; }
.sections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0; }
.section-card { padding: 32px; background: var(--color-muted); border-radius: var(--border-radius); text-align: center; transition: all 0.3s; }
.section-card:hover { transform: translateY(-2px); }
.section-card h2 { font-size: 1rem; font-weight: 500; margin-top: 12px; }

.local-hero { background: var(--color-dark); color: var(--color-light); padding: 80px 0; text-align: center; }
.hero-title { font-size: 2.5rem; color: var(--color-light); font-weight: 500; }
.hero-subtitle { font-size: 1rem; opacity: 0.7; margin-top: 12px; }
.btn { display: inline-block; padding: 12px 28px; font-weight: 500; font-size: 0.9rem; border-radius: var(--border-radius); transition: all 0.2s; }
.btn-primary { background: var(--color-accent); color: var(--color-light); }
.btn-primary:hover { opacity: 0.9; color: var(--color-light); }
.local-services, .local-locations, .local-blog { margin: 56px auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.service-card { background: var(--color-muted); padding: 28px; border-radius: var(--border-radius); text-align: center; transition: all 0.3s; }
.service-card:hover { transform: translateY(-2px); }
.service-card h3 { margin-top: 12px; font-size: 0.95rem; font-weight: 500; color: var(--color-dark); }
.locations-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.location-link { padding: 8px 16px; background: var(--color-muted); border-radius: var(--border-radius); font-size: 0.85rem; color: var(--color-dark); }
.location-link:hover { color: var(--color-accent); }

/* === FOOTER === */
.site-footer { background: var(--color-muted); color: var(--color-dark); padding: 56px 0 0; margin-top: 64px; }
.footer-bg-dark { background: var(--color-dark); color: var(--color-light); }
.footer-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col h3 { font-size: 0.8rem; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 16px; color: #999; }
.footer-bg-dark .footer-col h3 { color: rgba(255,255,255,0.5); }
.footer-links, .footer-posts { list-style: none; }
.footer-links li, .footer-posts li { padding: 4px 0; }
.footer-links a, .footer-posts a { color: var(--color-dark); opacity: 0.5; font-size: 0.85rem; }
.footer-bg-dark .footer-links a, .footer-bg-dark .footer-posts a { color: var(--color-light); }
.footer-links a:hover, .footer-posts a:hover { opacity: 1; color: var(--color-accent); }
.footer-about { font-size: 0.85rem; opacity: 0.5; }
.footer-bottom { margin-top: 40px; padding: 16px 0; border-top: 1px solid rgba(0,0,0,0.06); text-align: center; font-size: 0.75rem; opacity: 0.4; }
.footer-bg-dark .footer-bottom { border-top-color: rgba(255,255,255,0.06); }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav { display: none; }
    .featured-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .single-post.has-sidebar { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .sections-grid, .services-grid { grid-template-columns: 1fr; }
}
