@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;700;900&display=swap');

:root {
    /* Colors - Derived from Figma JSON */
    --ws-primary-brown: #573518;
    --ws-primary-brown-rgb: 87, 53, 24;
    --ws-bg-beige: #F3EDE1;
    --ws-bg-beige-rgb: 243, 237, 225;
    --ws-white: #FFFFFF;
    --ws-black: #000000;
    
    /* Typography */
    --ws-font-main: 'Lexend', sans-serif;
    
    /* Spacing & Sizing */
    --ws-container-max-width: 1440px;
    --ws-section-padding: 100px 20px;
    --ws-header-height: 80px;
    
    /* Transitions */
    --ws-transition-base: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ws-font-main);
    background-color: var(--ws-bg-beige);
    color: var(--ws-primary-brown);
    line-height: 1.5;
    overflow-x: hidden;
}

.ws-container {
    max-width: var(--ws-container-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Component: Header (Astra Sticky) --- */
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: var(--ws-transition-base);
}

/* Adjust page content to start below the sticky header */
.site-content, .ws-hero, .site-main {
    margin-top: var(--ws-header-height);
}

/* Specific adjustment for hero pattern which was 100vh */
.ws-hero {
    height: calc(100vh - var(--ws-header-height));
    margin-top: 0; /* Handled by container usually */
}

/* For admin bar compatibility */
.admin-bar #masthead {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar #masthead {
        top: 46px;
    }
}

.ws-logo img {
    height: 40px;
    width: auto;
}

.ws-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.ws-nav__link {
    text-decoration: none;
    color: var(--ws-primary-brown);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--ws-transition-base);
}

.ws-nav__link:hover {
    opacity: 0.7;
}

/* --- Component: Hero --- */
.ws-hero {
    height: 100vh;
    min-height: 600px;
    background-color: #D9D9D9; /* Fallback */
    background-image: url('https://images.unsplash.com/photo-1579871494447-9811cf80d66c?q=80&w=2070&auto=format&fit=crop'); /* Placeholder image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

/* --- Component: Menu Section --- */
.ws-section {
    padding: var(--ws-section-padding);
}

.ws-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.ws-section__title {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.ws-section__subtitle {
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    opacity: 0.8;
}

.ws-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* --- Component: Carousel Controls --- */
.ws-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.ws-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.ws-carousel-track > * {
    flex: 0 0 33.333%; /* Default to 3 items as per Figma */
    padding: 0 20px;
}

.ws-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--ws-primary-brown);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: var(--ws-transition-base);
    flex-shrink: 0;
    padding: 0;
    overflow: hidden;
}

.ws-carousel-arrow:hover {
    background-color: var(--ws-black);
}

.ws-carousel-arrow--prev {
    left: 0;
}

.ws-carousel-arrow--next {
    right: 0;
}

/* CSS Arrows Fallback - Improved Centering */
.ws-arrow-icon {
    display: block;
    width: 14px;
    height: 14px;
    border-top: 3px solid var(--ws-white);
    border-right: 3px solid var(--ws-white);
    position: absolute;
    top: 50%;
    left: 50%;
}

.ws-arrow-icon--left {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.ws-arrow-icon--right {
    transform: translate(-70%, -50%) rotate(45deg);
}

/* --- Component: Tabs --- */
.ws-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.ws-tabs::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.ws-tabs {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.ws-tab-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 1px solid var(--ws-primary-brown);
    color: var(--ws-primary-brown);
    font-family: var(--ws-font-main);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--ws-transition-base);
    white-space: nowrap;
    flex-shrink: 0;
}

.ws-tab-btn--active, .ws-tab-btn:hover {
    background-color: var(--ws-primary-brown);
    color: var(--ws-white);
}

.ws-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.ws-tab-content--active {
    display: block;
}

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

/* --- Component: Menu Item --- */
.ws-menu-item {
    text-align: center;
    transition: var(--ws-transition-base);
}

