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


html,
body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #fffaf0;
    color: #333;
}

/* HERO con imagen de fondo */
.hero {
    background-image: url('foodTruck.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    text-align: center;
    color: #fff;
    width: 100%;
}

.title {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px #000;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.btn {
    background-color: #ffce00;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 10px #ffce00;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #fff;
    color: #ffce00;
    box-shadow: 0 0 20px #ffce00;
}

/* Menú */
.menu {
    padding: 2rem;
    background-color: #fefbd8;
    text-align: center;
}

.menu h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.menu ul {
    list-style: none;
}

.menu li {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Info */
.info {
    background-color: #ffe0b2;
    padding: 2rem;
    text-align: center;
}

.info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.info .map {
    display: inline-block;
    margin-top: 1rem;
    background-color: #009688;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.info .map:hover {
    background-color: #004d40;
}



.truck-bg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

#mainNav {
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    text-align: center;
}

#mainNav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

#mainNav a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

#mainContent {
    display: none;
    background: #fffaf0;
}

.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 0.8rem 1rem;
    display: none;
    text-align: center;
    font-size: 0.85rem;
    z-index: 1000;

    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
}

.footer-fixed.show {
    display: block;
    transform: translateY(0); 
    opacity: 1;
    pointer-events: auto;
}

.footer-fixed a {
    color: #ffce00;
    font-weight: bold;
    text-decoration: none;
    margin: 0 0.3rem;
}

.footer-fixed a:hover {
    text-decoration: underline;
}

.fadeOutUp {
    animation: fadeOutUp 1s forwards;
}

/* Navbar modernizado */
.nav-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    padding: 1rem 0;
}

.nav-fixed ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

.nav-fixed .nav-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-fixed .nav-btn:hover {
    color: #ffce00;
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 90%;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.modal-content {
    position: relative;
}


.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content ul {
    list-style: none;
}

.close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    z-index: 10;
}


/* Fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-100%);
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
    }
}