/* Custom CSS for Wildflower Meadery - Honey & Bee Theme */

/* Custom Honey & Bee Color Palette */
:root {
    /* Primary Gold Colors - More Gold Focused */
    --honey-gold: #FFD700; /* Bright Gold */
    --honey-amber: #FFA500; /* Orange Gold */
    --honey-dark: #DAA520; /* Goldenrod */
    --honey-light: #FFF8DC; /* Cream */
    --honey-cream: #FFFFF0; /* Ivory */

    /* Bee Colors */
    --bee-yellow: #FFD700; /* Gold */
    --bee-black: #2C2C2C; /* Dark Gray */
    --bee-orange: #FF8C00; /* Dark Orange */

    /* Neutral Colors */
    --warm-white: #FFFFFF; /* Pure White */
    --warm-gray: #F8F8F8; /* Light Gray */
    --charcoal: #2C2C2C; /* Dark Charcoal */
    --soft-gray: #E8E8E8; /* Soft Gray */

    /* Accent Colors */
    --sage-green: #9CAF88;
    --lavender: #B19CD9;
    --coral: #FF7F7F;
}

/* Fonts */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Page Transitions */
main {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for navigation */
.nav-loading {
    position: relative;
    overflow: hidden;
}

.nav-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: loadingBar 1.5s ease-in-out infinite;
}

@keyframes loadingBar {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Discover Dropdown Styles */
#discover-dropdown {
    transform: translateY(8px);
    transition: all 0.2s ease-out;
}

#discover-dropdown.visible {
    transform: translateY(0);
}

#discover-dropdown.invisible {
    transform: translateY(8px);
}

/* Smooth dropdown animations */
.dropdown-item {
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateX(2px);
}

/* Navigation */
.nav-link {
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.nav-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.nav-link.active {
    color: #000;
    background: #FFD700;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

.mobile-nav-link {
    color: #333;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    margin: 0.125rem 0;
}

.mobile-nav-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.08);
    transform: translateX(2px);
}

.mobile-nav-link.active {
    color: #000;
    background: #FFD700;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Product Cards */
.product-card {
    background: var(--warm-white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--soft-gray);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--honey-gold);
}

.product-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.product-description {
    color: var(--charcoal);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--honey-amber);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--honey-amber), var(--honey-gold));
    color: var(--warm-white);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--honey-dark), var(--honey-amber));
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    border: 2px solid var(--honey-amber);
    color: var(--honey-amber);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--honey-amber);
    color: var(--warm-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Filter Buttons */
.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--warm-gray);
    color: var(--charcoal);
    border: 1px solid var(--soft-gray);
    cursor: pointer;
}

.filter-btn:hover {
    background: var(--honey-light);
    color: var(--honey-amber);
    border-color: var(--honey-gold);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--honey-amber), var(--honey-gold));
    color: var(--warm-white);
    border-color: var(--honey-amber);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Loading States */
