/* ============================================================
   La Posta Restaurant - Master CSS
   Colours: #1D428A (navy) #EFBE7D (gold)
   Fonts: LALUNA (Catalan/French) FuturaMedium (Spanish/English)
   ============================================================ */

@font-face {
    font-family: 'LALUNA';
    src: url('../fonts/LALUNA.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FuturaMedium';
    src: url('../fonts/FUTURAMEDIUM.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body, html {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}

/* ------------------------------
   Front Page - Container
--------------------------------*/
.main-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1d428a;
    overflow: hidden;
}

/* ------------------------------
   Front Page - Background image
--------------------------------*/
.main-bg {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

/* ------------------------------
   Front Page - Language flags
--------------------------------*/
.lang-menu-container {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 3vw;
    z-index: 10;
}

.lang-menu {
    width: 80px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid #efbe7d;
    border-radius: 4px;
}

.lang-menu:hover {
    transform: scale(1.1);
}

/* ============================================================
   Menu Pages - Page Container
   ============================================================ */
.page-container {
    position: relative;
    width: 90vw;
    margin: 8vh auto;
    min-height: 60vh;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
}

/* ============================================================
   Menu Pages - Main content area (left of bar)
   ============================================================ */
.menu-content-area {
    flex: 1;
    padding: 20px 40px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================================
   Menu Pages - Navy right-side bar
   ============================================================ */
.side-bar {
    width: 3.5vw;
    min-width: 12px;
    background-color: #1D428A;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.side-bar-graphic {
    width: 3vw;
    height: 3vw;
    min-width: 10px;
    min-height: 10px;
    position: absolute;
    bottom: 80px;
    opacity: 0.8;
}

.side-bar-graphic svg {
    width: 100%;
    height: 100%;
}

/* ============================================================
   Menu Pages - Titles
   ============================================================ */
.menu-title {
    font-family: 'LALUNA', Garamond, serif;
    font-size: min(2.8em, 8vw);
    color: #1D428A;
    letter-spacing: 0.15em;
    font-weight: 400;
    text-align: center;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.menu-subtitle-lang {
    font-family: 'LALUNA', Garamond, serif;
    font-size: min(1.8em, 5vw);
    color: #1D428A;
    font-style: italic;
    text-align: center;
    margin: 0 0 30px 0;
    font-weight: 400;
}

.menu-section-title {
    font-family: 'LALUNA', Garamond, serif;
    font-size: 1.3em;
    color: #EFBE7D;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 20px 0 10px 0;
    font-weight: 400;
}

/* ============================================================
   Menu Pages - Items
   ============================================================ */
.menu-item {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-bottom: none;
}

.menu-item-primary {
    font-family: 'LALUNA', Garamond, serif;
    font-size: 1.1em;
    color: #1D428A;
    margin: 0 0 3px 0;
    font-weight: 400;
}

.menu-item-secondary {
    font-family: 'LALUNA', Garamond, serif;
    font-size: 1em;
    color: #444;
    font-style: italic;
    margin: 0;
}

.menu-footer-note {
    font-family: 'LALUNA', Garamond, serif;
    font-size: 0.85em;
    color: #888;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}

/* ============================================================
   Menu Pages - Delimiter
   ============================================================ */
.delimiter {
    text-align: center;
    margin: 20px auto;
    width: 100%;
}

.delimiter hr {
    border: none;
    border-top: 1px dashed #EFBE7D;
    width: 120px;
    margin: 0 auto;
    opacity: 0.8;
}

/* ============================================================
   Decorative elements
   ============================================================ */
.title-graphic {
    position: absolute;
    top: 20px;
    right: 90px;
    opacity: 0.6;
}

/* ------------------------------
   Responsive adjustments
--------------------------------*/
/* Tablets - 769px to 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-bg {
        object-fit: contain;
        width: 90%;
        height: auto;
        max-height: 90vh;
    }
    .lang-menu-container {
        top: 15px;
        left: 15px;
    }
    .lang-menu {
        width: 60px;
    }
    .menu-title {
        font-size: min(2.4em, 7vw);
    }
}

/* Small tablets / large phones - 481px to 768px */
@media (max-width: 768px) and (min-width: 481px) {
    .main-bg {
        object-fit: contain;
        width: 85%;
        height: auto;
        max-height: 85vh;
    }
    .lang-menu-container {
        top: 10px;
        left: 10px;
    }
    .lang-menu {
        width: 50px;
    }
    .menu-title {
        font-size: min(2em, 6vw);
    }
    .page-container {
        width: 95vw;
        margin: 5vh auto;
    }
}

/* Phones - up to 480px */
@media (max-width: 480px) {
    .main-bg {
        object-fit: contain;
        width: 70%;
        height: auto;
        max-height: 70vh;
    }
    .lang-menu-container {
        top: 10px;
        left: 10px;
    }
    .lang-menu {
        width: 40px;
    }
    .menu-title {
        font-size: min(1.8em, 6vw);
    }
    .page-container {
        width: 98vw;
        margin: 3vh auto;
    }
    .menu-content-area {
        padding: 15px 20px 15px 15px;
    }
    .side-bar {
        width: 4vw;
    }
}
