/* Custom styles for AJs Grading and Landshaping */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F0E8;
}

::-webkit-scrollbar-thumb {
    background: #C4705A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A0523C;
}

/* Selection color */
::selection {
    background: #C4705A;
    color: white;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(250, 247, 242, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Image hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for dot */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .lg\:text-7xl {
        font-size: 3.5rem;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #C4705A;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, #back-to-top, #mobile-menu-btn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