.loading-skeleton {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    background: var(--soft-gray);
    border-radius: 0.375rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a574, #b8860b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8b6914, #d4a574);
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

p {
    line-height: 1.6;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

section:first-of-type {
    padding-top: 8rem;
}

/* Hero sections */
.hero-section {
    background: linear-gradient(135deg, rgba(244, 228, 188, 0.9), rgba(255, 248, 220, 0.9));
    backdrop-filter: blur(10px);
}

/* Card hover effects */
.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Button enhancements */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #d4a574, #b8860b);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(184, 134, 11, 0.3);
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(184, 134, 11, 0.4);
    background: linear-gradient(135deg, #b8860b, #d4a574);
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-enhanced:hover::before {
    left: 100%;
}

/* Text shadow for better readability */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Improved focus states */
.focus-visible:focus-visible {
    outline: 2px solid #d4a574;
    outline-offset: 2px;
}

/* Event Modal Styles */
.modal-overlay {
    backdrop-filter: blur(4px);
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    .product-card {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .filter-btn {
        font-size: 0.75rem;
        line-height: 1rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    /* Mobile modal adjustments */
    .modal-overlay {
        padding: 1rem;
    }

    /* Touch-friendly buttons */
    .touch-target {
        min-height: 44px;
        min-width: 44px;
    }

    /* Mobile hover states - use active instead of hover for touch */
    @media (hover: none) {
        .hover-lift:hover {
            transform: none;
        }

        .hover-lift:active {
            transform: scale(0.98);
        }
    }

    /* Mobile event cards */
    .event-card-mobile {
        margin: 0 1rem;
    }

    /* Mobile modal content */
    .mobile-modal-content {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Enhanced Hover Effects */
.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: translateY(-2px);
}

.interactive-element:active {
    transform: scale(0.98);
}

/* Modal Animations */
.modal-enter {
    animation: modalEnter 0.3s ease-out;
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-exit {
    animation: modalExit 0.3s ease-in;
}

@keyframes modalExit {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
}

/* Product Modal Loading Animation */
@keyframes honeyDrip {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(8px) scale(1.1);
        opacity: 1;
    }
}

@keyframes beeWiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

@keyframes honeyFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-10px) rotate(5deg);
        opacity: 0.5;
    }
    66% {
        transform: translateY(5px) rotate(-3deg);
        opacity: 0.4;
    }
}

.product-modal-loading {
    position: relative;
}

/* Ensure loading overlay covers entire modal */
#modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(2px);
    border-radius: inherit;
    z-index: 20;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
}

/* Honey drop floating animation */
.product-modal-loading .fa-tint {
    animation: honeyFloat 3s ease-in-out infinite;
}

.product-modal-loading .fa-tint:nth-child(1) { animation-delay: 0s; }
.product-modal-loading .fa-tint:nth-child(2) { animation-delay: 1s; }
.product-modal-loading .fa-tint:nth-child(3) { animation-delay: 2s; }
.product-modal-loading .fa-tint:nth-child(4) { animation-delay: 1.5s; }

/* Enhanced loading spinner */
.loading-spinner-enhanced {
    position: relative;
    width: 48px;
    height: 48px;
}

.loading-spinner-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid #FEF3C7;
    border-top: 3px solid #F59E0B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner-enhanced::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 2px solid #FED7AA;
    border-top: 2px solid #D97706;
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

/* Checkout Loader Styles */
.checkout-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.95), rgba(255, 215, 0, 0.1));
    backdrop-filter: blur(8px);
    border-radius: inherit;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.checkout-loader-overlay.show {
    opacity: 1;
    visibility: visible;
}

.checkout-honey-loader {
    position: relative;
    width: 64px;
    height: 64px;
}

.checkout-honey-loader::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top: 4px solid var(--honey-gold);
    border-radius: 50%;
    animation: honeySpin 1.2s ease-in-out infinite;
}

.checkout-honey-loader::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 3px solid rgba(255, 140, 0, 0.15);
    border-top: 3px solid var(--honey-amber);
    border-radius: 50%;
    animation: honeySpin 1.8s ease-in-out infinite reverse;
}

.checkout-honey-loader .honey-drop {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--honey-gold), var(--honey-amber));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: honeyDrip 2s ease-in-out infinite;
}

.checkout-loader-text {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--honey-dark);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    opacity: 0.8;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes honeySpin {
    0% {
        transform: rotate(0deg);
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.8;
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Age Verification Modal */
.age-verification {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 140, 0, 0.95)) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: ageModalFadeIn 0.5s ease-out !important;
    overflow: hidden !important;
    pointer-events: auto !important;
}

/* Hide page content when age verification modal is active */
body.modal-open > *:not(.age-verification) {
    display: none !important;
}

body.modal-open {
    overflow: hidden !important;
}

.age-modal {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 3px solid #FFD700;
    animation: ageModalBounceIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.age-modal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: ageModalGlow 3s ease-in-out infinite alternate;
}

.age-modal h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.age-modal p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.age-modal .flex {
    position: relative;
    z-index: 2;
    gap: 1rem;
}

.bee-icon {
    position: relative;
    z-index: 2;
}

.bee-icon i {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Floating honey drops animation */
.honey-drop {
    position: absolute;
    width: 8px;
    height: 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: honeyFloat 4s ease-in-out infinite;
}

.honey-drop:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.honey-drop:nth-child(2) {
    top: 60%;
    right: 25%;
    animation-delay: 1s;
    transform: scale(0.8);
}

.honey-drop:nth-child(3) {
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
    transform: scale(1.2);
}

@keyframes honeyFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) rotate(-5deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-10px) rotate(3deg);
        opacity: 0.8;
    }
}

@keyframes ageModalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

@keyframes ageModalBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes ageModalGlow {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 0.7;
    }
}

/* Subscription Plans */
.subscription-plan {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    transition: box-shadow 0.15s ease-in-out;
}

.subscription-plan:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.subscription-plan.featured {
    border: 2px solid #d97706;
    transform: scale(1.05);
}

