/* Custom styles for North Conway Pines */

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

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

::-webkit-scrollbar-track {
    background: #040B16;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4DD9B5;
}

/* Selection color */
::selection {
    background: #2EC4A0;
    color: #040B16;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 11, 22, 0.9);
    backdrop-filter: blur(4px);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #2EC4A0 0%, #4DD9B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pulse animation for status indicators */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: #2EC4A0;
    animation: pulse-ring 1.5s ease-out infinite;
}

/* Image hover zoom effect */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Noise texture overlay */
.noise-overlay {
    position: relative;
}

.noise-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    h1 {
        line-height: 1.1;
    }
}

/* Focus visible styles for accessibility */
*:focus-visible {
    outline: 2px solid #2EC4A0;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .cta-btn,
    #contact-form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
