/* Clean and Minimal Design with Readable Colors */

/* Clean Color Palette */
:root {
    --site-primary: #2563eb;
    --site-secondary: #64748b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --background-primary: #ffffff;
    --background-secondary: #f8fafc;
    --background-light: #f1f5f9;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --clean-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --clean-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive Images */
.single_page_content img,
#contentSection img,
.content-area img,
.entry-content img,
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    border-radius: 4px;
}

/* Clean Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-secondary);
    font-weight: 400;
}

/* Clean Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

h1 { 
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

h2 { 
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
}

h3 { 
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

h4 { 
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

/* Section Headers */
.section-header {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.section-header h2 {
    display: inline-block;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--site-primary);
}

/* Latest Post Headers */
.latest_post h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.latest_post h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 80px;
    height: 2px;
    background-color: var(--site-primary);
}

.latest_post h2 span {
    position: relative;
    display: inline-block;
    padding-right: 15px;
    background: var(--background-primary);
    z-index: 1;
}

/* Content Section Headers */
#contentSection h1 {
    text-transform: none !important;
}

#contentSection h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

#contentSection h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 80px;
    height: 2px;
    background-color: var(--site-primary);
}

#contentSection h2 span {
    position: relative;
    display: inline-block;
    padding-right: 15px;
    background: var(--background-secondary);
    z-index: 1;
}

/* Clean Paragraphs */
p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Clean Links */
a {
    color: var(--site-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

/* Clean Header */
#header {
    background: var(--background-primary);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--clean-shadow);
}

.header_top {
    background: var(--background-light);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
}

.header_top_left .social_nav li a {
    color: var(--text-secondary);
    font-size: 16px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.header_top_left .social_nav li a:hover {
    color: var(--site-primary);
    background: var(--background-primary);
}

.header_top_right p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.header_bottom {
    padding: 16px 0;
}

/* Clean Navigation */
#navArea {
    background: var(--background-primary);
    border-bottom: 1px solid var(--border-light);
    box-shadow: none;
}

.navbar {
    background: transparent;
    border: none;
    margin: 0;
}

.main_nav > li > a {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 16px 20px !important;
    transition: all 0.2s ease;
    border: none !important;
    text-transform: none;
    letter-spacing: normal;
}

.main_nav > li > a:hover,
.main_nav > li.active > a {
    background: var(--background-light) !important;
    color: var(--site-primary) !important;
}

.dropdown-menu {
    background: var(--background-primary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: var(--clean-shadow-md);
    padding: 4px 0;
    margin-top: 4px;
}

.dropdown-menu > li > a {
    color: var(--text-primary);
    font-weight: 400;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.dropdown-menu > li > a:hover {
    background: var(--background-light);
    color: var(--site-primary);
}

/* Clean News Section */
#newsSection {
    background: var(--background-primary);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
}

.latest_newsarea {
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: none;
}

.latest_newsarea span {
    background: var(--site-primary) !important;
    color: var(--background-primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Clean Content Cards */
.single_post_content {
    background: var(--background-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: var(--clean-shadow);
    margin-bottom: 24px;
    overflow: hidden;
}

.single_post_content h2 {
    background: var(--background-light);
    color: var(--text-primary);
    margin: 0;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
}

.single_post_content h2 span {
    background: none !important;
    color: var(--text-primary) !important;
    padding: 0 !important;
    font-weight: 600 !important;
    text-transform: none;
    letter-spacing: normal;
}

/* Clean News Items */
.business_catgnav li {
    background: var(--background-primary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: var(--clean-shadow);
    overflow: hidden;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.business_catgnav li:hover {
    box-shadow: var(--clean-shadow-md);
    transform: translateY(-1px);
}

.bsbig_fig figcaption {
    padding: 16px;
}

.bsbig_fig figcaption a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
}

.bsbig_fig figcaption a:hover {
    color: var(--site-primary);
}

.bsbig_fig p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0 0;
}

/* Clean Latest Post */
.latest_post {
    background: var(--background-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: var(--clean-shadow);
    overflow: hidden;
}

.latest_post > h2 {
    background: var(--background-light);
    color: var(--text-primary);
    margin: 0;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
}

.latest_post > h2 span {
    background: none !important;
    color: var(--text-primary) !important;
    padding: 0 !important;
    font-weight: 600 !important;
}

.latest_postnav li .media-body a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

.latest_postnav li .media-body a:hover {
    color: var(--site-primary);
}

/* Clean Footer */
#footer {
    background: var(--text-primary);
    color: var(--text-muted);
    padding: 32px 0 16px;
    margin-top: 32px;
}

.footer_widget h2 {
    color: var(--background-primary) !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: normal;
}

.footer_widget p,
.footer_widget address {
    color: var(--text-muted) !important;
    line-height: 1.6;
    font-size: 14px;
}

.footer_menu li a {
    color: var(--text-muted) !important;
    font-weight: 400;
    padding: 4px 0;
    display: block;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer_menu li a:hover {
    color: var(--background-primary) !important;
}

.footer_widget address i {
    color: var(--site-primary) !important;
    margin-right: 8px;
    width: 16px;
}

.copyright {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-muted) !important;
    text-align: center;
    padding: 16px 0;
    margin: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Clean Social Icons */
.social_nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social_nav li a {
    width: 32px;
    height: 32px;
    background: var(--background-light);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.social_nav li a:hover {
    background: var(--site-primary);
    color: var(--background-primary);
    border-color: var(--site-primary);
}

/* Clean Buttons */
.btn, button, input[type="submit"] {
    background: var(--site-primary);
    color: var(--background-primary);
    border: 1px solid var(--site-primary);
    padding: 10px 20px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn:hover, button:hover, input[type="submit"]:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--background-primary);
}

/* Clean Forms */
.form-control, input, textarea, select {
    border: 1px solid var(--border-medium);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--background-primary);
    transition: border-color 0.2s ease;
}

.form-control:focus, input:focus, textarea:focus, select:focus {
    border-color: var(--site-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Clean Breadcrumb */
.breadcrumb {
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-left: 3px solid var(--site-primary);
}

.breadcrumb > li > a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb > li > a:hover {
    color: var(--site-primary);
}

.breadcrumb > .active {
    color: var(--text-primary);
    font-weight: 500;
}

/* Clean Gallery */
.photograph_nav li {
    margin-bottom: 16px;
}

.photo_grid {
    background: var(--background-primary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--clean-shadow);
    transition: all 0.2s ease;
}

.photo_grid:hover {
    box-shadow: var(--clean-shadow-md);
    transform: translateY(-1px);
}

/* Clean Scroll to Top */
.scrollToTop {
    background: var(--site-primary) !important;
    color: var(--background-primary) !important;
    border: none;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--clean-shadow-md);
    transition: all 0.2s ease;
}

.scrollToTop:hover {
    background: var(--text-primary) !important;
    color: var(--background-primary) !important;
    transform: translateY(-2px);
}

/* Clean Mobile Responsive */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .main_nav > li > a {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
    
    .single_post_content h2 {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .social_nav li a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Override existing styles for clean look */
.single_post_content,
.latest_post,
.business_catgnav li,
.footer_widget {
    box-shadow: var(--clean-shadow) !important;
    border: 1px solid var(--border-light) !important;
}

/* Clean text selection */
::selection {
    background: var(--site-primary);
    color: var(--background-primary);
}

::-moz-selection {
    background: var(--site-primary);
    color: var(--background-primary);
}
