/* Custom CSS for D&B CBD */

:root {
    --charcoal: #2D3436;
    --dark-gray: #1a1a1a;
    --coral: #FF6B6B;
    --coral-light: #FF8E8E;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--charcoal);
    color: white;
    line-height: 1.6;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

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

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

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

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

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px) rotate(45deg);
    }
    50% {
        transform: translateY(-15px) rotate(45deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

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

/* Gradient Text */
.text-transparent {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Custom Button Hover Effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Form Focus States */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

/* Smooth Image Loading */
img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .animate-float, .animate-float-delayed {
        animation: none;
    }
    
    nav {
        position: static;
    }
}
