/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0033A0; /* A professional blue */
    --secondary-color: #D90429; /* A strong accent red */
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --container-width: 1200px;
    --border-radius: 5px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

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

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }

/* --- Header & Navigation --- */
.site-header {
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    font-weight: 600;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
}

/* --- Hero Banner --- */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-background.svg') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    color: #fff;
}

.hero-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #b80020;
}

/* --- Sections --- */
.text-center { text-align: center; }
.page-header, .page-content, .core-advantages {
    padding: 4rem 0;
}
.page-header {
    background-color: var(--light-color);
}
.core-advantages {
    background-color: var(--light-color);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.advantage-item {
    background: #fff;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
    padding: 4rem 0;
    text-align: center;
}

.header-content h1 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.header-content .subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.header-content p {
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* --- Breadcrumbs --- */
.breadcrumbs-section {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumbs {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumbs .current {
    color: var(--text-color);
    font-weight: 600;
}

/* --- Featured Categories --- */
.featured-categories {
    padding: 4rem 0;
    background: #fff;
}

.featured-categories h2 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.category-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.category-badge {
    background: var(--secondary-color);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.card-content h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-stats span {
    background: var(--light-color);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.card-footer {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: #002080;
    text-decoration: none;
}

.btn-secondary {
    background: var(--light-color);
    color: var(--text-color);
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background: #e9ecef;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

/* --- Quick Actions --- */
.quick-actions {
    padding: 4rem 0;
    background: var(--light-color);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.action-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.action-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.action-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
}

.action-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.action-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.action-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.action-link:hover {
    color: var(--secondary-color);
}

/* --- Featured Products --- */
.featured-products {
    padding: 4rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    height: 200px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: bold;
    color: var(--primary-color);
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    margin: 20px;
    font-size: 1.1rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-desc {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-specs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-specs span {
    background: var(--light-color);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-actions .btn-primary,
.product-actions .btn-outline {
    flex: 1;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-color);
    color: #ccc;
    padding: 3rem 0 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.site-footer h3 {
    color: #fff;
}
.site-footer a {
    color: #ccc;
}
.site-footer ul {
    list-style: none;
}
.site-footer ul li {
    margin-bottom: 0.5rem;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.9rem;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .main-nav {
        display: none; /* Hide nav on mobile by default */
    }

    .mobile-nav-toggle {
        display: block;
        background: none;
        border: 1px solid var(--dark-color);
        padding: 0.5rem 1rem;
        cursor: pointer;
        border-radius: var(--border-radius);
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-bottom: 1px solid #ddd;
        z-index: 1000;
    }

    .main-nav.active ul {
        flex-direction: column;
        padding: 1rem;
    }

    .main-nav.active ul li {
        margin: 0;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav.active ul li:last-child {
        border-bottom: none;
    }
    
    /* Hero Banner */
    .hero-banner {
        padding: 4rem 0;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .hero-banner p {
        font-size: 1.1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 3rem 0;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .header-stats .stat-item {
        min-width: 150px;
    }
    
    /* Category Grid */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .card-footer .btn-primary,
    .card-footer .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    /* Actions Grid */
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Products Showcase */
    .products-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .product-actions .btn-primary,
    .product-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    /* Advantages Grid */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage-item {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Sections padding */
    .core-advantages,
    .featured-categories,
    .quick-actions,
    .featured-products {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-banner {
        padding: 3rem 0;
    }
    
    .hero-banner h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .category-card,
    .action-item,
    .advantage-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}