/* Custom Styles for Camino Coffee */

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

/* Base styles */
body {
    font-family: 'Nunito', system-ui, sans-serif;
}

.font-heading {
    font-family: 'Lora', Georgia, serif;
}

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

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

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

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

/* Navbar */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(107, 58, 91, 0.08);
}

#navbar.scrolled .nav-link {
    color: #4d2943;
}

#navbar.scrolled .font-heading {
    color: #4d2943;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #D4922B 0%, #b8761e 100%);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(212, 146, 43, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 146, 43, 0.45);
    background: linear-gradient(135deg, #e0a030 0%, #c48520 100%);
    color: white;
}

/* Secondary button */
.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    color: #4d2943;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #ebbdd6;
}

.btn-secondary:hover {
    border-color: #c46396;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    color: #4d2943;
}

/* Menu cards */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Feature cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5e0eb;
    transition: color 0.2s ease;
}

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

.mobile-nav-link:hover {
    color: #D4922B;
}

/* Nav links */
.nav-link {
    color: #6B3A5B;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #D4922B;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Input focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 146, 43, 0.15);
}

/* Image hover effects */
.menu-card img:hover {
    transform: scale(1.03);
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-heading {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}
