* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.site-header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand .site-logo {
    height: 36px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-link {
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff !important;
}

.main-content {
    min-height: calc(100vh - 200px);
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin: 0;
    font-weight: 300;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.hero-section .display-4 {
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-section .btn {
    margin-right: 1rem;
}

.hero-section .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.product-card,
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

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

.product-card img,
.news-card img {
    height: 180px;
    object-fit: cover;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.875rem;
}

.price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-nav .btn {
    border-radius: 20px;
}

.article-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-left: 4px solid #007bff;
    margin-bottom: 1.5rem;
}

.article-content {
    font-size: 1rem;
    line-height: 1.8;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-info i {
    width: 25px;
    color: #007bff;
}

.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.site-footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.site-footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #007bff;
}

.site-footer hr {
    border-color: #34495e;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section .display-4 {
        font-size: 2rem;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }
}