/* ===================================
   VARIABLES Y RESET
   =================================== */
:root {
    --primary-color: #AE0404;
    --primary-dark: #8B0000;
    --primary-light: #A8264D;
    --secondary-color: #C9A961;
    --accent-color: #D4AF37;
    --text-dark: #2C1810;
    --text-light: #F5F5F0;
    --bg-cream: #FEF4E8;
    --bg-light: #FFF;
    --shadow: rgba(139, 21, 56, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-cream);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 105%;            /* justo debajo del menú */
    left: 105%;

    background: #fff;     /* BLANCO */
    color: #111;

    min-width: 130px;
    padding: 0.5rem 0;

    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

    opacity: 0;
    transform: translate(-50%, 10px);
    pointer-events: none;

    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1000;
}

/* cuando está abierto */
.dropdown.open .dropdown-menu {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.dropdown-menu li a {
    color: #111;
    padding: 10px 18px;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f4f4f4;
}

.dropdown-toggle:hover {
    background: rgba(255,255,255,0.25);
}
.dropdown-toggle {
    padding: 2px 3px;
    border-radius: 5px;
    cursor: pointer;

}

.dropdown-toggle:active {
    background: rgba(255,255,255,0.35);
}
    

/* Nav Actions */
.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-btn,
.admin-btn {
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.cart-btn:hover,
.admin-btn:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.cart-count {
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 0.1rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.3rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:url('../img/fondo1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.3;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6.5rem;
    line-height: 1;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
    from { text-shadow: 0 4px 20px rgba(212, 175, 55, 0.4); }
    to { text-shadow: 0 4px 30px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.5); }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem !important;
        line-height: 1.1;
        letter-spacing: 1px;
    }
    .hero {
        min-height: 420px;
        height: auto;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center; 
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);

}

.center-button {
    display: block;
    width: fit-content;   /* Ajusta el ancho al texto */
    margin: 0 auto;       /* Centra el botón */
}


.btn-primary:hover {
    background: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
}



@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* ===================================
   POPULAR PIZZAS SECTION
   =================================== */
.popular-pizzas {
    padding: 3rem 0;
    background: var(--bg-cream);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title { 
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    line-height: 1.1;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

.pizzas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.pizza-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
    position: relative;
}

.pizza-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 21, 56, 0.25);
}

.pizza-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.pizza-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pizza-card:hover .pizza-image img {
    transform: scale(1.1) rotate(2deg);
}

.pizza-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.pizza-badge.best-seller {
    background: var(--primary-color);
    color: var(--text-light);
}

.pizza-info {
    padding: 1rem;
}

.pizza-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.pizza-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.pizza-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-add-cart {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 5px 20px var(--shadow);
}

.view-all-btn {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================
   SOCIAL SECTION
   =================================== */
.social-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    text-align: center;
}

.social-section h2 {
    color: var(--accent-color);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-family: 'Bebas Neue', sans-serif;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-light);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.facebook:hover { background: #1877f2; }
.social-icon.tiktok:hover { background: #000; }
.social-icon.whatsapp:hover { background: #25d366; }
.social-icon.tripadvisor:hover { background: #00af87; }

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 5px 35px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.1); }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .pizzas-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cart-btn,
    .admin-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .pizzas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-icons {
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
/* ===================================
   MENU PAGE STYLES
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.menu-categories {
    background: var(--bg-light);
    padding: 2rem 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 4px 20px var(--shadow);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-cream);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow);
}

.menu-section {
    padding: 3rem 0;
}

.pastas-bg {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

.menu-item {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(139, 21, 56, 0.3);
}

.item-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .item-image img {
    transform: scale(1.1);
}

.item-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.item-badge.best {
    background: var(--primary-color);
    color: var(--text-light);
}

.item-badge.special {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B1538;
}

.item-details {
    padding: 0.5rem 2rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-details h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.item-subtitle {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.item-description {
    color: #404040;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    flex: 1;
}

.item-sizes {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.size-btn {
    flex: 1;
    min-width:
    min-width: 120px;
    padding: 0.7rem 1rem;
    border: 2px solid var(--primary-light);
    background: transparent;
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.size-btn:hover,
.size-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.item-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Drinks Grid */
.drinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.drink-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: var(--transition);
}

.drink-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 21, 56, 0.25);
}

