:root {
    --primary-color: #FF6B00;
    --secondary-color: #362D26;
    --accent-color: #FFD700;
    --neutral-color: #808080;
    --warning-color: #BF2604;
    --dark-color: #0D0D0D;
    --light-bg: #f5f5f5;
}


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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.main-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.main-logo img {
    width: 50px;
    height: 50px;
    border-radius: 45%;
    margin-right: -15px;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
    position: relative;
    padding-left: 20px;
    transition: color 0.3s ease;
}

.main-logo:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(242, 159, 4, 0.6);
}

.main-logo:hover .logo-text {
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

.redes-sociales a {
    color: var(--dark-color);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.redes-sociales a:hover {
    color: var(--accent-color);
}

.principal-seccion {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: white;
    padding-top: 80px;
}

.principal-contenedor {
    max-width: 600px;
    padding-left: 100px;
}

.principal-contenedor h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: white;
}

.principal-contenedor p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.principal-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.principal-btn:hover {
    background-color: var(--accent-color);
    color: var(--warning-color);
}

.secundario-btn {
    background-color: white;
    border: 1px solid white;
    width: 250px;
    height: 49px;
    margin-left: 15px;
}

.secundario-btn:hover {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--warning-color);
}

.features-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.feature-item {
    flex-basis: 300px;
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light-bg);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-circle i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.instagram-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.instagram-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.instagram-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.instagram-link {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 148, 51, 0.3);
}

.instagram-link:hover {
    background: linear-gradient(45deg, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 148, 51, 0.4);
}

