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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #FFA559 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    animation: subtleShake 3s ease-in-out infinite;
}

@keyframes subtleShake {
    0%, 100% {
        transform: rotate(0deg) translateX(0);
    }
    25% {
        transform: rotate(-1deg) translateX(-1px);
    }
    50% {
        transform: rotate(1deg) translateX(1px);
    }
    75% {
        transform: rotate(-0.5deg) translateX(-0.5px);
    }
}

.logo-text {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.4rem;
    color: #FF6B35;
}

.menu-title {
    font-family: 'Righteous', cursive;
    font-size: 3rem;
    color: #E63946;
    text-shadow: 3px 3px 0px #FFD700, 6px 6px 0px rgba(0, 0, 0, 0.2);
    letter-spacing: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* WhatsApp Contact */
.whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    padding: 8px 15px;
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
	margin-top: 10px;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.whatsapp-number {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 4px;
    padding: 10px 30px 10px 30px;
    height: calc(100vh - 80px);
}

/* Menu Item Card */
.menu-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Image Container */
.item-image {
    width: 35%;
    height: 100%;
    background: linear-gradient(135deg, #FFA559 0%, #FF8C42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 3px solid #FF6B35;
    object-fit: cover;
    flex-shrink: 0;
    animation: gentleSwing 4s ease-in-out infinite;
}

@keyframes gentleSwing {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-2deg) scale(1.02);
    }
    75% {
        transform: rotate(2deg) scale(0.98);
    }
}

/* Si usas imágenes reales, agrega esta clase */
.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Container */
.item-content {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 12px;
}

/* Content */
.item-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2C3E50;
    text-align: left;
    line-height: 1.1;
    margin-bottom: 5px;
}

.item-description {
    font-size: 0.80rem;
    color: #7F8C8D;
    text-align: left;
    line-height: 1.2;
    margin-bottom: 8px;
    flex-grow: 1;
}

/* Price - Reducido aún más */
.item-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #E63946;
    text-align: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 4px 6px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.3);
    letter-spacing: 1px;
    animation: doublePulse 8s ease-in-out infinite;
}

@keyframes doublePulse {
    0% {
        transform: scale(1);
    }
    2% {
        transform: scale(1.08);
    }
    4% {
        transform: scale(1);
    }
    6% {
        transform: scale(1.08);
    }
    8%, 100% {
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    .menu-grid {
        gap: 3px;
        padding: 10px 30px 10px 30px;
    }
    
    .item-image {
        width: 35%;
    }
    
    .item-name {
        font-size: 1rem;
    }
    
    .item-description {
        font-size: 0.9rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 3px;
        padding: 10px 30px 10px 30px;
    }
    
    .menu-title {
        font-size: 2.5rem;
    }
    
    .item-image {
        width: 35%;
    }
    
    .item-name {
        font-size: 1rem;
    }
    
    .item-description {
        font-size: 0.85rem;
    }
    
    .item-price {
        font-size: 1rem;
    }
    
    .whatsapp-number {
        font-size: 1rem;
    }
    
    .whatsapp-icon {
        width: 25px;
        height: 25px;
    }
}