.drink-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent-color);
}

.drink-item ul {
    list-style: none;
}

.drink-item li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    transition: var(--transition);
}

.drink-item li:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.drink-item li span {
    font-weight: 700;
    color: var(--primary-color);
}

/* About Page Styles */
.about-section {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow);
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.values-section {
    text-align: center;
    padding: 3rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-light);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(139, 21, 56, 0.25);
}

.value-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    padding: 5rem 0;
}

.team-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.team-member {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 21, 56, 0.3);
}

.member-photo {
    width: 340px;
    height: 220px;
    margin: 0 auto 1.5rem;
    border-radius: 7%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 8px 25px var(--shadow);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-member p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Menu Page */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .item-sizes {
        flex-direction: column;
    }
    
    .size-btn {
        width: 100%;
    }
}

/* ===================================
   PAGE HEADER - NUESTRO MENU
   =================================== */
.menu-header {
    background: url('../img/menu.jpg') center/cover no-repeat;
    position: relative;
}

.menu-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55); /* Oscurecimiento */
    z-index: 1;
}
.menu-header h1{
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 5px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}
.menu-header p {
    position: relative;
    z-index: 2; /* Texto encima del overlay */
}

/* ===================================
   PAGE HEADER - NUESTROA HISTORIA
   =================================== */
.historia-header {
    background: url('../img/historia.jpg') center/cover no-repeat;
    position: relative;
}

.historia-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55); /* Oscurecimiento */
    z-index: 1;
}
.historia-header h1{
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 5px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}
.historia-header p {
    position: relative;
    z-index: 2; /* Texto encima del overlay */
}
/* ===================================
   PAGE HEADER - CARRITO
   =================================== */
.carrito-header {
    background: url('../img/carrito.jpg') center/cover no-repeat;
    position: relative;
}

.carrito-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55); /* Oscurecimiento */
    z-index: 1;
}
.carrito-header h1{
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 5px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}
.carrito-header p {
    position: relative;
    z-index: 2; /* Texto encima del overlay */
}

/* ===================================
   PAGE HEADER - CONTACTO
   =================================== */
.contacto-header {
    background: url('../img/contacto.jpg') center/cover no-repeat;
    position: relative;
}

.contacto-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55); /* Oscurecimiento */
    z-index: 1;
}
.contacto-header h1{
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 5px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}
.contacto-header p {
    position: relative;
    z-index: 2; /* Texto encima del overlay */
}
/* ===================================
   PAGE HEADER - Galeria
   =================================== */
.galeria-header {
    background: url('../img/galeria.jpg') center/cover no-repeat;
    position: relative;
}

.galeria-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55); /* Oscurecimiento */
    z-index: 1;
}
.galeria-header h1{
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 5px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}
.galeria-header p {
    position: relative;
    z-index: 2; /* Texto encima del overlay */
}



/* ===================================
   GALLERY PAGE STYLES
   =================================== */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    padding: 0.7rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--shadow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    height: 350px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 21, 56, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(139, 21, 56, 0.95) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.view-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
}

.gallery-item:hover .view-btn {
    opacity: 1;
}

.view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 15px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-light);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1.2rem;
    background: rgba(139, 21, 56, 0.9);
    padding: 1rem 2rem;
    border-radius: 25px;
}

/* Instagram Section */
.instagram-section {
    padding: 5rem 0;
    background: var(--bg-light);
}
.instagram-section {
    text-align: center;
}

.instagram-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.instagram-post {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3/4;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 21, 56, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    font-size: 3rem;
    color: var(--text-light);
}

.instagram-cta {
    text-align: center;
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */
.contact-section {
    padding: 4rem 0;
    background: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2{
    font-family: 'Bebas Neue', sans-serif;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1;
    font-weight: 1;
}

.contact-info-wrapper h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1;
    font-weight: 1;
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.telefonos {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* EXACTAMENTE 2 columnas */
    gap: 0.5rem;
}

.telefonos h3 {
    grid-column: 1 / -1; /* El título ocupa las 2 columnas */
}

.tel-item {
    line-height: 1.4;
}


.info-card {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(139, 21, 56, 0.25);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;

}

.quick-actions {
    margin-top: 2rem;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
}

.quick-actions h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.quick-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #1fb855;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.phone-btn {
    background: var(--primary-color);
    color: white;
}

.phone-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--shadow);
}

