/* Category Page Specific Styles */
.category-page {
    padding-top: 100px; /* Space for fixed navbar */
    min-height: 100vh;
    background: #fdfaf6;
}

.back-button {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.back-button a {
    color: #5d0527;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.back-button a::before {
    content: none;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.back-button a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 1.5rem;
    width: calc(100% - 1.5rem);
    height: 2px;
    background-color: #5d0527;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.back-button a:hover {
    color: #7d0735;
    transform: translateX(-3px);
}

.back-button a:hover::before {
    transform: translateX(-3px);
}

.back-button a:hover::after {
    transform: scaleX(1);
}

.back-button a:active {
    transform: translateX(-1px);
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h1 {
    font-family: 'Playfair Display', serif;
    color: #5d0527;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.menu-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(93, 5, 39, 0.1);
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-card-content {
    padding: 1.5rem;
}

.menu-card-content h3 {
    color: #5d0527;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.menu-card-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.menu-card-content .price {
    display: block;
    color: #5d0527;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .menu-items-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .category-header h1 {
        font-size: 2rem;
    }
    
    .category-page {
        padding-top: 80px;
    }
}