/* Orin Law Custom Styles */

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

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

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

::-webkit-scrollbar-thumb {
    background: #2F4F2F;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1E301E;
}

/* Text Selection */
::selection {
    background-color: #C9A96E;
    color: #3E2A1F;
}

/* Typography Enhancements */
.font-serif-display {
    font-family: 'Times New Roman', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

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

/* Gradient Backgrounds */
.bg-gradient-diagonal {
    background: linear-gradient(135deg, #2F4F2F 0%, #1E301E 100%);
}

/* Custom Border Radius */
.rounded-card {
    border-radius: 1rem;
}

/* Loading State */
.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    ring: 2px;
    ring-color: #C9A96E;
    border-color: #C9A96E;
}
/* Prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Ensure the mobile menu overlay covers the screen and blocks scroll */
.mobile-menu {
    position: fixed;
    top: 80px; /* Adjust based on navbar height */
    left: 0;
    width: 100%;
    height: calc(100dvh - 80px);
    overflow-y: auto;
    z-index: 9999;
}

/* Back to top button should stay above everything */
.back-to-top {
    z-index: 10000;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}
