/* Custom styles for The Carriage Wine & Market */

body {
    font-family: 'Lato', sans-serif;
    background-color: #F8F5F2; /* Soft beige background */
    color: #4B4237; /* Dark brown text */
}

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

/* Hero background with elegant wine bar setting */
.hero-bg {
    background-image: url('https://pixabay.com/get/ge50ddba84e02dfad1f759c78d8232c79605b643dc2e284fec73a4fbed6a063051b9d7a25d5253cbbb22368b2c349978948ecfd6c5e6afcca3344f0511719bd5b_1280.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Button styles */
.btn-primary {
    @apply bg-[#B99A7B] text-white font-bold py-3 px-8 rounded-sm text-lg shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105;
}

.btn-secondary {
    @apply bg-transparent border-2 border-[#B99A7B] text-[#B99A7B] font-bold py-3 px-8 rounded-sm text-lg shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105 hover:bg-[#B99A7B] hover:text-white;
}

/* Menu card hover effects */
.menu-card:hover .menu-card-image {
    transform: scale(1.05);
}

/* Gallery image effects */
.gallery-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    filter: brightness(1.1);
}

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

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

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

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

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

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

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

#mobile-menu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

/* Enhanced typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em;
}

/* Contact section enhanced styling */
.shadow-inner {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .sm\:text-7xl {
        font-size: 3.5rem;
    }
}

/* Focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #B99A7B;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-bg {
        background: #4B4237;
        color: white;
    }
    
    nav, footer {
        display: none;
    }
}