/* Cart Styles - Clean and Simple */
.cart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.cart-item-image {
    width: 2rem;
    height: 2rem;
    object-fit: cover;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 500;
    color: #111827;
    font-size: 0.875rem;
    line-height: 1.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-price {
    color: #d97706;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: #f3f4f6;
    border-radius: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.quantity-btn {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    background-color: #f59e0b;
    color: white;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: #d97706;
}

/* Fun Honey-Themed Form Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: linear-gradient(145deg, #fef3c7 0%, #fde68a 50%, #fef3c7 100%);
    border: 3px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: #92400e;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(245, 158, 11, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.form-input::before, .form-textarea::before, .form-select::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.form-input:hover, .form-textarea:hover, .form-select:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(245, 158, 11, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    background: linear-gradient(145deg, #fef3c7 0%, #fde047 30%, #fef3c7 100%);
    border-color: #f59e0b;
    box-shadow:
        0 0 0 4px rgba(245, 158, 11, 0.1),
        0 8px 25px rgba(245, 158, 11, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.form-input:focus::before, .form-textarea:focus::before, .form-select:focus::before {
    left: 100%;
}

.form-input:hover::before, .form-textarea:hover::before, .form-select:hover::before {
    left: 0;
}

/* Floating Labels */
.form-label {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.form-input:focus + .form-label,
.form-textarea:focus + .form-label,
.form-select:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label,
.form-select:not([value=""]) + .form-label {
    top: -0.5rem;
    left: 1rem;
    font-size: 0.75rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-color: #d97706;
    transform: scale(0.95);
}

/* Textarea specific */
.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Select specific */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2392500e' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
    cursor: pointer;
}

.form-select:hover {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23d97706' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Placeholder styling */
.form-input::placeholder,
.form-textarea::placeholder {
    color: #a16207;
    opacity: 0.7;
}

/* Honey drip effect on focus */
.form-input:focus::after,
.form-textarea:focus::after,
.form-select:focus::after {
    content: '💧';
    position: absolute;
    top: -8px;
    right: 1rem;
    font-size: 0.75rem;
    animation: honeyDrip 1.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes honeyDrip {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(4px) scale(1.2);
        opacity: 1;
    }
}

/* Form validation states */
.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown),
.form-select:invalid:not([value=""]) {
    background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 50%, #fef2f2 100%);
    border-color: #ef4444;
    box-shadow:
        0 0 0 4px rgba(239, 68, 68, 0.1),
        0 4px 15px rgba(239, 68, 68, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown),
.form-select:valid:not([value=""]) {
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 50%, #f0fdf4 100%);
    border-color: #22c55e;
    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.1),
        0 4px 15px rgba(34, 197, 94, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Checkbox styling */
.form-checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: linear-gradient(145deg, #fef3c7 0%, #fde68a 50%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1);
}

.form-checkbox:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.2);
}

.form-checkbox:checked {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #d97706;
}

.form-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Enhanced buttons */
.btn-honey {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-honey::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-honey:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-honey:hover::before {
    left: 100%;
}

.btn-honey:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Button Styles */
.btn {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.btn-primary {
    background-color: #d97706;
    color: white;
}

.btn-primary:hover {
    background-color: #b45309;
}

.btn-primary:focus {
    --tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity));
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #111827;
}

.btn-secondary:hover {
    background-color: #d1d5db;
}

.btn-secondary:focus {
    --tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity));
}

.btn-danger {
    background-color: #dc2626;
    color: white;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

.btn-danger:focus {
    --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity));
}

.btn-success {
    background-color: #16a34a;
    color: white;
}

.btn-success:hover {
    background-color: #15803d;
}

.btn-success:focus {
    --tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity));
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background-color: #fefce8;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #FFD700, #DAA520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-amber {
    background: linear-gradient(135deg, var(--honey-amber), var(--honey-gold));
}

.bg-gradient-honey {
    background: linear-gradient(135deg, var(--honey-light), var(--honey-cream));
}

.bg-gradient-bee {
    background: linear-gradient(135deg, var(--bee-yellow), var(--honey-amber));
}

/* Hover Effects */
.hover-lift {
    transition: transform 300ms;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Focus States */
.focus-ring {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus-ring:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity));
}

/* Account Menu Enhancements */
.account-menu-sidebar {
    background: linear-gradient(145deg, #f9fafb 0%, #fef3c7 50%, #f9fafb 100%);
    border: 2px solid #fef3c7;
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.1), 0 10px 10px -5px rgba(245, 158, 11, 0.04);
    animation: menuSlideIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.account-menu-sidebar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: honeyGlow 4s ease-in-out infinite;
    pointer-events: none;
}

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

@keyframes honeyGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.account-menu-header {
    position: relative;
    overflow: hidden;
}

.account-menu-header::after {
    content: '🐝';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    animation: beeBuzz 3s ease-in-out infinite;
}

