/* ============================================
   VARIABLES Y ESTILOS GLOBALES
   ============================================ */

:root {
    --color-orange: #FF6B35;
    --color-orange-light: #FFA500;
    --color-yellow: #FFD93D;
    --color-green: #6BCB77;
    --color-teal: #4D96FF;
    --color-red: #FF4757;
    --color-coral: #FF6B35;
    --color-cream: #FFF8F0;
    --color-dark: #1A1A1A;
    --color-gray: #666666;
    --color-light-gray: #F5F5F5;
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-dark);
    overflow-x: hidden;
    background: white;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
}

p {
    line-height: 1.6;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1px;
}

.logo-text {
    color: var(--color-orange);
    line-height: 1;
}

.logo-subtext {
    color: var(--color-dark);
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-orange);
}

.btn-pedir-nav {
    background: var(--color-red);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-pedir-nav:hover {
    background: #E74C3C;
    transform: scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   BOTONES GLOBALES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: #E74C3C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--color-red);
    border: 2px solid var(--color-red);
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-order {
    background: var(--color-red);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    letter-spacing: 0.5px;
}

.btn-order:hover {
    background: #E74C3C;
    transform: scale(1.02);
}

.btn-highlight {
    background: var(--color-red);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-block;
}

.btn-highlight:hover {
    background: #E74C3C;
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px 40px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-shape {
    position: absolute;
    z-index: 1;
}

.shape-1 {
    width: 60%;
    height: 80%;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 50%, var(--color-yellow) 100%);
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.shape-2 {
    width: 50%;
    height: 60%;
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-green) 100%);
    top: 20%;
    right: 0;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 20% 100%);
}

.shape-3 {
    width: 40%;
    height: 50%;
    background: var(--color-green);
    top: 50%;
    right: 10%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    opacity: 0.8;
}

.floating-decoration {
    position: absolute;
    font-size: 40px;
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.decoration-1 { top: 15%; left: 5%; animation-delay: 0s; }
.decoration-2 { top: 60%; right: 10%; font-size: 50px; animation-delay: 0.5s; }
.decoration-3 { top: 30%; right: 5%; animation-delay: 1s; }
.decoration-4 { top: 70%; left: 15%; animation-delay: 1.5s; }
.decoration-5 { top: 40%; left: 8%; font-size: 45px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.subtitle-small {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--color-red);
    font-weight: 700;
    margin-bottom: 10px;
}

.title-main {
    display: block;
    font-size: 72px;
    color: var(--color-dark);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   STORY BAR
   ============================================ */

.story-bar {
    background: var(--color-cream);
    padding: 60px 20px;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 36px;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.story-text p {
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.8;
}

.story-image {
    display: flex;
    justify-content: center;
}

.story-image img {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ============================================
   MENÚ SECTION
   ============================================ */

.menu-section {
    padding: 80px 20px;
    background: white;
}

.menu-header {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto 50px;
}

.menu-header h2 {
    font-size: 48px;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.menu-header p {
    font-size: 16px;
    color: var(--color-gray);
}

.menu-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--color-light-gray);
    background: white;
    color: var(--color-dark);
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

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

.menu-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    opacity: 1;
    animation: fadeIn 0.5s ease-out;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.menu-card.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 18px;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.card-content p {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.price {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-red);
    margin-bottom: 15px;
}

/* ============================================
   HIGHLIGHTS SECTION
   ============================================ */

.highlights {
    padding: 80px 20px;
    background: white;
}

.highlights-title {
    text-align: center;
    margin-bottom: 50px;
}

.highlights-title h2 {
    font-size: 48px;
    color: var(--color-dark);
}

.highlights-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.highlight-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 25px;
    color: white;
    opacity: 1;
    transition: var(--transition);
}

.card-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card-overlay p {
    font-size: 14px;
    margin-bottom: 20px;
}

.card-green {
    background: var(--color-green);
}

.card-orange {
    background: var(--color-orange);
}

.card-teal {
    background: var(--color-teal);
}

/* ============================================
   WHY SECTION
   ============================================ */

.why-section {
    padding: 80px 20px;
    background: var(--color-light-gray);
}

.why-container {
    max-width: 1400px;
    margin: 0 auto;
}

.why-container h2 {
    font-size: 48px;
    color: var(--color-dark);
    margin-bottom: 50px;
    text-align: center;
}

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

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.8;
}

/* ============================================
   GALERÍA
   ============================================ */

.gallery {
    padding: 80px 20px;
    background: white;
}

.gallery h2 {
    font-size: 48px;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 50px;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-1 { grid-column: span 2; grid-row: span 1; }
.item-2 { grid-column: span 2; grid-row: span 1; }
.item-3 { grid-column: span 2; grid-row: span 1; }
.item-4 { grid-column: span 2; grid-row: span 1; }
.item-5 { grid-column: span 2; grid-row: span 1; }
.item-6 { grid-column: span 2; grid-row: span 1; }

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 50%, var(--color-yellow) 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 56px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-section .btn-primary:hover {
    background: var(--color-light-gray);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--color-orange);
}

/* ============================================
   LOCATION SECTION
   ============================================ */

.location-section {
    padding: 80px 20px;
    background: white;
}

.location-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-info h2 {
    font-size: 48px;
    color: var(--color-dark);
    margin-bottom: 40px;
}

.info-box {
    background: var(--color-light-gray);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 28px;
    min-width: 40px;
}

.info-item h3 {
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 14px;
    color: var(--color-gray);
}

.location-map {
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--color-light-gray);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 60px 20px;
    background: var(--color-cream);
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    color: var(--color-dark);
    margin-bottom: 40px;
}

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

.social-btn {
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid;
}

.facebook {
    background: #3B5998;
    color: white;
    border-color: #3B5998;
}

.facebook:hover {
    background: #2D4373;
    transform: translateY(-2px);
}

.instagram {
    background: #E1306C;
    color: white;
    border-color: #E1306C;
}

.instagram:hover {
    background: #C91F52;
    transform: translateY(-2px);
}

.tiktok {
    background: #000;
    color: white;
    border-color: #000;
}

.tiktok:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-dark);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 13px;
    color: #888;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title,
    .title-main {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .story-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .menu-filters {
        gap: 10px;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 8px 15px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .item-1, .item-2, .item-3,
    .item-4, .item-5, .item-6 {
        grid-column: span 1;
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .location-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .location-info h2 {
        font-size: 36px;
    }
    
    .map-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 14px;
    }
    
    .hero {
        min-height: 80vh;
        padding: 40px 15px 30px;
    }
    
    .hero-title,
    .title-main {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .story-text h2 {
        font-size: 28px;
    }
    
    .menu-header h2 {
        font-size: 32px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .highlights-title h2 {
        font-size: 32px;
    }
    
    .why-container h2 {
        font-size: 32px;
    }
    
    .gallery h2 {
        font-size: 32px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .contact-section h2 {
        font-size: 28px;
    }
    
    .footer-brand h3 {
        font-size: 20px;
    }
}

/* ============================================
   ANIMACIONES CON INTERSECTION OBSERVER
   ============================================ */

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s ease-out forwards;
}

.scale-in {
    opacity: 0;
    animation: scaleIn 0.8s ease-out forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
