/* Custom styles for City Place Yogurt */

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

/* Prevent flash of hidden content - all content visible by default */
/* Scroll reveal animations are progressive enhancement via JS */

/* Navbar transition */
#navbar.scrolled {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Menu card hover effects */
.menu-card {
    transform: translateY(0);
}

/* Testimonial card hover */
.testimonial-card {
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: #e8bc7a;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: #f5c0a8;
    color: #7a2c1a;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu links */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Scroll reveal base - content always visible */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll reveal for below-fold sections - applied via JS */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle gradient text for hero */
.gradient-text {
    background: linear-gradient(135deg, #d45730, #e47450);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating animation for hero badge */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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