/* Common styles for Canine Wellness Hub */

/* Base styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: #2c3e50 !important;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 600;
}

.nav-link:hover {
    color: white !important;
}

/* Hero section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
}

/* Cards */
.category-card, .article-card {
    transition: transform 0.3s;
    margin-bottom: 30px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.category-card:hover, .article-card:hover {
    transform: translateY(-5px);
}

.category-img {
    height: 250px;
    object-fit: cover;
}

.article-img {
    height: 200px;
    object-fit: cover;
}

/* Article content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #34495e;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1rem;
    margin-left: 0;
    color: #555;
    font-style: italic;
}

.article-content .info-box {
    background-color: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.article-content .warning-box {
    background-color: #fdf2e9;
    border-left: 4px solid #e67e22;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.article-content .tip-box {
    background-color: #eafaf1;
    border-left: 4px solid #2ecc71;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

/* Related articles */
.related-articles {
    background-color: #f1f5f9;
    padding: 3rem 0;
    margin-top: 3rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .article-content {
        font-size: 1rem;
    }
}
