/* Saint Patrick Hall — Custom Styles */

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

/* Selection color */
::selection {
    background-color: rgba(45, 103, 45, 0.3);
    color: #1c401c;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c5dfc5;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #97c497;
}

/* Navbar transition */
#navbar.scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(28, 64, 28, 0.08);
}

#navbar.scrolled .logo-text {
    color: #1c401c;
}

#navbar.scrolled .nav-link {
    color: #1c401c;
}

#navbar.scrolled .nav-link:hover {
    color: #438343;
}

/* Mobile menu animations */
.mobile-menu-open .mobile-menu {
    opacity: 1;
    pointer-events: all;
}

/* Hamburger animation */
.menu-toggle.active #bar1 {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active #bar2 {
    opacity: 0;
}

.menu-toggle.active #bar3 {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.5rem;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2397c497' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem !important;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    nav, #contact, .map-container {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
