/* Main Stylesheet for La Teca */
@import url('theme.css');

/* === HEADER & NAVIGATION === */
header {
    background-color: var(--color-primary);
    color: var(--color-wall);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 60px;
    /* Tamaño ajustado para navbar */
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--color-wall);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
    border-bottom: 2px solid var(--color-accent);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--color-wall);
    cursor: pointer;
}

/* === HERO SECTION === */
/* === HERO SECTION === */
.hero {
    background: #4C4843;
    /* Color exacto del logo */
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.png'); */
    /* background-size: cover; */
    /* background-position: center; */
    color: white;
    padding: 20px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-wall);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* === BRICK SEPARATOR === */
.brick-separator {
    width: 100%;
    height: 30px;
    /* Altura de la franja */
    background-image: url('../img/subtle_brick_pattern.png');
    background-color: #ffffff;
    background-blend-mode: normal;
    background-size: 300px;
    /* Tamaño para que se vea el patrón */
    background-repeat: repeat-x;
    background-position: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    /* Sombra interna para profundidad */
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}

/* === CATEGORIES GRID (Mobile First Approach) === */
.categories-section {
    padding: 4rem 0;
    background-color: var(--color-wall);
    background-image: url('../img/subtle_brick_pattern.png');
    background-size: 150px;
    /* Tamaño más pequeño patrón */
    background-blend-mode: multiply;
    /* Fusion suave con el color de fondo */
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    background: #2a2a2a;
    /* Fondo oscuro premium */
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--color-wall);
    /* Texto dorado/amarillo */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Borde sutil */
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-color: var(--color-wall);
    /* Borde dorado al hover */
    background: #333;
}

.category-card::after {
    /* Línea decorativa inferior */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--color-wall);
    transition: width 0.3s ease;
}

.category-card:hover::after {
    width: 100%;
}

.category-card span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: bold;
}

/* === MENU/CARTA DISPLAY === */
.menu-section {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 2rem auto;
    max-width: 800px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--color-border);
}

.menu-item:last-child {
    border-bottom: none;
}

.item-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.item-details p {
    font-size: 0.9rem;
    color: #666;
}

.item-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-accent);
    min-width: 80px;
    text-align: right;
}

/* === FOOTER === */
footer {
    background-color: var(--color-primary);
    color: #888;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === MENU PAGE SPECIFIC === */
.menu-body {
    background-color: var(--color-wall);
    background-image: url('../img/subtle_brick_pattern.png');
    background-size: 150px;
    background-blend-mode: multiply;
    min-height: 100vh;
}