@import url("style-pages.css?v=20260530-menu-layout");

/* Menu page overrides (if needed). */

/* Side-by-side layout: Menu on left, Browse Specialties on right */
#menu .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 650px));
    gap: 40px;
    align-items: stretch;
    justify-content: center; /* center the two-column grid inside the parent */
    justify-items: center;
    margin: 0 auto;
}

#menu .container > .section-header {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

/* Shared card styles so both boxes are identical */
#menu .menu-pdf-card,
#menu .page-block {
    grid-column: auto;
    margin: 0;
    width: 100%;
    max-width: 650px;
    min-height: 800px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
    position: relative;
    display: flex;
    flex-direction: column;
}

#menu .menu-pdf-card {
    padding: 26px 0;
}

#menu .page-block {
    padding: 26px;
}

/* top accent bar for both cards */
#menu .menu-pdf-card::before,
#menu .page-block::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), #151515, var(--accent));
}

/* Header inside both cards */
#menu .menu-pdf-card .menu-card-header,
#menu .page-block .menu-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 24px;
    padding-bottom: 20px;
    margin: 0 0 8px 0;
}

/* Title sizing - match the menu card heading */
#menu .menu-pdf-card .menu-card-header h3,
#menu .page-block .menu-card-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    color: var(--text);
    line-height: 1.2;
}

/* Icon styling to match */
#menu .card-icon {
    display: flex;
    width: 74px;
    height: 74px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 2rem;
}

/* Keep internal content aligned and padded */
#menu .menu-pdf-card .pdf-card-content,
#menu .page-block > .menu-panels,
#menu .page-block > .menu-tabs-container {
    margin: 0 0 12px 0;
    flex-grow: 1;
}

/* Ensure download button sits below the paragraph and is centered */
#menu .menu-pdf-card .pdf-card-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

#menu .menu-pdf-card .menu-download-btn {
    justify-self: center;
}

/* Browse Specialties - 1 column layout with white boxes and equal spacing */
#menu .menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 26px;
}

#menu .menu-item-card {
    background: #ffffff;
    padding: 22px 24px;
    min-height: auto;
    border: 1px solid rgba(176, 135, 0, 0.15);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

#menu .menu-item-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Ensure both boxes have same inner padding and header spacing */
#menu .menu-pdf-card,
#menu .page-block {
    padding: 26px;
}

/* Center the Request a Quotation button across full page width */
#menu .page-actions {
    grid-column: 1 / -1;
    margin-top: 40px;
}

@media (max-width: 1400px) {
    #menu .container {
        grid-template-columns: 1fr;
    }

    #menu .menu-pdf-card {
        grid-column: 1 / -1;
    }

    #menu .page-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    #menu .menu-pdf-card {
        padding: 16px 0;
    }

    #menu .menu-pdf-card .menu-card-header {
        padding-inline: 16px;
    }

    #menu .menu-pdf-card .pdf-card-content {
        padding-inline: 16px;
    }

    #menu .page-block {
        padding: 16px 12px;
    }
}
