:root {
    --color1: #FFFDE1;
    --color2: #F3BE22;
    --color3: #F29627;
    --color4: #F24C3C;
    --morado: #511F74;
    --verde: #26A699;
    --negro: #000;
}

html {
    scroll-behavior: smooth;
    /** TODO: Mejorar comportamiento con JS */
}

* {
    box-sizing: border-box;
}

@font-face {
  font-family: 'April Fools Day';
  src: url('/assets/fonts/april_fools_day/April Fools\' Day Crazy vrs.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
    font-family: Arial;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

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

.header {
    background-color: white;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    left: 0;
    right: 0;
}

.header-container {
    width: 100%;
    max-width: 100%;
    height: 103px;
    border-bottom: solid 2px var(--negro);
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    box-sizing: border-box;
}

.logo-container {
    background-color: var(--verde);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 21px;
    transform: translate(-50%);
    z-index: 2;
}

.logo {
    width: 100px;
    height: fit-content;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.nav-item {
    display: inline-block;
    margin-right: 30px;
}

.nav-item:hover {
    text-decoration: underline;
    /* TODO: Agregar estilo a subrayado */
}

.nav-link {
    text-decoration: none;
    color: var(--morado);
    font-weight: bold;
}

.btn-order {
    padding: 10px 20px;
    background-color: var(--morado);
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
}

.main-section {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
}

.main-image {
    width: 100%;
    height: 400px;
    background-color: var(--color1);
}

.main-content {
    background: url('/assets/fondo_2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: blue;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

.main-overlay h1 {
    font-size: 70px;
    font-weight: 700;
}

.main-background {
    position: absolute;
}

.content {
    position: fixed;
    z-index: 3;
}

.main-title {
    /** TODO Aplicar fuente de la marca */
    font-family: 'April Fools Day';
    font-size: 40px;
    color: white;

    margin: 20px 0;
}

.main-footer {
    margin-top: 30px;
}

.btn-order-hero {
    margin-top: 50px;
    padding: 15px 40px;
    font-size: 18px;
}

.content-section {
    width: 100%;
    max-width: 100%;
    padding: 80px 20px;
    background-color: transparent;
    box-sizing: border-box;
}

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.section-column-left {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
}

.section-column-right {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
}

.dish-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #ddd;
}

.section-title {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--morado);
    font-weight: bold;
    line-height: 1.2;
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    color: #444;
    text-align: justify;
}


.products-section {
    width: 100%;
    max-width: 100%;
    padding: 60px 20px;
    background-color: white;
    clear: both;
    box-sizing: border-box;
}

.products-header {
    margin-bottom: 50px;
}

.products-title {
    font-size: 35px;
    margin-bottom: 10px;
}

.products-subtitle {
    font-size: 18px;
    color: #666;
}

.products-row {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.product-column {
    width: 31%;
    max-width: 31%;
    display: inline-block;
    margin: 0 1%;
    box-sizing: border-box;
    vertical-align: top;
}

.product-image {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    margin-bottom: 15px;
}

.product-name {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-description {
    font-size: 16px;
    color: #666;
}


.instagram-section {
    width: 100%;
    max-width: 100%;
    padding: 60px 20px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.instagram-header {
    margin-bottom: 50px;
}

.instagram-headtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.instagram-title {
    font-size: 35px;
    margin-bottom: 10px;
}

.instagram-subtitle {
    font-size: 18px;
    color: #666;
}

.instagram-grid {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.instagram-item {
    width: 32%;
    max-width: 32%;
    display: inline-block;
    margin: 0 0.5%;
    box-sizing: border-box;
    vertical-align: top;
}

.instagram-item blockquote {
    max-width: 100% !important;
    width: 100% !important;
}

.instagram-image {
    width: 100%;
    height: 300px;
    background-color: #ddd;
}

.location-section {
    width: 100%;
    max-width: 100%;
    padding: 60px 20px;
    background-color: white;
    box-sizing: border-box;
}

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

.location-title {
    font-size: 35px;
    margin-bottom: 10px;
    color: var(--morado);
}

.location-subtitle {
    font-size: 18px;
    color: #666;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* Media Queries para Mobile */
@media (max-width: 768px) {
    /* Header Mobile */
    .header-container {
        height: auto;
        min-height: 90px;
        padding: 10px 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin: 0;
    }
    
    .nav-item {
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .nav-link {
        font-size: 11px;
        padding: 5px 8px;
        white-space: nowrap;
    }
    
    .logo-container {
        width: 70px;
        height: 70px;
        position: relative;
        left: auto;
        transform: none;
        order: 1;
        margin: 0;
        top: 0;
    }
    
    .logo {
        width: 60px;
    }
    
    .header-actions {
        order: 2;
        margin-left: auto;
    }
    
    .btn-order-header {
        padding: 8px 12px;
        font-size: 11px;
        white-space: nowrap;
    }
    
    /* Hero Section Mobile */
    .main-section {
        overflow-y: hidden;
    }
    
    .main-content {
        height: 70vh;
        min-height: 500px;
        padding: 20px;
        overflow-y: hidden;
    }
    
    .main-overlay h1 {
        font-size: 50px;
    }
    
    .main-title {
        font-size: 28px;
        margin: 15px 0;
        text-align: center;
    }
    
    .btn-order-hero {
        margin-top: 30px;
        padding: 12px 30px;
        font-size: 16px;
    }
    
    /* Sección Nosotros Mobile */
    .content-section {
        padding: 40px 15px;
    }
    
    .section-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .section-column-left,
    .section-column-right {
        width: 100%;
        min-width: 100%;
    }
    
    .section-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .section-text {
        font-size: 16px;
        text-align: left;
        line-height: 1.6;
    }
    
    .dish-image {
        height: 250px;
    }
    
    /* Productos Mobile */
    .products-section {
        padding: 40px 15px;
    }
    
    .products-header {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .products-title {
        font-size: 28px;
    }
    
    .products-subtitle {
        font-size: 16px;
    }
    
    .products-row {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .product-column {
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 0;
    }
    
    .product-image {
        height: 300px;
    }
    
    .product-name {
        font-size: 18px;
        text-align: center;
    }
    
    .product-description {
        font-size: 14px;
        text-align: center;
    }
    
    .products-footer {
        text-align: center;
        margin-top: 30px;
    }
    
    /* Instagram Mobile */
    .instagram-section {
        padding: 40px 15px;
    }
    
    .instagram-header {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .instagram-title {
        font-size: 28px;
    }
    
    .instagram-subtitle {
        font-size: 16px;
    }
    
    .instagram-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .instagram-item {
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 0;
    }
    
    /* Ubicación Mobile */
    .location-section {
        padding: 40px 15px;
    }
    
    .location-header {
        margin-bottom: 30px;
    }
    
    .location-title {
        font-size: 28px;
    }
    
    .location-subtitle {
        font-size: 16px;
    }
    
    .map-iframe {
        height: 300px;
    }
    
    /* Container Mobile */
    .container {
        padding: 0 15px;
    }
}

/* Media Queries para Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        padding: 0 15px;
    }
    
    .nav-item {
        margin-right: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .product-column {
        width: 48%;
        max-width: 48%;
        margin: 0 1%;
    }
    
    .products-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .instagram-item {
        width: 48%;
        max-width: 48%;
        margin: 0 1%;
    }
}

/* Footer Styles */
.footer {
    width: 100%;
    background-color: var(--morado);
    color: white;
    padding: 50px 20px 20px;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--color2);
    font-weight: bold;
}

.footer-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color2);
    font-weight: bold;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color2);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: var(--color2);
}

.footer-hours {
    margin-top: 10px;
}

.footer-hours .footer-text {
    font-size: 13px;
    margin-bottom: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--color2);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Footer Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 40px 15px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-title {
        font-size: 24px;
    }
    
    .footer-subtitle {
        font-size: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-separator {
        display: none;
    }
}
