/* ApiMag.ro - Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF8E1;
}
::-webkit-scrollbar-thumb {
    background: #FFB300;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF8F00;
}

/* Honeycomb pattern overlay */
.honeycomb-bg {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23FFC10720' stroke-width='1'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23FFC10710' stroke-width='1'/%3E%3C/svg%3E");
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 30%, #FFE082 60%, #FFF8E1 100%);
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Bee flight path */
@keyframes bee-fly {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -15px) rotate(5deg); }
    50% { transform: translate(0, -25px) rotate(0deg); }
    75% { transform: translate(-20px, -15px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}
.animate-bee {
    animation: bee-fly 6s ease-in-out infinite;
}

/* Card hover effects */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(255, 152, 0, 0.25);
}

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

.product-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Drip effect for honey */
.honey-drip {
    position: relative;
}
.honey-drip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: #FFB300;
    border-radius: 0 0 50% 50%;
    opacity: 0.6;
}

/* Pulse for badges */
@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}
.badge-pulse {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Tab active state */
.tab-active {
    border-bottom: 3px solid #FFB300;
    color: #3E2723;
    font-weight: 600;
}

/* Quantity input */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-input {
    -moz-appearance: textfield;
}

/* Toast notification */
.toast {
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Rating stars */
.star-filled {
    color: #FFB300;
}
.star-empty {
    color: #D7CCC8;
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

/* Focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

/* Dashboard sidebar active */
.sidebar-active {
    background: linear-gradient(90deg, #FFF8E1, transparent);
    border-left: 3px solid #FFB300;
    color: #3E2723;
    font-weight: 600;
}

/* Wishlist heart animation */
.wishlist-btn.is-wishlisted .wishlist-icon {
    fill: currentColor !important;
    color: #ef4444 !important;
}
.wishlist-btn:active .wishlist-icon {
    animation: heartBeat 0.3s ease-in-out;
}
@keyframes heartBeat {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
