/* Custom Styles for Glenburn Rural Fire Department */

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

/* Geometric Shapes for Hero */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: #C85A3C;
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: #E85534;
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
}

.shape-rect-1 {
    width: 150px;
    height: 150px;
    background: #F4A259;
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #C85A3C;
    top: 60%;
    right: 15%;
    opacity: 0.08;
}

/* Navigation */
.nav-fixed {
    background: rgba(253, 249, 243, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-fixed.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C85A3C;
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary {
    box-shadow: 0 4px 14px rgba(200, 90, 60, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(200, 90, 60, 0.4);
}

.btn-secondary {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Service Cards */
.service-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(200, 90, 60, 0.2);
}

/* Form Styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(200, 90, 60, 0.1);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Animation for geometric shapes */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.shape-circle-1 {
    animation: float 6s ease-in-out infinite;
}

.shape-circle-2 {
    animation: float 8s ease-in-out infinite reverse;
}

.shape-triangle {
    animation: float 7s ease-in-out infinite;
}

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

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid #C85A3C;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .nav-fixed,
    .geometric-shape,
    .animate-bounce {
        display: none;
    }
}
