/* Custom Styles for Txoberne */

/* Base Typography Adjustments */
html {
    scroll-behavior: smooth;
}

body {
    /* Custom font weights handling */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scroll Offset for Fixed Header */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Scroll Reveal Utility Class (used by JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}

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

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

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

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

/* Mobile Menu Transitions */
#mobile-menu {
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

/* Focus States for Accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d97706;
    outline-offset: 4px;
}

/* Subtle hover effects for cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}
