/*
 * Template 5: Minimalist Clean
 * Ultra-clean design with generous whitespace
 * Soft Green/Sage color scheme
 */

/* ============================================
   CSS Variables Override - Minimalist Clean
   ============================================ */
:root {
    --primary-color: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --secondary-color: #6ee7b7;
    --accent-color: #34d399;
    --success-color: #22c55e;
    --danger-color: #f43f5e;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

/* ============================================
   Header - Minimalist Clean
   ============================================ */
.site-header {
    background: var(--bg-white);
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    padding: 1.5rem 0;
}

.site-branding {
    gap: 0.875rem;
}

.site-title {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.site-logo-icon {
    background: var(--primary-color);
    border-radius: var(--radius-md);
    width: 44px;
    height: 44px;
}

.site-description {
    display: none;
}

.primary-navigation a {
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.875rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
    background: transparent;
    color: var(--primary-color);
}

/* ============================================
   Hero Section - Minimalist Clean
   ============================================ */
.hero-section {
    background: var(--bg-light) !important;
    min-height: 600px;
    position: relative;
}

.hero-section::before {
    display: none !important;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 3.5rem !important;
    line-height: 1.15;
    text-shadow: none !important;
    letter-spacing: -0.03em;
}

.hero-content p {
    color: var(--text-muted) !important;
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 1 !important;
    line-height: 1.7;
}

.hero-btn {
    background: var(--primary-color) !important;
    color: var(--bg-white) !important;
    border: none;
    box-shadow: none;
    font-weight: 500;
    border-radius: var(--radius-md) !important;
    padding: 0.875rem 1.75rem !important;
    font-size: 0.9375rem !important;
}

.hero-btn:hover {
    background: var(--primary-dark) !important;
    transform: none;
    box-shadow: var(--shadow-md);
}

/* ============================================
   Search Section - Minimalist Clean
   ============================================ */
.search-section {
    background: var(--bg-white);
    padding: 3rem 0;
    margin-top: -80px;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.search-box h3 {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.search-form select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    background: var(--bg-white);
}

.search-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* ============================================
   Cards - Minimalist Clean
   ============================================ */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: none;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-image {
    position: relative;
    padding-top: 66%;
    overflow: hidden;
}

.card-image img {
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.03);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.card-title a {
    color: var(--text-dark);
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.card-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 0.875rem 1.5rem;
}

.card-count {
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    border-radius: var(--radius-sm);
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

/* Card Rating & Location */
.card-rating .star-filled {
    color: #fbbf24;
    fill: #fbbf24;
}

.card-location svg {
    color: var(--primary-color);
}

/* ============================================
   Section Headers - Minimalist Clean
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h3 {
    font-weight: 600;
    font-size: 2rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-header h3::after {
    display: none;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ============================================
   Browse Section - Minimalist Clean
   ============================================ */
.browse-section {
    background: var(--bg-white);
}

/* ============================================
   Popular Section - Minimalist Clean
   ============================================ */
.popular-section {
    background: var(--bg-light) !important;
}

/* ============================================
   Articles Section - Minimalist Clean
   ============================================ */
.articles-section {
    background: var(--bg-white);
}

.blog-card .card-date {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

.blog-card .btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
}

.blog-card .btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ============================================
   Buttons - Minimalist Clean
   ============================================ */
.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* ============================================
   Pagination - Minimalist Clean
   ============================================ */
.pagination a,
.pagination span,
.nav-links a,
.nav-links span,
.page-numbers {
    border-radius: var(--radius-md);
    font-weight: 500;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    min-width: 40px;
    height: 40px;
}

.pagination a:hover,
.nav-links a:hover,
a.page-numbers:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: none;
    box-shadow: none;
}

.pagination .current,
.nav-links .current,
span.page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ============================================
   Footer - Minimalist Clean
   ============================================ */
.site-footer {
    background: var(--bg-dark);
    padding: 3rem 0 1.5rem;
}

.site-footer h4 {
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bg-white);
}

.footer-navigation a {
    font-size: 0.9375rem;
}

.footer-navigation a:hover {
    color: var(--primary-light);
}

.footer-logo-icon {
    background: var(--primary-color);
    width: 48px;
    height: 48px;
}

.footer-bottom {
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
}

/* ============================================
   Single Directory Page - Minimalist Clean
   ============================================ */
.single-directory-header {
    background: var(--primary-color);
    padding: 2.5rem 0;
}

.single-directory-header h1 {
    font-weight: 600;
    font-size: 2rem;
}

.taxonomy-header {
    background: var(--primary-color);
    padding: 2.5rem 0;
}

.taxonomy-header h1 {
    font-weight: 600;
    font-size: 1.75rem;
}

.page-header {
    background: var(--primary-color);
    padding: 2.5rem 0;
}

.page-header h1 {
    font-weight: 600;
    font-size: 1.75rem;
}

/* ============================================
   Content Section - Minimalist Clean
   ============================================ */
.content-section {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.content-section h2 {
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.sidebar-widget h3 {
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ============================================
   Business Hours - Minimalist Clean
   ============================================ */
.business-hours {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: none;
}

.hours-list li {
    font-size: 0.875rem;
    border-bottom-color: var(--border-color);
}

.status-open {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.75rem;
}

.status-closed {
    background: rgba(244, 63, 94, 0.1);
    color: var(--danger-color);
    font-weight: 600;
    font-size: 0.75rem;
}

/* ============================================
   Attributes - Minimalist Clean
   ============================================ */
.attribute-tag {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.8125rem;
    font-weight: 500;
}

.attribute-tag svg {
    color: var(--primary-color);
}

/* ============================================
   Contact List - Minimalist Clean
   ============================================ */
.contact-list li {
    border-bottom: 1px solid var(--border-color);
    padding: 0.875rem 0;
}

.contact-list svg {
    color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.contact-list a {
    font-size: 0.9375rem;
}

/* ============================================
   Breadcrumbs - Minimalist Clean
   ============================================ */
.breadcrumbs {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.breadcrumbs-list {
    font-size: 0.8125rem;
}

.breadcrumbs-list a {
    color: var(--text-muted);
}

.breadcrumbs-list a:hover {
    color: var(--primary-color);
}

/* ============================================
   Grid Layouts - Minimalist Clean
   ============================================ */
.grid-4,
.grid-3,
.grid-2 {
    gap: 1.5rem;
}

/* ============================================
   Forms & Inputs - Minimalist Clean
   ============================================ */
input, select, textarea {
    font-family: 'DM Sans', sans-serif;
}

/* ============================================
   Rating Stars - Minimalist Clean
   ============================================ */
.rating-stars .star-filled {
    color: #fbbf24;
    fill: #fbbf24;
}

/* ============================================
   Links - Minimalist Clean
   ============================================ */
a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   Responsive Adjustments - Minimalist Clean
   ============================================ */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.25rem !important;
    }
    
    .section-header h3 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .search-box {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .site-footer {
        padding: 2rem 0 1rem;
    }
}

/* ============================================
   Utility Overrides - Minimalist Clean
   ============================================ */
.text-center {
    text-align: center;
}

/* Remove all unnecessary shadows and effects for minimal look */
.card:hover,
.btn:hover {
    transform: translateY(-2px);
}

/* Subtle hover states */
.card:hover {
    border-color: var(--primary-light);
}
