/* Royal Kaharagian Gazette - Tailwind Supplement Styles */

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

/* Old English / Blackletter font for masthead */
@font-face {
    font-family: 'Old English';
    src: url('https://fonts.cdnfonts.com/s/14422/OldEnglish.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.font-blackletter {
    font-family: 'Manufacturing Consent', 'Old English Text MT', 'Blackletter', serif;
}

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

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Stagger animations for grid items */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }
.stagger-7 { animation-delay: 0.35s; }
.stagger-8 { animation-delay: 0.4s; }
.stagger-9 { animation-delay: 0.45s; }

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none !important;
    }

    body {
        background: white !important;
    }

    * {
        box-shadow: none !important;
    }

    a {
        text-decoration: none !important;
        color: inherit !important;
    }
}

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

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

/* Document item styles */
.document-item {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.document-item:hover {
    background-color: rgba(173, 9, 8, 0.02);
    border-left-color: #ad0908;
}

/* Badge styles */
.gazette-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.gazette-badge-burgundy {
    background-color: rgba(173, 9, 8, 0.1);
    color: #ad0908;
}

.gazette-badge-gold {
    background-color: #fbba09;
    color: #1a1a1a;
}

/* Card hover state */
.card-interactive {
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-interactive:hover {
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Toast notification styles */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 24px;
    background: #1a1a1a;
    color: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Navigation link hover effect */
.nav-link-simple {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link-simple:hover {
    color: #ad0908;
}

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

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