/* DeWolf Style — Custom Styles */

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

body {
    overflow-x: hidden;
}

/* Scroll reveal — progressive enhancement, hidden by default for JS-less readers */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero overlay gradient */
.hero-photo {
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.90) 0%,
        rgba(10, 22, 40, 0.55) 50%,
        rgba(10, 22, 40, 0.80) 100%
    );
}

/* Text selection */
::selection {
    background: #c8952e;
    color: #0a1628;
}

/* Navbar transition */
#navbar {
    backdrop-filter: blur(0px);
    transition: backdrop-filter 0.5s ease, background 0.5s ease, padding 0.3s ease;
}

#navbar.scrolled {
    backdrop-filter: blur(12px);
    background: rgba(10, 22, 40, 0.92);
}

/* Card hover lift */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Map dark mode override */
iframe[title="DeWolf Style location map"] {
    border-radius: 16px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 400px;
    }
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1c3050;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c8952e;
}