.instagram-link i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.instagram-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.8), rgba(230, 104, 60, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .post-overlay {
    opacity: 1;
}

.post-overlay i {
    font-size: 2.5rem;
    color: white;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.instagram-cta {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.instagram-cta p {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.hashtag {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--secondary-color);
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.whatsapp-btn {
    background-color: #25d366;
    color: white;
    border: none;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.05);
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info,
.footer-contact,
.footer-location {
    flex-basis: 30%;
}

.footer-info h3,
.footer-contact h3,
.footer-location h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-info p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
}

.footer-info .social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #ccc;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.map-container {
    border: 5px solid white;
}

footer small {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #999;
}

.menu-page {
    padding-top: 100px;
}

.menu-hero {
    text-align: center;
    padding: 50px 20px 20px;
}

.menu-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.custom-burger {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.custom-box {
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.burger-icon-container {
    margin-bottom: 15px;
}

.custom-box h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.custom-box p {
    color: #666;
    margin-bottom: 15px;
}

.menu-content {
    padding: 40px 20px;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.item-image-container {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.menu-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item .popular-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--warning-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}

.item-info {
    padding: 15px;
    text-align: center;
}

.item-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.item-info .item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.order-summary-sidebar {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 300px;
    z-index: 999;
}

.order-box {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.order-box h4 {
    font-size: 1.3rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.order-items {
    max-height: 200px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-item .item-name {
    font-size: 1rem;
}

.order-item .item-price {
    color: var(--primary-color);
    font-weight: 700;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    padding-top: 15px;
    border-top: 2px solid #eee;
    margin-top: 15px;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--warning-color);
    cursor: pointer;
    font-size: 1rem;
    margin-left: 10px;
    transition: color 0.2s ease;
}

.remove-item-btn:hover {
    color: var(--dark-color);
}

.nosotros-page {
    padding-top: 100px;
}

.nosotros-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background: linear-gradient(to right, #6a8c3d, #8c6a00);
    color: white;
}

.nosotros-hero .container {
    max-width: 800px;
    padding-left: 50px;
}

.nosotros-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.nosotros-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    color: #f0f0f0;
}

.nosotros-content {
    padding: 80px 20px;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-column {
    flex: 1;
}

.text-column h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.text-column p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.image-column {
    flex: 1;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.valores-section,
.equipo-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--light-bg);
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
}

.valores-grid,
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.valor-card,
.miembro-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.valor-card:hover,
.miembro-card:hover {
    transform: translateY(-5px);
}

.valor-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px solid var(--primary-color);
}

.valor-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.valor-card h3,
.miembro-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.miembro-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.miembro-card span {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.stats-section {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.stats-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stats-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-text {
    font-size: 1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contacto-page {
    padding-top: 100px;
    background-color: var(--light-bg);
}

.contacto-hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: white;
}

.contacto-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contacto-hero p {
    font-size: 1.1rem;
    color: #f0f0f0;
}

.contacto-content {
    padding: 60px 20px;
}

.contact-form-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info-block {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info-block h2,
.contact-form-block h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.info-item p {
    font-size: 0.9rem;
    color: #555;
}

.contact-form-block {
    flex: 2;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.social-whatsapp-container {
    display: flex;
    gap: 40px;
}

.social-box,
.whatsapp-box {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-form-block .primary-btn:hover {
    cursor: pointer;
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-box h3,
.whatsapp-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.facebook-link {
    background-color: #3b5998;
}

.location-section {
    padding: 60px 20px;
}

.location-box {
    text-align: center;
    margin-bottom: 40px;
}

.location-box h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.location-box p {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav {
        margin-top: 15px;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .principal-contenedor {
        padding-left: 20px;
        text-align: center;
    }

    .principal-contenedor h1 {
        font-size: 2.5rem;
    }

    .features-container {
        flex-direction: column;
    }

    .instagram-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .instagram-cta {
        padding: 20px;
        margin-top: 30px;
    }

    .instagram-cta p {
        font-size: 1rem;
    }

    .hashtag {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-info .social-icons {
        justify-content: center;
    }

    .menu-page {
        padding-top: 80px;
    }

    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .order-summary-sidebar {
        width: 90%;
        left: 5%;
        right: 5%;
        bottom: 10px;
    }

    .content-row {
        flex-direction: column;
    }

    .image-column {
        order: -1;
    }

    .nosotros-hero .container {
        padding-left: 20px;
        text-align: center;
    }

    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form-container,
    .social-whatsapp-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .instagram-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .instagram-section h2 {
        font-size: 2rem;
    }

    .instagram-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .post-overlay i {
        font-size: 2rem;
    }

    .menu-page {
        padding-top: 60px;
    }

    .menu-hero h1 {
        font-size: 2rem;
    }

    .custom-box {
        padding: 20px;
    }

    .menu-content {
        padding: 20px;
    }

    .order-summary-sidebar {
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.added-notification {
    animation: slideIn 0.3s ease-out;
}


.empty-order {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}


.btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}


.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

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

.remove-item-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.remove-item-btn:hover {
    background: #c82333;
}

.item-name {
    flex: 1;
    font-weight: 500;
}

.item-price {
    margin-right: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.burger-builder-page {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.builder-hero {
    text-align: center;
    padding: 40px 20px;
    background: white;
    margin-bottom: 30px;
}

.builder-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.builder-hero p {
    font-size: 1.1rem;
    color: #666;
}

.builder-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: start;
}


.burger-preview {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.burger-preview h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.burger-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-height: 300px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #ddd;
}

.ingredient {
    background: white;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 200px;
    position: relative;
    transition: transform 0.2s ease;
}

.ingredient:hover {
    transform: translateY(-2px);
}

.ingredient span {
    font-size: 1.5rem;
}

.ingredient p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    flex: 1;
}

.remove-ingredient {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    transition: background-color 0.2s ease;
}

.remove-ingredient:hover {
    background: #c82333;
}

.burger-name {
    margin-top: 20px;
}

.burger-name input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.burger-name input:focus {
    outline: none;
    border-color: var(--primary-color);
}


.ingredients-panel {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

.ingredients-panel h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.ingredient-category {
    margin-bottom: 25px;
}

.ingredient-category h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.1rem;
}

.ingredient-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ingredient-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ingredient-option:hover {
    border-color: var(--primary-color);
    background: #fef9e7;
    transform: translateY(-1px);
}

.ingredient-icon {
    font-size: 1.8rem;
    width: 40px;
    text-align: center;
}

.ingredient-info {
    flex: 1;
}

.ingredient-info p {
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
}

.ingredient-info .price {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.add-ingredient-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.add-ingredient-btn:hover {
    background: var(--secondary-color);
}


.order-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.custom-burger-summary h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.ingredients-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.ingredients-list p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #555;
}

.total-section {
    border-top: 2px solid #f0f0f0;
    padding-top: 15px;
    margin-bottom: 20px;
}

.total-section p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 0.95rem;
}

.base-price {
    color: #666;
}

.extras-price {
    color: var(--primary-color);
    font-weight: 500;
}

.final-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
    border-top: 1px solid #ddd;
    padding-top: 8px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-buttons .btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.secondary-btn {
    background: #6c757d;
    color: white;
    border: none;
}

.secondary-btn:hover {
    background: #5a6268;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
}

.primary-btn:hover {
    background: var(--secondary-color);
}


@media (max-width: 1200px) {
    .builder-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .burger-preview,
    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .builder-hero h1 {
        font-size: 2rem;
    }

    .ingredient-option {
        padding: 12px;
    }

    .ingredient-icon {
        font-size: 1.5rem;
        width: 35px;
    }

    .action-buttons {
        flex-direction: column;
    }
}

* Modal para personalizar hamburguesas */ .modal {
    display: none;
    position: fixed;
    z-index: 99999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 100000 !important;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

.burger-builder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.burger-preview-section h4,
.ingredients-section h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.burger-visual {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.bun-top,
.bun-bottom,
.ingredient-layer {
    font-size: 2rem;
    padding: 5px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#custom-burger-name {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
}

#custom-burger-name:focus {
    outline: none;
    border-color: var(--primary-color);
}

.ingredient-group {
    margin-bottom: 20px;
}

.ingredient-group h5 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1rem;
}

.ingredient-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ingredient-option:hover {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding-left: 5px;
}

.ingredient-option input {
    margin: 0;
}

.ingredient-option span {
    font-size: 0.95rem;
    color: #333;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-top: 2px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.price-display {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-actions .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.secondary-btn {
    background: #6c757d;
    color: white;
}

.secondary-btn:hover {
    background: #5a6268;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background: var(--secondary-color);
}


.customize-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 5px;
    transition: background-color 0.2s ease;
}

.customize-btn:hover {
    background: var(--secondary-color);
}


.item-details {
    flex: 1;
}

.custom-info {
    display: block;
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    margin-top: 2px;
}


@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }

    .burger-builder {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .modal-actions {
        justify-content: center;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }

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

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
}

.modal.closing .modal-content {
    animation: modalSlideOut 0.3s ease-in;
}

#burger-modal {
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: auto !important;
}

#burger-modal .modal-content {
    z-index: 1000000 !important;
    position: relative !important;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px 20px !important;
    }

    .main-logo {
        margin-bottom: 15px !important;
        justify-content: center !important;
    }

    nav {
        margin-top: 15px !important;
        width: 100% !important;
    }

    nav ul {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    nav ul li {
        margin: 5px 10px !important;
    }

    nav a {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
        border-radius: 5px !important;
        transition: background-color 0.3s !important;
        display: block !important;
    }

    nav a:hover {
        background-color: #f0f0f0 !important;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 10px 15px !important;
    }

    .main-logo {
        margin-bottom: 10px !important;
    }

    .logo-text {
        font-size: 1.3rem !important;
        padding-left: 15px !important;
    }

    nav ul li {
        margin: 3px 5px !important;
    }

    nav a {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }
}



@media (max-width: 768px) {
    .principal-contenedor {
        padding-left: 20px !important;
        text-align: center !important;
    }

    .principal-contenedor h1 {
        font-size: 2.5rem !important;
    }

    .principal-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .secundario-btn {
        margin-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .principal-contenedor h1 {
        font-size: 2rem !important;
    }

    .features-container {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .instagram-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

.whatsapp-flotante {
    /* Posicionamiento Fijo para que "flote" */
    position: fixed;
    bottom: 20px; /* Separación del borde inferior */
    right: 20px; /* Separación del borde derecho */
    
    /* Estilo Visual */
    background-color: #25D366; /* Color oficial de WhatsApp */
    color: white;
    border-radius: 50%; /* Lo hace un círculo */
    width: 60px; /* Ancho del botón */
    height: 60px; /* Alto del botón */
    display: flex; /* Para centrar el ícono */
    justify-content: center;
    align-items: center;
    font-size: 30px; /* Tamaño del ícono de Font Awesome */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Sombra para que destaque */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    text-decoration: none; /* Elimina el subrayado del enlace */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Transición para efectos hover */
}

/* Efecto al pasar el mouse */
.whatsapp-flotante:hover {
    background-color: #128C7E; /* Un verde un poco más oscuro al pasar el mouse */
    transform: scale(1.05); /* Ligeramente más grande al hacer hover */
}

/* Consideraciones para dispositivos móviles */
@media (max-width: 768px) {
    .whatsapp-flotante {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        right: 15px;
    }
}
