/* Custom styles for Southern Hive Nutrition */

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

/* Base styles */
body {
    font-family: 'Nunito', system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Button styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FFD966 0%, #E5A800 100%);
    color: #7B2D3B;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 168, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 168, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

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

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

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

/* Mobile menu */
.mobile-menu-link {
    position: relative;
    padding-left: 1rem;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #FFD966;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-link:hover::before {
    opacity: 1;
}

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

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

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

@keyframes float-delay {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.1);
}

.nav-scrolled .nav-link {
    color: #7B2D3B;
}

.nav-scrolled .mobile-menu-link {
    color: #7B2D3B;
}

/* Honeycomb decorative elements */
.honeycomb-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='104' viewBox='0 0 60 104' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30,0 60,17.3 60,51.9 30,69.3 0,51.9 0,17.3' fill='none' stroke='%23FFD966' stroke-width='0.5' opacity='0.1'/%3E%3Cpolygon points='30,51.9 60,69.3 60,103.9 30,121.3 0,103.9 0,69.3' fill='none' stroke='%23FFD966' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
}

/* Form styles */
input:focus,
textarea:focus {
    border-color: #7B2D3B;
    box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #7B2D3B;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b2432;
}

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

/* Mobile responsive */
@media (max-width: 768px) {
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}