.menu-btn {
    background: var(--accent-color);
    color: var(--primary-dark);
}

.menu-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* Map Section */
.map-section {
    padding: 3rem 0 0;
    background: var(--bg-light);
}

    /* Contenedor que ordena los mapas en columnas */
    .maps-flex {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        justify-items: center; /* Centra cada mapa */
        padding: 2rem 2rem;
    }

    .map-wrapper {
        margin-top: 2rem;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 -5px 30px var(--shadow);
        max-width: 520px;  /* Ajusta el ancho máximo del mapa */
        width: 100%;       /* Hace que sea responsivo */
    }

    .map-title {
        text-align: center;
        font-size: 1.5rem;
        font-weight: 800;
        margin-bottom: 0rem;
        color: #FFFFFF; /* Usa tu paleta */
        letter-spacing: 1px;
        background:#A21010
    }

    /* Ajuste del iframe */
    .map-wrapper iframe {
        width: 100%;
        height: 350px;
        border: 0;
    }


/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.faq-grid {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(139, 21, 56, 0.2);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: #666;
    line-height: 1.7;
}

/* Responsive Contact & Gallery */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .instagram-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 280px;
    }
    
    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ===================================
   CART MODAL STYLES
   =================================== */
.cart-modal,
.checkout-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.cart-modal.active,
.checkout-modal.active {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

.cart-modal-overlay,
.checkout-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cart-modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: var(--bg-light);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.3s ease;
    z-index: 1;
}

.checkout-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: var(--bg-light);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.3s ease;
    z-index: 1;
    max-height: 100vh;
    overflow-y: auto;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-modal-header,
