/* Custom styles for Warner Hill Forest Fire Lookout */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
    background: #FF6B4A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF8566;
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B4A, #FF8566);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover::before {
    transform: scaleX(1);
}

/* Gallery items */
.gallery-item {
    position: relative;
    overflow: hidden;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Back to top button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
#back-to-top {
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Fade-in animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-section {
        opacity: 1;
        transform: none;
    }
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Form inputs */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Hero geometric shapes animation */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50% { transform: translateY(-15px) rotate(12deg); }
}
@keyframes float-reverse {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(10px) rotate(-8deg); }
}
.hero-shape-1 {
    animation: float 6s ease-in-out infinite;
}
.hero-shape-2 {
    animation: float-reverse 5s ease-in-out infinite;
}

/* Pulse animation for the status dot */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255, 133, 102, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(255, 133, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 133, 102, 0); }
}
.animate-pulse {
    animation: pulse-ring 2s ease-in-out infinite;
}
