/* Custom CSS for H&H Kitchen Restaurant Website */

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

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Custom colors to match the design */
:root {
    --primary-orange: #ff6b35;
    --dark-brown: #2d1810;
    --light-brown: #8b4513;
    --cream: #faf8f5;
    --gold: #d4af37;
}

/* Hero section styling */
.hero-gradient {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f1eb 100%);
}

/* Custom button styles */
.btn-primary {
    background: var(--primary-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 4px;
}

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

/* Search bar styling */
.search-bar {
    background: white;
    border-radius: 50px;
    padding: 16px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-orange);
}

/* Stats circle styling */
.stats-circle {
    width: 120px;
    height: 120px;
    background: var(--dark-brown);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.stats-circle:hover {
    transform: scale(1.05);
    background: var(--primary-orange);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.stats-label {
    font-size: 0.875rem;
    text-align: center;
    margin-top: 4px;
}

/* Menu tabs styling */
.menu-tab {
    padding: 12px 24px;
    border-radius: 50px;
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-tab.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.menu-tab:hover:not(.active) {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

/* Modern menu tabs styling */
.menu-tab-modern {
    padding: 14px 28px;
    border-radius: 50px;
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 14px;
}

.menu-tab-modern.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.menu-tab-modern:hover:not(.active) {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.menu-tab-modern i {
    font-size: 12px;
}

/* Blog card styling */
.blog-card {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Newsletter section styling */
.newsletter-bg {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--light-brown) 100%);
}

/* Footer styling */
.footer-bg {
    background: var(--dark-brown);
    color: white;
}

/* Image overlay effects */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-overlay:hover::before {
    opacity: 1;
}

/* Popular Dishes Section Styling */
.popular-dishes-swiper .swiper-slide {
    height: auto;
}

.popular-dishes-swiper .swiper-wrapper {
    align-items: stretch;
}

/* Heart button hover effect */
.popular-dishes-swiper .group:hover .fa-heart {
    transform: scale(1.1);
}

/* Custom navigation buttons */
.popular-prev,
.popular-next {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.popular-prev:hover,
.popular-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Dish card hover effects */
.popular-dishes-swiper .group {
    transition: all 0.3s ease;
}

.popular-dishes-swiper .group:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Star rating styling */
.fa-star {
    transition: all 0.2s ease;
}

.fa-star:hover {
    transform: scale(1.1);
}

/* Swiper customization */
.swiper-pagination-bullet {
    background: var(--primary-orange) !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-orange) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-circle {
        width: 100px;
        height: 100px;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
    
    .stats-label {
        font-size: 0.75rem;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
