/* Custom Styles for Mazzella Kitchen & Supply */

:root {
    --emerald-950: #064e3b;
    --emerald-900: #065f46;
    --emerald-800: #047857;
    --emerald-700: #059669;
    --emerald-600: #10b981;
    --emerald-500: #34d399;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;
    --cream: #faf9f6;
    --cream-dark: #f5f0e8;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--emerald-950);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Navbar Styles */
#navbar {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.1);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.1);
}

/* Floating Card Animations */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Service Card Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-500);
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

/* Image Hover Effects */
.group:hover img {
    transform: scale(1.05);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    .floating-card,
    .floating-card-delayed {
        display: none;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        background: white;
    }
}
