/* Custom styles for Black Orchid Brewing */

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

/* Custom font loading */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap') format('woff2');
}

/* Base styles */
body {
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Coral gradient line */
.coral-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #E8735A, #F08A75);
    border-radius: 2px;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 40%, #3D3D3D 70%, #4E4E4E 100%);
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(232, 115, 90, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(232, 115, 90, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(232, 115, 90, 0.08) 0%, transparent 45%);
    pointer-events: none;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation link underline effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E8735A;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Feature card hover effects */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

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

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #F08A75;
}

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

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

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Selection color */
::selection {
    background: #E8735A;
    color: #1A1A1A;
}
