/* Smart Drinks Franchise — Custom Styles */

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

/* Selection color */
::selection {
    background-color: #B85C38;
    color: #FDF8F0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #B85C38;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a34e2e;
}

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

/* Navbar transition */
#navbar {
    transition: box-shadow 0.3s ease;
}
#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(26, 20, 16, 0.08);
}
#navbar.scrolled #navBg {
    opacity: 1;
}

/* Mobile menu */
#mobileMenu.open {
    opacity: 1;
    pointer-events: auto;
}

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

/* Card hover lift */
.group:hover {
    transform: translateY(-4px);
}
.group {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Button ripple effect on hover */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .group:hover .group-hover\:scale-105,
    .group {
        transform: none;
        transition: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Aspect ratio utilities */
.aspect-card {
    aspect-ratio: 4 / 3;
}

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

/* Subtle pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle, rgba(184, 92, 56, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}
