/* Custom Styles for Pine Hill Volunteer Fire Department */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0f0f0f;
    color: #e8d5c4;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar Scroll Effect */
nav.scrolled {
    background-color: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Button Hover Effects */
button, a {
    position: relative;
    overflow: hidden;
}

button::after, a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

button:active::after, a:active::after {
    width: 300px;
    height: 300px;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 2px rgba(199, 91, 57, 0.3);
}

/* Custom Selection Color */
::selection {
    background-color: #c75b39;
    color: #e8d5c4;
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(199, 91, 57, 0.3); }
    50% { box-shadow: 0 0 40px rgba(199, 91, 57, 0.6); }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.1;
    }
}

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

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