/* Custom styles for enhanced UX */

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

/* Enhanced focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #FF5C00;
    outline-offset: 4px;
    border-radius: 0.375rem;
}

/* Custom selection color */
::selection {
    background-color: #FF5C00;
    color: white;
}

::-moz-selection {
    background-color: #FF5C00;
    color: white;
}

/* Smooth transitions for interactive elements */
.gallery-preview img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal animation */
#imageModal {
    animation: fadeIn 0.2s ease-out;
}

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

/* Image fade in when loaded */
#modalImage {
    animation: imageZoomIn 0.3s ease-out;
}

@keyframes imageZoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modal button enhancements */
#closeModal:hover,
#prevImage:hover,
#nextImage:hover {
    box-shadow: 0 0 20px rgba(255, 92, 0, 0.3);
}

/* Article/Blog Post Styling */
.prose {
    color: #A3A3A3;
}

.prose h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.prose h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose h4 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.prose a {
    color: #FF5C00;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.prose a:hover {
    color: #FF7A33;
}

.prose ul, .prose ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
    counter-reset: item;
}

.prose li {
    margin-bottom: 0.75rem;
    line-height: 1.75;
    padding-left: 0.5rem;
}

.prose li::marker {
    color: #FF5C00;
    font-weight: 600;
}

.prose hr {
    border: 0;
    border-top: 1px solid #333333;
    margin: 3rem 0;
}

.prose time {
    color: #737373;
}

.prose strong {
    color: #ffffff;
    font-weight: 600;
}

.prose blockquote {
    border-left: 4px solid #FF5C00;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin: 2rem 0;
    background-color: rgba(37, 37, 37, 0.5);
    border-radius: 0.5rem;
    font-style: normal;
    color: #A3A3A3;
}

.prose blockquote p {
    margin-bottom: 1rem;
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

.prose blockquote strong {
    color: #FF5C00;
}

.prose header {
    margin-bottom: 3rem;
}

.prose header p {
    color: #737373;
    margin-bottom: 0.5rem;
}