.ws-menu-item__image-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--ws-primary-brown);
    background-color: #EFEFEF;
}

.ws-menu-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ws-menu-item:hover .ws-menu-item__image {
    transform: scale(1.1);
}

.ws-menu-item__code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 500;
    color: var(--ws-black);
    opacity: 0.1; /* Figma style often has these ghost codes */
    pointer-events: none;
    z-index: 1;
}

.ws-menu-item__name {
    font-size: 20px;
    font-weight: 500;
}

/* --- Component: Full Menu (Denser Grid) --- */
.ws-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.ws-category-title {
    background-color: var(--ws-primary-brown);
    color: var(--ws-white);
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ws-category-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--ws-primary-brown);
    margin-left: 20px;
}

.ws-grid--dense {
    grid-template-columns: repeat(5, 1fr); /* 5 columns as seen in Figma JSON for Full Menu */
    gap: 20px;
}

.ws-menu-card {
    background-color: var(--ws-white);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(var(--ws-primary-brown-rgb), 0.1);
    transition: var(--ws-transition-base);
    position: relative;
    padding: 0;
    overflow: hidden;
}

.ws-menu-card:hover {
    box-shadow: 0 10px 30px rgba(var(--ws-primary-brown-rgb), 0.1);
    transform: translateY(-5px);
}

.ws-menu-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.9;
    transition: var(--ws-transition-base);
}

.ws-menu-card:hover .ws-menu-card__image {
    transform: scale(1.1);
}

.ws-menu-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--ws-primary-brown-rgb), 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--ws-transition-base);
    padding: 15px;
    text-align: center;
    z-index: 3;
}

.ws-menu-card:hover .ws-menu-card__overlay {
    opacity: 1;
}

.ws-menu-card__name {
    color: var(--ws-white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.ws-menu-card__code {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1200px) {
    .ws-grid--dense {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .ws-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ws-grid--dense {
        grid-template-columns: repeat(3, 1fr);
    }
    .ws-carousel-track > * {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .ws-container{padding: 0px;}
    .ws-header {
        height: 60px;
    }
    .ws-nav {
        display: none; /* In real Elementor project, replace with mobile menu toggle */
    }
    .ws-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .ws-grid {
        grid-template-columns: 1fr;
    }
    .ws-carousel-track > * {
        flex: 0 0 100%;
    }
    .ws-section__title {
        font-size: 24px;
    }
    .ws-footer__legend {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ws-footer__content {
        flex-direction: column;
        gap: 60px;
    }
    .ws-footer__contact {
        align-items: flex-start;
    }
    .ws-footer__row {
        gap: 20px;
        flex-direction: column;
    }
}

/* --- Component: Footer --- */
.ws-footer {
    padding: 0;
    background-color: transparent;
}

.ws-footer__top {
    background-color: var(--ws-bg-beige);
    padding: 60px 0;
    border-top: 1px solid rgba(var(--ws-primary-brown-rgb), 0.1);
}

.ws-footer__legend {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
}

.ws-footer__legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ws-footer__icon-circle {
    width: 64px;
    height: 64px;
    border: 1px solid var(--ws-primary-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.ws-footer__icon-circle svg {
    width: 100%;
    height: 100%;
    fill: var(--ws-primary-brown);
}

.ws-footer__legend-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ws-primary-brown);
}

.ws-footer__bottom {
    background-color: var(--ws-white);
    padding: 80px 0;
    color: var(--ws-primary-brown);
}

.ws-footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ws-footer__trading-hours {
    flex: 1;
}

.ws-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.ws-footer__title {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.ws-footer__row {
    display: flex;
    gap: 40px;
    margin-bottom: 12px;
    font-size: 15px;
}

.ws-footer__day {
    width: 100px;
    font-weight: 500;
}

.ws-footer__time {
    font-weight: 700;
}

.ws-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.ws-footer__contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--ws-primary-brown);
}
