/* Custom Styles for Drip Coffee House */

:root {
    --color-coral-50: #fff5f3;
    --color-coral-100: #ffeae5;
    --color-coral-200: #ffd4c8;
    --color-coral-300: #ffb49c;
    --color-coral-400: #ff8a6c;
    --color-coral-500: #ff5f36;
    --color-coral-600: #e8432a;
    --color-coral-700: #c43320;
    --color-coral-800: #a02a1c;
    --color-coral-900: #82251a;
    
    --color-stone-50: #fafaf9;
    --color-stone-100: #f5f5f4;
    --color-stone-200: #e7e5e4;
    --color-stone-300: #d6d3d1;
    --color-stone-400: #a8a29e;
    --color-stone-500: #78716c;
    --color-stone-600: #57534e;
    --color-stone-700: #44403c;
    --color-stone-800: #292524;
    --color-stone-900: #1c1917;
}

/* Custom Font Classes */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

/* Coral Color Utilities */
.text-coral-600 {
    color: var(--color-coral-600);
}

.bg-coral-600 {
    background-color: var(--color-coral-600);
}

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

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

::-webkit-scrollbar-track {
    background: var(--color-stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-stone-400);
    border-radius: 4px;
}

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

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--color-coral-600);
    outline-offset: 2px;
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    img,
    button,
    input,
    textarea,
    a {
        transition: none;
    }
    
    .fade-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Mobile Menu Animations */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Form Focus States */
input:focus,
textarea:focus {
    border-color: var(--color-coral-600);
    box-shadow: 0 0 0 3px rgba(232, 67, 42, 0.1);
}

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

/* Section Spacing */
section {
    position: relative;
}

/* Print Styles */
@media print {
    nav,
    button,
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-stone-900,
    .bg-stone-800 {
        background-color: #fff !important;
        color: #000 !important;
    }
}
