/*
Theme Name: Bachus Prime Cut
Theme URI: 
Author: Marius Cautis
Author URI: 
Description: A WordPress theme designed for Bachus Prime Cut
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bachus-prime-cut
Tags: 

Table of Contents: 

- Globals
- Menu Page
- Navigation
- Hero 
- Map Module
- Booking Module
- Speciaty Block - Gutenberg Tiles
- Header 
- Footer
*/





/* - Globals Start  */


.entry-content{
    margin-block-start:  0px !important;
}

.container{
    max-width: 1600px;
    width: 100%;
    padding: 0px 20px;
    margin: auto !important;
}
:root :where(.is-layout-flow) > *{
    margin-block-start: 0px !important;
}


:root {
    --cactus: #519664;
    --bachusGreen: #093321;
    --bachusRed: #F60022;
    --bachusGrey: #322D2DC7;
}

html {
    scroll-behavior: smooth;
}
.wp-block-cover {
    scroll-behavior: smooth;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
.gform_wrapper.gravity-theme .gfield_required{
    color: var(--cactus) !important;
}
@media screen and (min-width: 801px){
    .hide-on-desktop{
        display: none !important;
    }
}

@media screen and (max-width: 800px){
    .hide-on-mobile{
        display: none !important;
    }
    #mobile-height-130{
        height: 180px !important;
    }
}

@media screen and (max-width: 781px){
    #img-top .wp-block-columns .wp-block-column:first-child {
        order :3;
    }
    .hero-main-video h1{
        font-size: 40px !important;
    }
}
/* - Globals End */



/* - Menu Page Start  */
.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 0px;
    border-bottom: 1px solid #efefef;
}
.menu:last-child{
    border-bottom: none;
}
.menu h2{
    width: 100%;
    padding-left: 100px;
    margin-bottom: 50px;
}
.menu .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1600px;
    width: 100%;
    padding: 20px 20px;
    color: var(--bachusGreen);
}

.menu .container h2 {
    flex-basis: 100%;
    text-align: left;
}

.menu .container .bucatarie {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
    justify-content: center; /* Center products horizontally */
}

.menu .container .bucatarie .produs-bucatarie-inner {
    flex-basis: 22%; /* Make sure products take about 22% width, resulting in 4 items per row */
    max-width: 22%;
    border: 1px solid #efefef;
    border-radius: 0px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu .produs-bucatarie-img {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.menu .product-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 10px;
}
.menu .btn-area{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0px;
}
.menu .btn-continut,
.menu .btn-alergeni,
.menu .btn-valori-nutritionale {
    border: 1px solid #d1d1d1;
    padding: 10px;
    border-radius: 0px;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}
.menu .btn-continut{
    /* width: 90%; */
}
.menu .btn-continut:hover,
.menu .btn-alergeni:hover,
.menu .btn-valori-nutritionale:hover {
    cursor: pointer;
    background-color: #d1d1d1;
    transition: 0.3s;
}

.menu .product-details h3,
.menu .product-details .continut,
.menu .product-details .qty,
.menu .product-details .price {
    flex-basis: 100%;
    margin-bottom: 20px;
}
.menu .product-details h3{
    padding: 0px 10px;
    text-align: center;
    /* min-height: 40px; */
}
.menu .product-details .qty{
    max-width: 90%;
}
.menu .product-details .continut,
.menu .product-details .alergeni,
.menu .product-details .valori-nutritionale {
    display: none;
}

/* Bar styling */
.menu .bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center bar products */
    width: 100%;
    gap: 20px;
}

.menu .bar .bar-product-inner {
    flex-basis: 22%; /* Ensures 4 products per row */
    max-width: 22%;
    border: 1px solid #efefef;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (max-width: 1100px) {
    .menu .bar .bar-product-inner,
    .menu .container .bucatarie .produs-bucatarie-inner {
        flex-basis: 45%; /* 2 products per row on medium screens */
        max-width: 45%;
    }
}

