/* Estilos generales */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #2F4858;
    --accent-color: #F7C59F;
    --light-color: #EFEFEF;
    --dark-color: #2D2A32;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1.5rem auto;
    position: relative;
}

.divider span {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

/* Estilos del encabezado */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 50px;
}

.navbar .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color);
}

/* Estilos para hero */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.hero-section > .container,
.hero-section .container.position-relative {
    position: relative;
    z-index: 2;
}

/* Hero overlay para gradiente */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,rgba(47,72,88,0.7) 0%,rgba(255,107,53,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Estilos para menú */
.menu-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item-img {
    height: 200px;
    overflow: hidden;
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.05);
}

.menu-item-info {
    padding: 1.5rem;
}

.menu-item-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.menu-item-footer .price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Nuevo diseño tipo lista para menú */
.menu-list-item {
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    border: none;
    background: #fff;
}
.menu-list-item:hover {
    box-shadow: 0 8px 24px rgba(47,72,88,0.10);
}
.menu-list-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 14px 0 0 14px;
}
@media (max-width: 767px) {
    .menu-list-img {
        border-radius: 14px 14px 0 0;
        height: 180px;
    }
    .menu-list-item .row {
        flex-direction: column;
    }
}

/* Estilos para galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 72, 88, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    text-align: center;
    color: white;
    padding: 1rem;
}

/* Estilos para testimonios */
.testimonial-item {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 1rem;
}

.testimonial-stars {
    color: #FFD700;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* Estilos para sección de contacto */
.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.contact-list i {
    color: var(--primary-color);
    margin-right: 0.8rem;
}

/* Estilos para formularios */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

/* Estilos para botones */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Estilos para el pie de página */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer h4 {
    margin-bottom: 1.2rem;
    position: relative;
    font-size: 1.2rem;
}

.footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-social .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.footer-social .social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Botones flotantes */
.floating-reserve-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    z-index: 999;
}

.floating-reserve-btn i {
    margin-right: 0.5rem;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: background-color 0.3s;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Botón flotante para pedidos online */
.floating-order-btn {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: #198754;
    color: #fff;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    z-index: 1000;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}
.floating-order-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}
.floating-order-btn:hover {
    background: #157347;
    color: #fff;
}

/* Estilos para la sección de Instagram */
.instagram-item {
    height: 100px;
    transition: all 0.3s ease;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover {
    transform: scale(1.05);
}

/* Estilos para iconos de servicios */
.service-icon {
    width: 70px;
    height: 70px;
    transition: all 0.3s ease;
}

.card:hover .service-icon {
    transform: scale(1.1);
}

/* Mejoras para las cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-body {
    z-index: 1;
}

/* Estilos para sección de dietas y alergias */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle i {
    font-size: 2rem;
}

/* Estilos para la sección de FAQ */
.accordion-item {
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    padding: 1.25rem;
    font-weight: 500;
    border-radius: 10px !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 107, 53, 0.25);
}

.accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 1.5rem;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .floating-reserve-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
