Blog Custom Styles

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced card hover effects */
.blog-card {
    transition: all 0.4s ease;
    height: 100%;
}

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

/* Blog grid improvements */
.blog-grid {
    display: grid;
    grid-template-rows: masonry;
}

/* Ensure cards fill container height */
.blog-grid > div {
    height: 100%;
}

.blog-grid article {
    height: 100%;
    min-height: 480px;
}

/* Gradient text effects - REMOVED */
/* All gradient effects have been removed as requested */

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive grid improvements */
@media (min-width: 768px) and (max-width: 1023px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Grid alignment fixes */
.grid.auto-rows-fr {
    grid-auto-rows: 1fr;
}

/* Ensure all grid items have equal height */
.grid > div {
    display: flex;
    flex-direction: column;
}

.grid article {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    max-height: 480px;
}

/* Enhanced button styles */
.btn-primary {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: var(--secondary-color);
}

/* Loading skeleton for images */
.image-skeleton {
    background: #f0f0f0;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Enhanced focus states for accessibility */
.focus-visible:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Mobile-first responsive typography */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.6;
    }
}
