/* Font Faces */
@font-face {
    font-family: 'Wakkala';
    src: url('assets/fonts/Wakkala v0.1.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Elza';
    src: url('assets/fonts/ElzaTrial-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Elza';
    src: url('assets/fonts/ElzaTrial-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables - Brand Colors */
:root {
    --color-rojo: #A72933;
    --color-crema: #FCE1C7;
    --color-cafe: #783636;
    --color-naranjo: #D6582B;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-rojo);
    color: var(--color-crema);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.content {
    max-width: 700px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
}

/* Logo */
.logo {
    width: 100%;
    max-width: 280px;
    animation: fadeInDown 0.8s ease-out;
}

.logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Buttons */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 380px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn {
    font-family: 'Wakkala', 'Elza', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 1.5rem;
    padding: 0.75rem 1.8rem;
    text-decoration: none;
    color: var(--color-rojo);
    background-color: var(--color-crema);
    border: 3px solid var(--color-crema);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: normal;
}

.btn:hover {
    background-color: transparent;
    color: var(--color-crema);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Info Section */
.info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.address,
.schedule,
.contact {
    font-size: 0.9rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.schedule-title {
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.schedule-divider {
    border: none;
    border-top: 1px solid rgba(252, 225, 199, 0.3);
    margin: 0.6rem auto;
    width: 60%;
}

.kitchen-hours {
    font-size: 0.85em;
    opacity: 0.9;
}

.info a {
    color: var(--color-crema);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.info a:hover {
    border-bottom-color: var(--color-crema);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }

    .container {
        padding: 40px 1.5rem;
        min-height: 100vh;
    }

    .content {
        gap: 1.2rem;
    }

    .logo {
        max-width: 200px;
    }

    .buttons {
        max-width: 300px;
        gap: 0.7rem;
    }

    .btn {
        font-size: 1.3rem;
        padding: 0.65rem 1.5rem;
    }

    .info {
        gap: 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 35px 1.5rem;
        min-height: 100vh;
    }

    .content {
        gap: 0.9rem;
    }

    .logo {
        max-width: 160px;
    }

    .buttons {
        gap: 0.6rem;
        max-width: 270px;
    }

    .btn {
        font-size: 1.1rem;
        padding: 0.55rem 1.3rem;
    }

    .info {
        gap: 0.65rem;
        font-size: 0.78rem;
    }

    .address {
        line-height: 1.4;
    }

    .schedule {
        font-size: 0.78rem;
    }

    .schedule-title {
        margin-bottom: 0.2rem;
        font-size: 0.85rem;
    }

    .kitchen-hours {
        font-size: 0.72rem;
    }

    .contact {
        font-size: 0.78rem;
    }
}

/* Very short viewports (landscape mobile) */
@media (max-height: 700px) {
    .container {
        padding: 30px 1.5rem;
    }

    .content {
        gap: 0.75rem;
    }

    .logo {
        max-width: 150px;
    }

    .buttons {
        gap: 0.5rem;
    }

    .btn {
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
    }

    .info {
        gap: 0.6rem;
        font-size: 0.75rem;
    }

    .schedule-title {
        margin-bottom: 0.15rem;
        font-size: 0.8rem;
    }

    .kitchen-hours {
        font-size: 0.68rem;
    }

    .schedule-divider {
        margin: 0.5rem auto;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus-visible {
    outline: 3px solid var(--color-crema);
    outline-offset: 4px;
}

a:focus-visible {
    outline: 2px solid var(--color-crema);
    outline-offset: 2px;
}
