/* Custom CSS for animations and effects */
.frame-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.frame-hover {
    transition: all 0.3s ease;
}
.cart-slide {
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}
.cart-slide.open {
    transform: translateX(0);
}
.pulse-animation {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Add to your CSS file */
@keyframes cart-bounce {
  0%, 100% { transform: scale(1);}
  50% { transform: scale(1.3);}
}
.cart-bounce {
  animation: cart-bounce 0.4s;
}
.like-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.like-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}
.like-btn.liked {
    color: #ef4444;
}
.category-card {
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
}
/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.mobile-menu.open {
    max-height: 500px;
}
/* Poster Gallery Styles */
.poster-card {
    transition: all 0.3s ease;
}
.poster-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.like-btn.active {
    color: #ef4444;
}
.add-to-cart-btn {
    transition: all 0.2s ease;
}
/* Category dropdown */
.category-dropdown {
    position: relative;
}
.category-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.category-dropdown:hover .category-dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.category-dropdown-item {
    padding: 10px 20px;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}
.category-dropdown-item:hover {
    background-color: #f5f5f5;
    color: #3b82f6;
}
/* Custom poster success modal */
.custom-poster-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 100;
    justify-content: center;
    align-items: center;
}
.custom-poster-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add to your main CSS file */
.slide-in-left {
    animation: slideInLeft 0.5s;
}
.slide-in-right {
    animation: slideInRight 0.5s;
}
@keyframes slideInLeft {
    from { transform: translateX(-60%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
    from { transform: translateX(60%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}