@keyframes beeBuzz {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-50%) translateX(2px) rotate(2deg);
    }
    50% {
        transform: translateY(-50%) translateX(-1px) rotate(-1deg);
    }
    75% {
        transform: translateY(-50%) translateX(1px) rotate(1deg);
    }
}

.account-nav-link {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.account-nav-link:hover {
    transform: translateX(8px) scale(1.02);
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
}

.account-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: width 0.5s ease;
}

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

.account-nav-link.active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    transform: translateX(12px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
    }
}

.account-nav-icon {
    display: inline-block;
    transition: all 0.3s ease;
}

.account-nav-link:hover .account-nav-icon {
    animation: iconWiggle 0.6s ease-in-out;
    color: #d97706;
}

@keyframes iconWiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    50% { transform: rotate(10deg) scale(1.1); }
    75% { transform: rotate(-5deg) scale(1.05); }
}

.account-nav-link.active .account-nav-icon {
    animation: beeWiggle 1.5s ease-in-out infinite;
    color: white;
}

/* Menu text styling without water drops */

/* Menu background pattern */
.account-menu-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 50%, #ffd700 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, #ffa500 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, #daa520 1px, transparent 1px);
    background-size: 30px 30px;
    animation: patternFloat 20s linear infinite;
}

@keyframes patternFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-30px); }
}

/* Enhanced logout button */
#logout-btn {
    position: relative;
    border: 2px solid #fee2e2;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    transition: all 0.3s ease;
}

#logout-btn:hover {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
}

#logout-btn::before {
    content: '🚪';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
    opacity: 0;
    transition: all 0.3s ease;
}

#logout-btn:hover::before {
    opacity: 1;
    animation: doorSwing 0.8s ease-in-out;
}

@keyframes doorSwing {
    0% { transform: translateY(-50%) rotateY(0deg); }
    50% { transform: translateY(-50%) rotateY(90deg); }
    100% { transform: translateY(-50%) rotateY(0deg); }
}

/* Compact Welcome Bar */
.welcome-bar {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
    animation: welcomeSlideIn 0.6s ease-out;
}

@keyframes welcomeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: welcomeShimmer 3s ease-in-out infinite;
}

@keyframes welcomeShimmer {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

.welcome-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.welcome-greeting {
    flex: 1;
    min-width: 0;
}

.welcome-name {
    display: inline-block;
    background: linear-gradient(135deg, #d97706, #b45309);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: namePulse 2s ease-in-out infinite;
}

@keyframes namePulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
}

.welcome-motto {
    font-size: 0.9rem;
    color: #92400e;
    font-weight: 500;
    margin-top: 4px;
}

.mead-spotlight {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.spotlight-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #78350f;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.spotlight-content {
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.4;
    animation: contentRotate 8s ease-in-out infinite;
}

@keyframes contentRotate {
    0%, 20% { opacity: 1; transform: translateY(0); }
    25% { opacity: 0; transform: translateY(-10px); }
    45% { opacity: 1; transform: translateY(0); }
    65% { opacity: 1; transform: translateY(0); }
    70% { opacity: 0; transform: translateY(-10px); }
    90% { opacity: 1; transform: translateY(0); }
    95%, 100% { opacity: 1; transform: translateY(0); }
}

.explore-cta {
    flex: 1;
    text-align: right;
    min-width: 0;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    animation: ctaBounce 3s ease-in-out infinite;
}

@keyframes ctaBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.explore-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    animation: none;
}

.explore-link i {
    transition: transform 0.3s ease;
}

.explore-link:hover i {
    transform: translateX(3px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .welcome-bar {
        padding: 12px 16px;
        margin-bottom: 16px;
    }

    .welcome-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .explore-cta {
        text-align: center;
    }

    .mead-spotlight {
        order: -1;
    }
}

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Navbar responsive styles */
@media (max-width: 1023px) {
    #desktop-nav {
        display: none !important;
    }
    #user-actions {
        display: none !important;
    }
    #mobile-menu-btn-container {
        display: block !important;
    }
}

@media (min-width: 1024px) {
    #mobile-menu-btn-container {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .navbar-logo-text {
        font-size: 1.5rem !important;
    }
    .navbar-logo-img {
        height: 3rem !important;
        width: 3rem !important;
    }
    nav div:first-child div:first-child {
        height: 4rem !important;
    }
}

@media (max-width: 640px) {
    .navbar-logo-text {
        font-size: 1.25rem !important;
        max-width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .navbar-logo-img {
        height: 2.5rem !important;
        width: 2.5rem !important;
    }
    nav div:first-child div:first-child {
        height: 3.5rem !important;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}
