/* Custom styles for Cyns_edibles */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2b4837;
}

/* Selection color */
::selection {
    background-color: #365c46;
    color: #faf9f6;
}

/* Base animation setup - content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation classes - only applied via JS for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal.animate-in {
        animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Image hover effects */
img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

img:hover {
    transform: scale(1.02);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #4a7a5e;
    outline-offset: 2px;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    nav,
    footer {
        display: none;
    }
}
