/* Custom styles for Hot Dog Ranch */

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

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation scroll effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

nav.scrolled .nav-link {
    color: #071d34 !important;
}

nav.scrolled .nav-link:hover {
    color: #4aad64 !important;
}

/* Hero image animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-animate-delay {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-btn-open .menu-line.top-3 {
    transform: rotate(45deg);
    top: 50% !important;
}

.menu-btn-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-btn-open .menu-line.bottom-3 {
    transform: rotate(-45deg);
    bottom: 50% !important;
}

/* Menu item hover */
.menu-item-card {
    transition: transform 0.3s ease;
}

.menu-item-card:hover {
    transform: translateY(-2px);
}

/* Decorative line animations */
@keyframes expandWidth {
    from { width: 0; }
    to { width: 4rem; }
}

.line-reveal {
    animation: expandWidth 0.6s ease forwards;
}

/* Image hover zoom */
img {
    transition: transform 0.6s ease;
}

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

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #7894b8;
}

/* Selection color */
::selection {
    background: #d0f0d8;
    color: #071d34;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #72c888;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Subtle parallax for hero */
#hero {
    will-change: transform;
}

/* Image aspect ratio helpers */
.img-cover {
    object-fit: cover;
}

/* Thin line separators */
.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, #d0dce8, transparent);
}

/* Floating card shadow */
.float-card {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
