/* Custom styles for Dr. Khoo website */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.navbar-brand {
    font-weight: 600;
    font-size: 1.4rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #2c3e50;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Article page styles */
.article-hero {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.article-title {
    font-size: 2.5rem;
    margin: 1.5rem 0;
}

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

.attribution-links {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 2rem 0;
}

.attribution-links h3 {
    margin-bottom: 1rem;
}

.attribution-links ul {
    padding-left: 1.5rem;
}

.social-share {
    margin: 2rem 0;
}

.social-share a {
    display: inline-block;
    margin-right: 1rem;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.social-share a:hover {
    opacity: 0.8;
}

.twitter {
    background-color: #1DA1F2;
}

.facebook {
    background-color: #4267B2;
}

.linkedin {
    background-color: #0077B5;
}

.reddit {
    background-color: #FF4500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .article-hero {
        height: 250px;
    }
    
    .article-title {
        font-size: 2rem;
    }
}