/* Custom styles for Smoke Center */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040a07;
}
::-webkit-scrollbar-thumb {
    background: #1a5c38;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d8a56;
}

/* Selection color */
::selection {
    background: rgba(45, 138, 86, 0.4);
    color: #fdfcf8;
}

/* Smoke particle animation */
@keyframes smokeRise {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-300px) scale(3) rotate(45deg);
        opacity: 0;
    }
}

.smoke-particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: smokeRise linear infinite;
}

/* Glass morphism utility */
.glass {
    background: rgba(10, 31, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Gold shimmer effect */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Nav scroll state */
.nav-scrolled {
    background: rgba(4, 10, 7, 0.9) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 92, 56, 0.3);
}

/* Card hover glow */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(45, 138, 86, 0.15), 0 0 80px rgba(201, 168, 76, 0.05);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #5bb87e, #c9a84c, #5bb87e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Map dark theme override */
iframe[src*="google.com/maps"] {
    filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(1.05) saturate(0.8);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
    border-radius: 4px;
}

/* 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;
    }
}
