/* Custom CSS for Sweet Beans Coffee Bar */

/* Color Variables */
:root {
    --plum-950: #0f0514;
    --plum-900: #1a0a24;
    --plum-800: #2d1240;
    --plum-700: #4a1d66;
    --plum-600: #6b2d8f;
    --plum-300: #d4a5e5;
    --plum-200: #e8c8f0;
    --plum-100: #f5e6f7;
    --amber-400: #f5c542;
    --amber-300: #ffd966;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--plum-950);
    color: var(--plum-100);
}

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

::-webkit-scrollbar-track {
    background: var(--plum-950);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--amber-400);
}

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

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(15, 5, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 30px rgba(245, 197, 66, 0.1);
}

/* Menu Card Hover */
.group:hover .group-hover\:text-amber-400 {
    color: var(--amber-400);
}

/* Input Focus Effects */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.3);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Testimonial Slider */
.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.testimonial-slide.active {
    display: block;
}

/* Mobile Menu */
#mobile-menu {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

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

/* Image Hover Zoom */
.overflow-hidden img {
    transition: transform 0.7s ease;
}

.overflow-hidden:hover img {
    transform: scale(1.05);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}

/* Gold Accent Line */
.gold-line {
    position: relative;
}

.gold-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--amber-400), transparent);
}
