/* ========== Modern Minimalist Reset & Base ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border: none;
}

a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c41e3a;
}

ul {
    list-style: none;
}

/* ========== Layout ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Header ========== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    background: #1a1a1a;
    padding: 8px 0;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links {
    font-size: 13px;
    color: #aaa;
}

.top-links a {
    color: #aaa;
    margin-right: 16px;
    font-size: 13px;
}

.top-links a:hover {
    color: #fff;
}

.top-search {
    position: relative;
}

.top-search input {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    padding: 6px 32px 6px 12px;
    color: #ddd;
    font-size: 13px;
    width: 180px;
    outline: none;
    transition: border-color 0.3s;
}

.top-search input:focus {
    border-color: #c41e3a;
}

.top-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 14px;
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: #c41e3a;
}

.main-nav {
    display: flex;
    gap: 4px;
}

.main-nav a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #c41e3a;
    background: #fafafa;
}

/* ========== Hero Banner (Fixed) ========== */
.hero-section {
    padding: 0;
}

.hero-banner {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== Page Banner ========== */
.page-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);

    text-align: center;
}

.page-banner img {

    margin: 0 auto;

}

/* ========== Main Content Layout ========== */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    gap: 48px;
}

.content-wrapper.no-sidebar {
    display: block;
}

.content-wrapper.no-sidebar .main-content {
    max-width: 900px;
    margin: 0 auto;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #c41e3a;
}

/* ========== Sidebar Menu ========== */
.side-menu {
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
}

.side-menu li {
    border-bottom: 1px solid #eee;
}

.side-menu li:last-child {
    border-bottom: none;
}

.side-menu a {
    display: block;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.side-menu a:hover {
    background: #f0f0f0;
    color: #c41e3a;
    padding-left: 28px;
}

.side-menu a.active {
    background: #c41e3a;
    color: #fff;
}

/* ========== Sidebar Contact ========== */
.side-contact {
    margin-top: 32px;
    padding: 24px;
    background: #fafafa;
    border-radius: 12px;
}

.side-contact h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c41e3a;
}

.side-contact p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

.side-contact strong {
    color: #333;
    font-weight: 600;
}

.cta-button {
    display: block;
    margin-top: 20px;
    padding: 14px 24px;
    background: #c41e3a;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #a01830;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

/* ========== Page Title ========== */
.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 32px;
}

/* ========== Content Typography ========== */
.content-body {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.content-body p {
    margin-bottom: 16px;
}

.content-body strong {
    color: #1a1a1a;
    font-weight: 600;
}

.content-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.content-body ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-body ul li {
    margin-bottom: 8px;
}

/* ========== Home Features ========== */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 30px 32px;
    background: #fafafa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.feature-card h3 a {
    color: inherit;
}

.feature-card h3 a:hover {
    color: #c41e3a;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.feature-highlight {
    font-size: 42px;
    font-weight: 700;
    color: #c41e3a;
    line-height: 1.2;
    margin-bottom: 8px;
}

.feature-highlight span {
    font-size: 18px;
    color: #666;
    font-weight: 400;
}

/* ========== Tag Cloud ========== */
.tag-cloud {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.tag-cloud-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag-cloud a {
    display: inline-block;
    padding: 8px 18px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: #c41e3a;
    color: #fff;
    transform: translateY(-2px);
}

/* ========== Footer ========== */
.site-footer {
    background: #1a1a1a;
    color: #888;
    padding: 48px 0 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-nav a {
    color: #aaa;
    font-size: 14px;
    margin-right: 20px;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-right img {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-right img:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 24px 24px 0;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* ========== Contact Page ========== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.contact-item {
    padding: 24px;
    background: #fafafa;
    border-radius: 12px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 500;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .header-main {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}