@media screen and (max-width: 600px) {
    .menu .produs-bucatarie-img{
        height: 220px;
    }
    .menu .product-details h3{
        font-size: 16px;
    }
    .menu .product-details{
        font-size: 14px;
    }
    .menu .btn-continut, .menu .btn-alergeni, .menu .btn-valori-nutritionale{
        flex-basis: 90%;
        padding: 10px 0px;
    }
    .menu .container{
        padding: 0px;
    }
    .menu .heading.container{
        padding: 20px 0px;
    }
}
/* ── Menu filter bar – two-level ───────────────────────────────────────── */
.menu-filter-bar {
    position: sticky;
    top: 110px;
    z-index: 101;
    background: #fff;
    box-shadow: 0 2px 12px rgba(9, 51, 33, 0.08);
}

/* Level 1 – group tabs */
.menu-filter-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    border-bottom: 2px solid #efefef;
}

.menu-tab-btn {
    position: relative;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #888;
    padding: 18px 28px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
    margin-bottom: -2px;
    white-space: nowrap;
}

.menu-tab-btn:hover {
    color: var(--bachusGreen);
}

.menu-tab-btn.active {
    color: var(--bachusGreen);
    border-bottom-color: var(--bachusGreen);
}

/* Level 2 – sub-filter pills */
.menu-filter-sub {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    background: #f9f9f7;
    border-bottom: 1px solid #efefef;
}

.menu-sub-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.menu-filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    padding: 7px 18px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.menu-filter-btn:hover {
    border-color: var(--cactus);
    color: var(--bachusGreen);
    box-shadow: 0 2px 8px rgba(81, 150, 100, 0.15);
}

.menu-filter-btn.active {
    background: var(--bachusGreen);
    border-color: var(--bachusGreen);
    color: #fff;
    box-shadow: 0 2px 8px rgba(9, 51, 33, 0.2);
}

@media screen and (max-width: 800px) {
    .menu-filter-bar {
        top: 0px;
    }
    .menu-filter-tabs {
        padding: 0 16px;
        gap: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .menu-filter-tabs::-webkit-scrollbar { display: none; }
    .menu-tab-btn {
        font-size: 12px;
        padding: 14px 16px;
    }
    .menu-filter-sub {
        padding: 0 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .menu-filter-sub::-webkit-scrollbar { display: none; }
    .menu-sub-row {
        flex-wrap: nowrap;
        padding: 10px 0;
    }
    .menu-filter-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
}
/* ── End menu filter bar ────────────────────────────────────────────────── */
/* - Menu Page End  */



/* - Navigation Start  */
.menu-block {
    display: flex;
    align-items: center;
    justify-content: right;
    align-items: center;
    height: 100%;
    position: absolute;
    right: 0px;
}
.menu-block .menu-item-outer{
    font-size: 26px;
    padding: 0px 10px;
}
.menu-block .menu-item-outer .menu-item{
    position: relative;
    text-decoration: none;
    color: #fff;
    font-family: 'Architects Daughter';
}

.menu-block .menu-item-outer .menu-item::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 5px;
    background-color: var(--bachusGreen);
    transition: width 0.3s ease;
}

.menu-block .menu-item:hover::after{
    width: 100%;
}

header .open-menu-icon img{
    filter: invert(100%) sepia(0%) saturate(2%) hue-rotate(274deg) brightness(101%) contrast(100%);
}
header .container .wp-block-site-logo{
    z-index: 999;
}
@media screen and (min-width: 801px){
    .close-menu-icon{
        display: none;
    }
    .open-menu-icon{
        display: none;
    }
    .menu-block .menu-item-outer{
        font-size: 20px;
    }
}
@media screen and (max-width: 800px){
    /* .scrolled header .container .nav-col */
    .nav-col{    
        position: fixed;
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
        /* background-color: var(--bachusGreen); */
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        z-index: 99;
        height: 100%;
        top: -150%;
        transition: 0.3s;
    }
    header .container .nav-col.active{
        background-color: var(--bachusGreen);
    }
    header .wp-block-columns{
        z-index: 10;
    }
    header .wp-block-columns.active{
        z-index: 105;
    }
    .nav-col.active{
        top: 0px;
        transition: 0.3s;
    }
    .header-cover{
        z-index: 10;
    }
    .menu-block{
        width: 100%;
        display: block;
        text-align: center;
        height: unset;
        position: relative;
    }
    .menu-block .menu-item-outer{
        margin-bottom: 10px;
        font-size: 30px;
    }
    .close-menu-icon{
        z-index: 1231312313;
        position: absolute;
        top: 100px;
        right: 50px;
        font-size: 70px;
        margin: unset;
        /* color: red; */
    }
    .open-menu-icon{
        position: absolute;
        right: 10px;
        top: -20px;
        z-index: 100;
    }
    header .container .wp-block-site-logo{
        max-width: 150px;
        left: 20px;
        top: 30px;
    }
}
/* - Navigation End  */ 





:root :where(.editor-styles-wrapper)::after{
    content: none !important;
}




/* Hero Start  */

.hero-main-video{
    padding: unset;
}
.hero-main-video .wp-block-cover__inner-container{
    max-height: 700px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.hero-main-video .wp-block-cover__inner-container .wp-block-buttons{
    flex-basis: 100%;
    justify-content: center;
}
.hero-main-video {
    position: relative;
    min-width: 100% !important;
}
.hero-main-video  .hero-logo{
    position: absolute;
    /* max-width: 200px !important; */
}
.hero-main-video  .wp-block-video{
    height: auto;
    min-width: 100%;
}
.hero-main-video  .slide-content{
    padding: unset !important;
}
.hero-main-video  .wp-block-video video{
    width: 100%;
}

@media screen and (max-width: 1000px){
    .hero-main-video  .wp-block-video video{
        width: auto;
    }
    .hero-main-video  .wp-block-video{
        height: 100%;
        width: auto;
    }
}
/* Hero End  */




/* Map Module Start  */

.google-map iframe{
    min-width: 100% !important;
}
#map-area iframe{
    min-width: 100%;
}
#map-area .cmplz-placeholder-parent{
    max-width: 100% !important;
}
/* Map Module End */




