/* Custom styles for SimpleBlog */

/* Hero section enhancements */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-title {
    color: #2c3e50;
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Custom button styles */
.btn-custom {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
}

/* Footer social icons hover effect */
.footer-social a {
    transition: opacity 0.2s ease-in-out;
}

.footer-social a:hover {
    opacity: 1 !important;
}

/* Responsive image adjustments */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Custom spacing utilities */
.section-padding {
    padding: 4rem 0;
}

/* Text color utilities */
.text-muted-custom {
    color: #6c757d !important;
}

/* Border utilities */
.border-custom {
    border-color: #dee2e6 !important;
}

/* Background utilities */
.bg-custom-light {
    background-color: #f8f9fa !important;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
}

/* Custom navbar styling */
.navbar-brand {
    font-size: 1.5rem;
    color: #2c3e50 !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #495057 !important;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd !important;
}

.navbar-nav .nav-link.active {
    color: #0d6efd !important;
    font-weight: 600;
}

/* Custom footer styling */
footer {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%) !important;
}

/* Custom section headers */
.section-header {
    position: relative;
    margin-bottom: 2rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #6f42c1);
    border-radius: 2px;
}

/* Card content spacing */
.card-body {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.card-text {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Button group styling */
.btn-group-custom {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Read time badge */
.read-time {
    background: #e9ecef;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}
