/* Custom Styles for Rainforest Cannabis Dispensary */

:root {
    --terracotta-50: #fef7f0;
    --terracotta-100: #fde4d0;
    --terracotta-200: #f9c4a0;
    --terracotta-300: #f4a06e;
    --terracotta-400: #ed753a;
    --terracotta-500: #e05a1e;
    --terracotta-600: #c44412;
    --terracotta-700: #a03510;
    --terracotta-800: #822c11;
    --terracotta-900: #6b2611;
    
    --sand-50: #fdfcfa;
    --sand-100: #faf5ef;
    --sand-200: #f0e6d4;
    --sand-300: #e2d1b0;
    --sand-400: #d0b584;
    --sand-500: #bc9862;
    
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
}

/* Font Families */
.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Scroll Animations */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

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

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta-300);
    border-radius: 4px;
}

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

/* Selection Color */
::selection {
    background: var(--terracotta-200);
    color: var(--terracotta-900);
}

/* Product Card Hover Effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--terracotta-600), var(--terracotta-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: 2rem;
    }
    
    .font-cormorant.text-4xl {
        font-size: 2.5rem;
    }
    
    .font-cormorant.text-5xl {
        font-size: 3rem;
    }
}

/* Print Styles */
@media print {
    nav, .cta-section, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--terracotta-400);
    outline-offset: 2px;
    border-radius: 4px;
}

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