.checkout-modal-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-header h2,
.checkout-modal-header h2 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cart-modal-close,
.checkout-modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.cart-modal-close:hover,
.checkout-modal-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.checkout-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart i {
    font-size: 5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.empty-cart p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Cart Items */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-cream);
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: 0 5px 20px var(--shadow);
    transform: translateY(-2px);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-details h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.cart-item-details p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.cart-item-quantity span {
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.cart-item-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-remove {
    width: 40px;
    height: 40px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Cart Footer */
.cart-modal-footer {
    padding: 2rem;
    background: var(--bg-cream);
    border-top: 2px solid var(--primary-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-total-price {
    color: var(--primary-dark);
    font-size: 2rem;
}

.btn-checkout {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Checkout Form */
.checkout-modal-body .form-group {
    margin-bottom: 1.5rem;
}

.checkout-modal-body label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.checkout-modal-body label i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.checkout-modal-body input,
.checkout-modal-body textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-cream);
}

.checkout-modal-body input:focus,
.checkout-modal-body textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.order-summary {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.order-summary
h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.checkout-item:last-of-type {
    border-bottom: none;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    font-size: 1rem;
}

.summary-row.subtotal {
    border-top: 2px solid #e0e0e0;
    margin-top: 1rem;
    padding-top: 1rem;
}

.summary-row.delivery {
    color: #666;
}

.summary-row.total {
    border-top: 2px solid var(--primary-color);
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-submit-order {
    width: 100%;
    padding: 1.3rem;
    font-size: 1.1rem;
    background: #25d366;
    margin-top: 1rem;
}

.btn-submit-order:hover {
    background: #1fb855;
}

/* Success Message */
.success-message {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.success-content {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    animation: zoomIn 0.3s ease;
}

.success-content i {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.success-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.success-content button {
    margin-top: 2rem;
    padding: 1rem 3rem;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .cart-modal-content,
    .checkout-modal-content {
        max-width: 100%;
    }
    
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }
    
    .cart-item img {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-quantity,
    .cart-item-total,
    .cart-item-remove {
        grid-column: 2;
    }
    
    .cart-item-details {
        grid-column: 2;
    }
}
/* ===================================
   PROMOTIONS SECTION
   =================================== */
.promotions-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.promo-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 3px solid transparent;
}

.promo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(139, 21, 56, 0.3);
    border-color: var(--accent-color);
}

.promo-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4444;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

.promo-badge.hot {
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
    animation: pulse 1.5s infinite;
}

.promo-badge.special {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B1538;
    font-size: 1.5rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.promo-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.promo-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover .promo-image img {
    transform: scale(1.15);
}

.promo-details {
    padding: 1.5rem;
}

.promo-details h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.promo-details p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    min-height: 50px;
}

.promo-prices {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.new-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.promo-details .btn-add-cart {
    width: 100%;
}

/* Size buttons with 4 options */
.item-sizes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .item-sizes {
        grid-template-columns: 1fr;
    }
}

//*estilos y letras*//

.banner-title {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.super-title {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;          /* ajusta según gusto */
    letter-spacing: 2px;      /* estilo más de banner */
    color: #b40000;           /* rojo estilo pizzería */
    text-transform: uppercase;
}

.title-bungee {
  font-family: 'Bungee Shade', sans-serif;
  font-size: 3.2rem;
  color: #b40000;
  text-transform: uppercase;
}
.title-passion {
  font-family: 'Passion One', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
}

.title-kanit {
  font-family: 'Kanit', sans-serif;
  font-weight: 900;
  font-size: 3rem;
}

.title-fredoka {
  font-family: 'Fredoka One', sans-serif;
  font-size: 3rem;
}

.inka-title {
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: 2px;
    text-align: center;
    font-family: 'Impact', 'Anton', 'Arial Black', sans-serif;
    margin: 0;
}
//**//
.white {
    color: #ffffff;
}

.gold {
    color: rgb(253, 228, 136);
}

//*fondo apartado historia*// 
.fondo-historia {
    background-image: url('../img/.jpg');
    background-size: cover;     /* Que cubra toda la sección */
    background-position: center; /* Centrado */
    background-repeat: no-repeat; 
    padding: 60px 0;            /* Espaciado interno */
}
.fondo-historia {
    position: relative;
    z-index: 1;
}

.fondo-historia::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: -1;
}

/* ===================================
   ESTILOS ADICIONALES PARA NOSOTROS
   Agregar al final de styles.css
   =================================== */

/* Historia Detailed */
.historia-detailed {
    padding: 1rem 0;
    background: var(--bg-cream);
}

.historia-content {
    margin-top: 3rem;
}

.historia-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.historia-item.reverse {
    direction: rtl;
}

.historia-item.reverse > * {
    direction: ltr;
}

.historia-item .historia-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.historia-item .historia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.historia-item:hover .historia-image img {
    transform: scale(1.1);
}

.historia-item .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.historia-item .year-badge {
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.historia-item .historia-text h3 {
    font-family: 'Bebas Neue', sans-serif; /* cambiamos la fuente */
    font-size: 3rem;  /* responsive como el hero */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;                  /* para que se vea más “Bebas” */
    line-height: 1.1;                      /* espacio entre líneas ajustado */
    text-transform: uppercase;             /* opcional, igual que hero */
}

.historia-item .historia-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #030303; /* negro */
    margin-bottom: 1rem;
    text-align: justify;    
}


/* Misión y Visión */
.mision-vision-section {
    padding: 2rem 0;
    background: white;
}

.mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Estilos para las cards de Misión y Visión */
.mv-card {
    display: flex;
    align-items: center; /* Centra el contenido verticalmente */
    gap: 2rem; /* Espacio entre ícono y texto */
    background: linear-gradient(135deg, var(--bg-cream) 0%, white 100%);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: #F2E3D4;

}

.mv-card:hover::before {
    transform: rotate(180deg);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Estilo del ícono */
.mv-card .mv-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0; /* Eliminar margen inferior */
    box-shadow: 0 10px 30px rgba(174, 4, 4, 0.3);
    position: relative;
    z-index: 1;
}

/* Estilo del ícono dentro de las cards */
.mv-card .mv-icon i {
    font-size: 3rem;
    color: white;
}

/* Estilo del título */
.mv-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    position: relative;
    z-index: 1;
}

/* Estilo del párrafo */
.mv-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #030303;
    position: relative;
    z-index: 1;
    text-align: justify;
}

/* Contenedor de contenido para Misión y Visión */
.mv-content {
    flex: 5; /* El contenido ocupa el espacio restante */
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
    .mision-vision-grid {
        grid-template-columns: 1fr; /* Hacer una columna en pantallas pequeñas */
    }

    .mv-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Proceso Section */
.proceso-section {
    padding: 1rem 0;
    background: var(--bg-cream);
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.proceso-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.proceso-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.proceso-card .proceso-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.proceso-card .proceso-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.proceso-card .proceso-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

.proceso-card .proceso-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.proceso-card:hover .proceso-image img {
    transform: scale(1.15);
}

.proceso-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1.5rem 1.5rem 1rem;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1;
    font-weight: 1;
}

.proceso-card p {
    padding: 0 1.5rem 2rem;
    color: #030303;
    line-height: 1.7;
    text-align: justify;

}

/* Valores Section Mejorado */
.valores-section {
    padding: 2rem 0;
    background: white;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.valor-card {
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(174, 4, 4, 0.1), transparent);
    transition: left 0.5s ease;
}

.valor-card:hover::before {
    left: 100%;
}

.valor-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.valor-card .valor-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(174, 4, 4, 0.3);
    transition: all 0.3s ease;
}

.valor-card:hover .valor-icon {
    transform: rotateY(360deg);
}

.valor-card .valor-icon i {
    font-size: 2.5rem;
    color: white;
}

.valor-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.valor-card p {
    color: #0E0E0E;
    line-height: 1.7;
}

/* Ingredientes Section */
.ingredientes-section {
    padding: 2rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}


.ingredientes-section .container {
    position: relative;
    z-index: 2;
}

.ingredientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.ingrediente-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.ingrediente-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.ingrediente-card .ingrediente-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.ingrediente-card .ingrediente-image::after {
    content: '';
    position: absolute;
    inset: 0;
}

.ingrediente-card .ingrediente-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ingrediente-card:hover .ingrediente-image img {
    transform: scale(1.2);
}

.ingrediente-card .ingrediente-content {
    padding: 2rem;
    text-align: center;
}

.ingrediente-card .ingrediente-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ingrediente-card .ingrediente-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 300;
}

.ingrediente-card .ingrediente-content p {
    color: #101010;
    line-height: 1.7;
}

/* Team Section New */
.team-section-new {
    padding: 2rem 0;
    background: var(--bg-cream);
}

.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.team-card-new {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card-new:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.team-card-new .team-card-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.team-card-new .team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card-new:hover .team-card-image img {
    transform: scale(1.1);
}

.team-card-new .team-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card-new:hover .team-card-overlay {
    opacity: 1;
}

.team-card-new .team-social {
    display: flex;
    gap: 1rem;
}

.team-card-new .team-social a {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.team-card-new .team-social a:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

.team-card-new .team-card-content {
    padding: 2rem;
}

.team-card-new .team-card-content h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
    text-align: center;

}.team-card-new .team-card-content p {
    color: #131212;
    text-align: center;
}

.team-card-new .team-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.team-card-new .team-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Team Philosophy */
.team-philosophy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.philosophy-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.philosophy-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.philosophy-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.philosophy-item p {
    color: #171717;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background-image: url('../img/larapa.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.cta-section .cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 4, 4, 0.9) 0%, rgba(0, 0, 0, 0.65) 0%);
}

.cta-section .cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.cta-section .cta-content h2 {
    font-size: 3rem;
    font-family: 'Bebas Neue', sans-serif;
    margin-bottom: 1.5rem;
    font-weight: 1;

}

.cta-section .cta-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive para Nosotros */
@media (max-width: 1024px) {
    .nosotros-hero .hero-title {
        font-size: 3.5rem;
    }

    .historia-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .historia-item.reverse {
        direction: ltr;
    }

    .mision-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nosotros-hero .hero-title {
        font-size: 2.5rem;
    }

    .nosotros-hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .historia-item .historia-image {
        height: 300px;
    }

    .proceso-grid,
    .valores-grid,
    .ingredientes-grid {
        grid-template-columns: 1fr;
    }

    .team-cards-grid,
    .team-philosophy {
        grid-template-columns: 1fr;
    }

    .cta-section .cta-content h2 {
        font-size: 2rem;
    }

    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-section .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .nosotros-hero {
        height: 60vh;
        min-height: 400px;
    }

    .nosotros-hero .hero-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon i {
        font-size: 2rem;
    }

    .mv-card {
        padding: 2rem;
    }

    .mv-card .mv-icon {
        width: 80px;
        height: 80px;
    }

    .mv-card .mv-icon i {
        font-size: 2.5rem;
    }
}
