/* Custom styles beyond Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    /* Subtle texture for paper feel */
    background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f4;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Mobile Menu Animations */
#menu-btn.active #line1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.active #line2 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Fade In Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Thin line decoration */
.line-decoration {
    position: relative;
}
.line-decoration::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 1px;
    background-color: #c0262d; /* plum-700 */
}

/* Hover effects for images */
img {
    transition: transform 0.5s ease;
}
