/* Custom Styles for Connors Farm */

:root {
    --charcoal-900: #0f0f0f;
    --charcoal-800: #1a1a1a;
    --charcoal-700: #2a2a2a;
    --charcoal-950: #080808;
    --coral-500: #FF6B4A;
    --coral-400: #FF8566;
    --coral-600: #E5553A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--charcoal-900);
    color: #ffffff;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

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

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: var(--charcoal-900);
}

::-webkit-scrollbar-thumb {
    background: var(--coral-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-400);
}

/* Selection Color */
::selection {
    background-color: var(--coral-500);
    color: var(--charcoal-900);
}

/* Image Hover Effects */
img {
    max-width: 100%;
    height: auto;
}

/* Focus Styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--coral-500);
    outline-offset: 2px;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Back to Top Button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

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

/* Tablet */
@media (max-width: 768px) {
    .font-cinzel.text-5xl,
    .font-cinzel.text-6xl,
    .font-cinzel.text-7xl {
        font-size: 2.5rem;
    }
    
    .font-cinzel.text-4xl {
        font-size: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .font-cinzel.text-5xl {
        font-size: 2rem;
    }
    
    nav .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
