/* ===== FANTA TROPICAL MIX INTERACTIVE EFFECTS ===== */

/* === RIPPLE EFFECTS === */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.4) 0%, transparent 70%);
    transform: scale(0);
    pointer-events: none;
    z-index: 1;
}

.ripple-effect.active {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* === SPLASH EFFECTS === */
.splash-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
}

.splash-ripple {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-orange);
    border-radius: 50%;
    animation: splashRipple 0.8s ease-out;
}

.splash-bubbles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.splash-bubble {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--mango-yellow);
    border-radius: 50%;
    animation: splashBubble 0.6s ease-out;
}

.splash-bubble:nth-child(1) {
    top: -20px;
    left: -10px;
    animation-delay: 0.1s;
}

.splash-bubble:nth-child(2) {
    top: -15px;
    right: -15px;
    animation-delay: 0.2s;
}

.splash-bubble:nth-child(3) {
    bottom: -20px;
    left: 5px;
    animation-delay: 0.3s;
}

@keyframes splashRipple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes splashBubble {
    0% {
        transform: scale(0) translateY(0);
        opacity: 1;
    }
    100% {
        transform: scale(1.5) translateY(-30px);
        opacity: 0;
    }
}

/* === TOAST NOTIFICATIONS === */
.fruit-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--gradient-orange);
    color: var(--pure-white);
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-heavy);
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    opacity: 0;
}

.fruit-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.toast-content i {
    font-size: 1.1rem;
    animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* === MODAL ENHANCEMENTS === */
.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-content {
    transform: translateY(-30px) scale(0.95);
    transition: all 0.3s ease;
}

/* === STORE INFO STYLING === */
.store-info {
    font-family: var(--font-primary);
    line-height: 1.6;
}

.store-info h4 {
    color: var(--primary-orange);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-info h4:first-child {
    margin-top: 0;
}

.store-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.store-info li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.store-info li::before {
    content: '🥤';
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 0.8rem;
}

/* === HOVER GLOW EFFECTS === */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.glow-effect:hover::before {
    opacity: 1;
}

/* === LOADING STATES === */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: loading-shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* === PARTICLE EFFECTS === */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--mango-yellow);
    border-radius: 50%;
    opacity: 0.8;
    animation: float-particle 3s ease-in-out infinite;
}

.particle:nth-child(even) {
    background: var(--primary-orange);
    animation-delay: 1s;
}

.particle:nth-child(3n) {
    background: var(--lime-green);
    animation-delay: 2s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

/* === SECTION TRANSITIONS === */
.section-transition {
    position: relative;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
    z-index: 2;
    pointer-events: none;
}

.section-transition.animate::before {
    left: 100%;
}

/* === BUTTON ENHANCED EFFECTS === */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button span,
.cta-button i {
    position: relative;
    z-index: 1;
}

/* === FRUIT CARD ENHANCED HOVER === */
.fruit-card {
    position: relative;
    overflow: hidden;
}

.fruit-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 122, 0, 0.05) 100%);
    transition: top 0.3s ease;
    pointer-events: none;
}

.fruit-card:hover::after {
    top: 0;
}

/* === SCROLL INDICATORS === */
.scroll-indicator {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}

.scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 122, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background: var(--primary-orange);
    transform: scale(1.2);
}

.scroll-dot:hover {
    background: var(--primary-orange);
    transform: scale(1.1);
}

/* === MOBILE TOUCH FEEDBACK === */
@media (max-width: 768px) {
    .fruit-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .cta-button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .map-marker:active .marker-can {
        transform: scale(1.3) rotate(15deg);
        transition: transform 0.1s ease;
    }
}

/* === ACCESSIBILITY ENHANCEMENTS === */
.focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .ripple-effect,
    .splash-effect,
    .particle {
        animation: none !important;
    }
    
    .fruit-toast {
        transition: none !important;
    }
    
    .modal,
    .modal-content {
        transition: none !important;
    }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
    .fruit-card {
        border: 2px solid var(--text-dark);
    }
    
    .cta-button {
        border: 2px solid var(--pure-white);
    }
    
    .modal-content {
        border: 2px solid var(--text-dark);
    }
}