/* Custom styles for Tea Cup Boba House */

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

/* Custom font imports are handled in index.html */

/* Base styles */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #fffdf9;
    color: #2C1810;
    overflow-x: hidden;
}

/* Display font for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #7D2E56 0%, #c42a64 25%, #ff7a97 50%, #ffd1d9 75%, #ffe8ec 100%);
}

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

@keyframes float-delayed {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(-5deg); 
    }
}

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

.float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Pulse animation for CTAs */
@keyframes pulse-soft {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.pulse-hover:hover {
    animation: pulse-soft 0.6s ease-in-out;
}

/* Scroll reveal animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Bubble decoration */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c42a64;
}

/* Card hover effects */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(125, 46, 86, 0.15);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #7D2E56 0%, #c42a64 100%);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(125, 46, 86, 0.3);
}

.btn-secondary {
    background: white;
    color: #7D2E56;
    border: 2px solid #7D2E56;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #7D2E56;
    color: white;
}

/* Form styles */
.form-input {
    border: 2px solid #ffd1d9;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #7D2E56;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(180deg, #7D2E56 0%, #c42a64 50%, #ffd1d9 100%);
    }
}

/* Print styles */
@media print {
    .hero-gradient,
    .bubble,
    .float-animation,
    .float-delayed {
        display: none;
    }
}
