/*
Theme Name: millennium child
Theme URI: https://millennium.peacefulqode.co.in/
Author: Peacefulqode
Author URI: https://peacefulqode.co.in/
Description:This is a modern and elegant WordPress theme designed for small restaurants, cafes, bars and any other food related business websites.
Template: millennium
Version: 1.2
Text Domain: millennium-child
*/

/* --- 1. RESET & ADMIN BAR FIX --- */
body.admin-bar .gazza-header { top: var(--wp-admin--admin-bar--height, 32px); }
body.admin-bar .gazza-side-panel { 
    top: calc(100px + var(--wp-admin--admin-bar--height, 32px));
    height: calc(100vh - 100px - var(--wp-admin--admin-bar--height, 32px)); 
}

/* @media screen and (max-width: 782px) {
    body.admin-bar .gazza-header { top: 46px !important; }
    body.admin-bar .gazza-side-panel { top: 146px !important; }
} */

@media screen and (max-width: 782px) {
    body.admin-bar {
        margin-top: 0 !important;
    }
    body.admin-bar .gazza-header {
        top: 0 !important;
    }
    body.admin-bar .gazza-side-panel {
        top: 100px !important;
        height: calc(100vh - 100px) !important;
    }
}

/* --- 2. HEADER --- */
.gazza-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #0d0d0d;
    z-index: 100005;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(197, 164, 126, 0.1);
}

.header-content {
    width: 100%;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.site-logo { text-align: center; }
.site-logo img { height: 90px; width: auto; }

/* --- 3. HAMBURGER & ANIMAZIONE X --- */
.menu-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.hamburger { width: 25px; height: 16px; position: relative; margin-right: 12px; }
.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #c5a47e;
    transition: 0.4s cubic-bezier(0.8, 0, 0.2, 1);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 7px; }
.hamburger span:nth-child(3) { top: 14px; }

/* Trasformazione in X */
.menu-toggle.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .hamburger span:nth-child(2) { opacity: 0; }
.menu-toggle.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-text { color: #c5a47e; font-size: 1rem; letter-spacing: 2px; font-family: 'Montserrat', sans-serif; }

/* --- 4. SIDE PANEL & BACKDROP --- */
.gazza-side-panel {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    z-index: 100000;
    visibility: hidden;
    transition: visibility 0.6s;
}
.gazza-side-panel.active { 
    visibility: visible; 
    transition: visibility 0s;}

.overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.gazza-side-panel.active .overlay-backdrop { opacity: 1; }

.side-nav-content:not(.side-menu-list li a) {
    position: absolute;
    top: 0;
    left: 0;
    width: 420px;
    height: 100%;
    background: #0d0d0d;
    opacity: .9;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 80px 50px;
    border-right: 1px solid rgba(197, 164, 126, 0.1);
}
.gazza-side-panel.active .side-nav-content { transform: translateX(0); }

/* --- 5. MENU LINKS (SPAZIATI) --- */
.side-menu-list { list-style: none; padding: 0; margin: 0; }
.side-menu-list li { margin-bottom: 30px; } 

.side-menu-list li a {
    font-family: "Josefin Sans", sans-serif;
    font-size: 2.4rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
}
.side-menu-list li a:hover { color: #c5a47e; padding-left: 10px; }

/* --- 6. PRENOTA --- */
.header-cta { justify-self: end; }
.btn-prenota {
    color: #c5a47e;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    border: 1px solid #c5a47e;
    padding: 10px 20px;
    transition: 0.3s;
    font-size: 1rem;
}
.btn-prenota:hover { background: #c5a47e; color: #000; }

/* Responsive */
@media (max-width: 768px) {
    .side-nav-content { width: 85%; }
    .site-logo { display: none;}
    .header-content{display: flex; flex-direction: row; justify-content: space-between;}
}

/*Background color*/
body{
	background-color: #0d0d0d;
}
/*Sistemazioni proporzioni*/
#main > div{
	margin: 0;
	max-width: 100%;
}

#post-5704 > div > div > div.elementor-section.elementor-top-section.elementor-element.elementor-element-66d1d1d.elementor-section-full_width.elementor-section-stretched.elementor-section-height-default.elementor-section-height-default > div > div > div > div{
	margin: 0;
}

#pt-footer > div > div.pt-footer-top > div > div > div:nth-child(1) > div > div.row > div > p{
	text-align: center;
}

#post-5704 > div > div > div.elementor-element.elementor-element-09a9ed1.e-con-full.e-flex.e-con.e-parent.e-lazyloaded > div.elementor-element.elementor-element-0384ae4.e-con-full.e-flex.e-con.e-child > div > div > div{
	text-align: center;
}

#pt-footer > div > div.pt-footer-top > div > div{
	display: flex;
	flex-direction: column;
	align-items: center;
}

#pt-footer > div > div.pt-footer-top > div > div h4{
	text-align: center;
}

#pt-footer > div > div.pt-footer-top > div > div > div:nth-child(1) > div > div.col-sm-12{
	text-align: center;
}

@media (max-width: 768px) {
	#post-5704 > div > div > div.elementor-element.elementor-element-94be44c.e-con-full.e-flex.e-con.e-parent.e-lazyloaded > div.elementor-element.elementor-element-62344c0.e-con-full.e-flex.e-con.e-child > div{
		padding: 0;
	}
	
	#pt-header > div.pt-bottom-header.transparent > div > div > div{
		padding: 0;
	}
}

#pt-menu-contain{
	display:flex !important;
	justify-content: center;
}

#pt-main-menu{
	display: flex !important;
	gap: 40px;
}

/*Modifica da mobile della nav*/

@media (max-width: 768px) {
	#pt-header img.logo{
		width: 70px !important;
		height: 70px !important;
	}
	 #pt-header {
    position: relative !important;
  }

  #pt-header .pt-bottom-header.transparent {
    background-color: #101418 !important;
    position: relative !important;
  }

  .pt-breadcrumb {
    padding-top: 0 !important;
  }

  .elementor-section.elementor-element-27a73cc {
    margin-top: 0 !important;
  }
}

/*Modifica dell'altezza da mobile hero*/

@media (max-width: 767px) {
  sr7-module,
  sr7-content,
  sr7-adjuster,
  sr7-mask,
  sr7-bg {
    height: 520px !important;
    min-height: 520px !important;
  }

  sr7-module canvas {
    height: 520px !important;
  }

  .elementor-widget-slider_revolution,
  .wp-block-themepunch-revslider {
    height: 520px !important;
  }

  sr7-slide sr7-mask {
    height: 520px !important;
  }

  sr7-bg canvas {
    object-fit: cover !important;
    height: 520px !important;
    width: 100% !important;
  }
}

/*DIMENSIONE FOTO NEL MENU*/

.elementor-element-4f65edf {
    padding: 0 !important;
}

.elementor-element-e2ad11d > .elementor-widget-wrap,
.elementor-element-2e85b68 > .elementor-widget-wrap {
    padding: 0 !important;
}

.elementor-element-88e3744 {
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-element-e6242a8 {
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-element-e6242a8 img {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.elementor-element-4f65edf .elementor-container {
    max-width: 100% !important;
    padding: 0 !important;
}

/*FIX PAGINA COOKIE POLICY*/

.page-id-6335 :is(p,span,li,i){
	font-size: 18px !important
}

.cookies-per-purpose *{
	background-color: black !important
}

/*BANNER COOKIE*/

.cmplz-btn.cmplz-accept{
    background-color: #c5a47e !important;
}