/* Booking Module Start  */

.booking-module #input_1_1_3_container {
    padding: unset;
}
.booking-module  input{
    border: 1px solid dimgray;
    height: 50px;
}
.booking-module textarea{
    border: 1px solid dimgray;
}
.booking-module .gform_wrapper.gravity-theme .gfield_label{
    color: #fff;
    font-weight: 400
}
.booking-module #field_1_7 .ginput_container_consent{
    display: flex;
    align-items: center;
}
.booking-module #field_1_7 .ginput_container_consent label{
    padding-left: 10px;
    color: #fff;
}
.booking-module #field_1_7 input{
    width: 20px;
}
.booking-module .gform-footer input{
    width: 100%;
    background-color: var(--cactus);
    color: #fff;
    font-size: 20px;
    font-weight: 400 !important;
}
.booking-module .gform-footer input:hover{
    background-color: var(--bachusGreen);
    cursor: pointer;
}
.gform_wrapper.gravity-theme .gfield_required{
    color: var(--cactus);
}

@media screen and (max-width: 640px){
    .booking-module #input_1_8{
        width: 100%;
    }
}
/* Booking Module End  */



/* - Speciaty Block - Gutenberg Tiles Start  */
#specialties .wp-block-colum{
    padding: 30px 0px;
}
#specialties .wp-block-column h2{
    max-width: 60%;
    margin: auto;
}
#specialties .wp-block-column p{
    max-width: 90%;
    margin: auto;
}


/* - Speciaty Block - Gutenberg Tiles End  */



/* - Header  Start */

header{
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 100;
}
header .container{
    position: relative;
}
header .container .wp-block-site-logo{
    position: fixed;
    transition: 0.5s;
}
.scrolled header .container .wp-block-site-logo{
    position: fixed;
    transform: scale(.5);
    top: -5px;
    transition: 0.5s;
    left: -10px;
}
header .wp-block-cover.header-cover{
    min-height: 110px !important;
    overflow: visible !important;
}
.scrolled header .wp-block-cover__background{
    background-color: rgba(81, 150, 100, 0.6) !important;
    transition: 0.5s;
}
header .wp-block-column.active .wp-block-site-logo{
    display: none;
}
/* - Header  End  */

 

/* - Footer Start  */
footer{
    margin-block-start:  0px !important;
}
footer .footer-menu ul li {
    flex-basis: 100%;
}

footer #footer-desc p{
    display: flex;
    width: 100%;
}


/* - Footer End */