/* Custom styles beyond Tailwind */
body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.7s ease-out;
}

.animate-bounce-slow {
    animation: bounce 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.gallery-img {
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Blog Content Styling */
.blog-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.blog-content p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.blog-content ul {
    list-style-type: disc;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.blog-content a {
    color: #4f46e5;
    text-decoration: underline;
}

.blog-content a:hover {
    color: #4338ca;
}

.blog-content blockquote {
    border-left: 4px solid #4f46e5;
    padding-left: 1rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #6b7280;
}

.blog-content pre {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content code {
    font-family: monospace;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

.blog-content pre code {
    padding: 0;
}

.dark .blog-content pre {
    background-color: #0f172a;
}

.dark .blog-content blockquote {
    color: #9ca3af;
}

.dark .blog-content a {
    color: #818cf8;
}

.dark .blog-content a:hover {
    color: #a5b4fc;
}

/* Prevent body scroll when modal is open */
body.overflow-hidden {
    overflow: hidden;
}