/**
 * Tu Casa Restaurant - Menu Page Styles
 * Based on original design from tucasaqueensblvd.com
 */

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

/* General styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

/* Header */
header {
    background-image: url('hero-image.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    height: 350px;
    text-align: center;
    width: 100%;
    position: relative;
}

/* Fallback header style if image doesn't load */
header.no-image {
    background: linear-gradient(135deg, #cf0a2c 0%, #8B0000 100%);
}

header div {
    background-color: rgba(66, 66, 66, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 70px;
    text-shadow: 0 4px 4px rgba(35, 31, 32, 0.2);
}

header .subtitle {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    margin-top: 10px;
}

/* Navigation */
nav {
    background-color: #cf0a2c;
    padding: 15px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

nav a {
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.white-medium-button {
    background-color: #fff;
    box-shadow: 0 4px 4px 0 rgba(35, 31, 32, 0.2);
    border-radius: 18px;
    color: #cf0a2c;
    height: 50px;
    margin-top: 30px;
    width: 260px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.white-medium-button:hover {
    background-color: #F6F6F6;
}

.red-large-button {
    background-color: #cf0a2c;
    border-radius: 18px;
    color: #fff;
    height: 50px;
    width: 100%;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.red-large-button:hover {
    background-color: #B90927;
}

/* Main Section */
.main {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

/* Menu Content */
.menu-content {
    flex: 1;
    padding: 20px;
}

.menu-content h2 {
    color: #cf0a2c;
    font-size: 28px;
    font-weight: 700;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #cf0a2c;
}

.menu-content h2:first-child {
    margin-top: 0;
}

/* Menu Category */
.menu-category {
    margin-bottom: 40px;
}

.category-header {
    background-color: #cf0a2c;
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.category-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.menu-items {
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f9f9f9;
}

.menu-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.menu-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #cf0a2c;
    white-space: nowrap;
}

/* Sidebar */
aside {
    background-color: #f7f7f7;
    padding: 30px 25px;
    width: 280px;
    flex-shrink: 0;
    border-radius: 8px;
    height: fit-content;
}

aside h3 {
    color: #cf0a2c;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

aside p {
    color: #333;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

aside .phone {
    color: #009ade;
    font-size: 16px;
    margin: 10px 0;
}

aside a {
    color: #009ade;
    font-size: 14px;
}

aside a:hover {
    color: #126b95;
}

/* Hours */
.hours-list {
    list-style: none;
    margin-top: 15px;
    text-align: left;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list .day {
    font-weight: 600;
    color: #333;
}

.hours-list .time {
    color: #666;
}

/* Address Section */
.address-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Order Button Container */
.order-button-container {
    margin-top: 25px;
    text-align: center;
}

.order-button-container .red-large-button {
    width: 100%;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

footer p {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

footer a {
    color: #009ade;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

footer ul a {
    color: white;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main {
        flex-direction: column;
    }
    
    aside {
        width: 100%;
        order: -1;
    }
    
    header h1 {
        font-size: 40px;
    }
    
    header .subtitle {
        font-size: 18px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .menu-item-price {
        align-self: flex-end;
    }
}

/* Menu Grid for Categories */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* Quick Navigation */
.quick-nav {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.quick-nav h4 {
    color: #cf0a2c;
    font-size: 16px;
    margin-bottom: 15px;
}

.quick-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.quick-nav a {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #009ade;
    border-radius: 15px;
    color: #009ade;
    font-size: 13px;
    transition: all 0.3s;
}

.quick-nav a:hover {
    background-color: #009ade;
    color: white;
}