/* imported fonts */
@font-face {
	font-family: 'Granny';
	src: url('../_fonts/granny_regular.ttf') format('truetype');
}
:root {
	/* smooth animation to anchor links */
	scroll-behavior: smooth;
}

/*******************************  DEFAULTS, RESET ***************************/
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
	border: none;
}

/* utilities */
.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.float-left {
	float: left;
}
.float-right {
	float: right;
}
.clear-float {
	clear: both;
}
.flex {
	display: flex;
	justify-content: space-between;
	gap: 15px;
}
.flex-top {
	align-items: start;
}
.flex-center {
	align-items: center;
}
.flex-column {
	flex: 1;
}
.container {
	width: min(94%, 1200px);
	margin: 0 auto;
}

/******************** COLORS UTILITIES **************/
.light {
	color: #ddd5cc;
}
.yellow {
    color:#f3c24d;
}
/* *************************************  GENERAL  STYLES ************************* */
h1,
h2,
h3,
h4 {
	font-family: 'Lora', serif;
}
h2 {
	font-size: 3rem;
	margin: 35px 0;
}

h2.underline {
	padding-bottom: 50px;
	background: url('../_img/line_decor_gray.webp') no-repeat bottom center;
}
h2.underline.light {
	background: url('../_img/line_decor_light.webp') no-repeat bottom center;
}
p {
	font-size: 1.4rem;
	margin-bottom: 60px;
}
p.light {
	color: #ddd5cc;
}
a {
	text-decoration: none;
}
a.button {
	font-size: 1.8rem;
	padding: 0.8rem 5rem;
	border-radius: 15px;
	font-weight: bold;
}
a.dark {
	color: #ddd5cc;
	background-color: #1e2832;
}
a.dark:hover {
	color: #fff;
}
ul,
ol {
	list-style: none;
}

/******* polaroid photos **********/
.polaroid-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.scotch {
	position: relative;
	bottom: -15px;
	width: 170px;
}
.polaroid {
    width: 100%;
	padding: 20px 20px 40px 20px;
	background-color: #fff;
	box-shadow: 5px 5px 10px #666;
}
/* *************************************** BIG ELEMENTS ****************************** */
html {
	background-color: #1e2832;
}
body {
	font-family: 'Raleway', sans-serif;
	line-height: 1.4;
	background: url('../_img/bg_gray_wood.webp') no-repeat top center;
	background-size: 100% 530px;
}
section {
	padding: 100px 0;
	position: relative;
	bottom: -1px;
}

/************************************* NAV DESKTOP *************************************/
.desktop-nav {
	height: 80px;
	background-color: #1e2832;
	border-top: 2px solid #1e2832;
	border-bottom: 2px solid #1e2832;
	position: sticky;
	z-index: 10;
	top: 20px;
	left: 0;
	transition: background-color 0.2s linear;
}
.desktop-nav .container {
    width: min(1260px, 96%);
}
#logo {
	width: 120px;
}
.nav-item {
	margin-top: -5.5rem;
	padding: 0.4rem 0.6rem;
	height: 45px;
	color: #ddd5cc;
	font-family: 'Lora', serif;
	font-size: 1.6rem;
	font-weight: 400;
	text-decoration: none;
	letter-spacing: 0.1rem;
	transition: color 0.2s linear;
}
.nav-item:not(.cta):hover,
.nav-item.current {
	color: #f3c24d;
	border-bottom: 2px solid #f3c24d;
}
.cta {
	padding-top: 0.9rem;
	padding-right: 1rem;
	font-size: 1.4rem;
	text-align: right;
	color: #fff;
	height: 60px;
	width: 240px;
	background-image: url('../_img/bg_cta_yellow.webp');
	background-repeat: no-repeat;
	background-position: left center;
	transition: background-image 0.2s ease;
}
.cta:hover {
	background-image: url('../_img/bg_cta_green.webp');
}

/* bara faded, cand se intra in site */
.desktop-nav.faded {
	background-color: rgba(229, 224, 219, 0.9);
	color: #1e2832;
}

.desktop-nav.faded .nav-item {
	color: #1e2832;
	font-weight: 500;
}
.desktop-nav.faded .nav-item:not(.cta):hover,
.desktop-nav.faded .current {
	color: #1e2832;
	border-bottom: 2px solid #1e2832;
}
.desktop-nav.faded .cta {
	background-image: url('../_img/bg_cta_grey.webp');
	color: #fff;
}
.desktop-nav.faded .cta:hover {
	background-image: url('../_img/bg_cta_yellow.webp');
	color: #1e2832;
}

.hero {
	position: relative;
	bottom: -10px;
}
#banner {
	position: absolute;
	margin: 0 auto;
	inset: 0;
	bottom: 0;
	width: min(98%, 1200px);
}

/* tiles */
.tiles {
	height: 25px;
	background-repeat: repeat-x;
	background-position: left center;
	position: relative;
	bottom: -2px;
}

.bg_beige {
	background-image: url('../_img/bg_tile_beige.webp');
}
.bg_grey {
	background-image: url('../_img/bg_tile_grey.webp');
}
.darkgrey {
	color: #222;
}
/*************************************** ABOUT US  ********************************/
.about-us {
	min-height: 500px;
	background: url('../_img/bg_tile_grey.webp') bottom left repeat-x,
		url('../_img/bg_beige_cloth.webp') repeat;
}
#photo_aboutus {
	rotate: 10deg;
}
#photo_aboutus.rotated {
	rotate: 12deg;
}
#aboutus-left {
	background: url('../_img/bg_tomatos.webp') no-repeat bottom right;
	padding-bottom: 100px;
}

#aboutus-right {
    flex:0.7;
}
/*************************************** MENU ***********************************/

/* gridul de elemente de meniu */
.menu {
	background: url('../_img/bg_fade.webp') top left repeat-x,
		url('../_img/bg_tile_beige.webp') bottom left repeat-x,
		url('../_img/bg_gray_wood_vertical.webp') repeat;
	position: relative;
}
.grid-container {
	display: grid;
	gap: 15px; /* Gap between grid items */
	margin: 5px auto; /* Center horizontally */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

}


/* hover la elemente */
.menu-item {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
    text-align:center;
}
.menu-item:nth-of-type(5),.menu-item:nth-of-type(6),.menu-item:nth-of-type(7) {
    margin-left:50%;
}
.menu-item .menu-overlay {
	background: rgba(0, 0, 0, 0.6);
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}
.menu-item:hover .menu-overlay {
	opacity: 1;
}
.menu-details {
	position: absolute;
	text-align: center;
	padding-left: 1em;
	padding-right: 1em;
	width: 100%;
	top: 80%;
	left: 50%;
	opacity: 0;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.menu-item:hover .menu-details {
	top: 60%;
	left: 50%;
	opacity: 1;
}
.menu-item img.menu-image {
	width: 100%;
	height: auto;
}
.menu-item .menu-text {
	font-family: 'Lora', serif;
	color: #fff;
	margin-top: 0.8rem;
	font-size: 2rem;
	font-weight: bold;
}

/******************************** TESTIMONIALS *******************************/
.testimonials {
	background: url('../_img/bg_tile_grey.webp') bottom left repeat-x,
		url('../_img/bg_beige_cloth.webp') repeat;
	position: relative;
}
.card {
	width: 32%;
	padding-top: 50px;
	margin: 50px 0;
	background: url('../_img/quote_decor.webp') top center no-repeat;
}
.card p:not(.name) {
	margin-bottom: 0.8rem;
    min-height: 300px;
}
.card p.name {
	font-size: 1.7rem;
	font-weight: bold;
	margin-top: 20px;
}
.testimonial-pic {
	border-radius: 50%;
	box-shadow: 4px 4px 10px #999;
    border:5px solid #1e2832;
    margin: 0 auto;
}

/******************** FIRST FOOTER **************/
.footer {
	background: url('../_img/bg_gray_wood_vertical.webp') repeat;
	position: relative;
    bottom:0;
	color: #fff;
}
.footer h4 {
	font-size: 1.8rem;
	margin-bottom: 10px;
}
.footer p {
	font-size: 1.2rem;
	margin-bottom: 1rem;
}
.footer-item {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: start;
}
.social img {
	margin-right: 0.7rem;
}
.contact-link {
	display: block;
	padding-left: 40px;
	margin-bottom: 0.6rem;
	line-height: 30px;
	font-size: 1.3rem;
	color: #fff;
}
.phone {
	background: url('../_img/icon_phone.webp') left center no-repeat;
}
.email {
	background: url('../_img/icon_email.webp') left center no-repeat;
}
.web {
	background: url('../_img/icon_web.webp') left center no-repeat;
}
.address {
	background: url('../_img/icon_address.webp') left top no-repeat;
	width: 230px;
}
.footer-item.right {
	align-items: end;
}
.footer-item:nth-of-type(2) {
	padding-left: 160px;
}
.cta-button {
	background-color: #f3c24d;
	color: #fff;
	font-size: 1.7rem;
	font-weight: bold;
	padding: 1rem 4rem;
	border-radius: 20px;
	transition: box-shadow 0.1s linear;
}
.cta-button:hover {
	box-shadow: 3px 3px 6px -2px #333;
}
/********************** REAL FOOTER ********************/
footer {
	padding-top: 20px;
	background-color: #1e2832;
}
footer a {
	color: #fff;
	font-weight: bold;
	font-size: 1.5rem;
	transition: color 0.2s linear;
}
footer a:hover {
	color: #f3c24d;
}
.credits {
	padding: 30px 0;
	color: #fff;
	text-align: center;
	font-size: 1.2rem;
}

/* scroll arrow */
#scrollButton {
	display: none;
	position: fixed;
	bottom: 40px;
	right: 40px;
	z-index: 99;
	border: none;
	cursor: pointer;
}

/************* ABOUT US PAGE *************/

.text-aboutus {
	width: 45%;
}
.pictures {
	background: url('../_img/icon_icecream_small.webp') top right no-repeat;
    flex:0.9;
}
.pictures .polaroid {
    width: min(100%, 400px);
}

/***************** div cu info despre alergeni etc ************/
.food-info {
    padding-top: 120px;
    padding-left: 200px;
    color:#fff;
}
.food-info p {
    margin-bottom: 8px;
}

/**************** banner de CALL US ***************/
.call-us {
	padding: 45px 0 45px 0;
	text-align: center;
	background: #888 url('../_img/bg_tile_grey.webp') bottom left repeat-x;
}
.call-us p {
	font-size: 3rem;
	font-weight: bold;
	margin-bottom: 1rem;
	color: #fff;
}
.call-us a {
	color: #f3c24d;
}
/******************* banner de MENULIST *************/
.menulist {
	padding: 35px 0;
    text-align: center;
	background: #CAC2BB;
}
.menulist p {
    font-size: 2.4rem;
	font-weight: bold;
	margin-bottom: 0;
	color: #1e2832;
    line-height: 67px;
}
/******************** PAGINILE DE MENIURI *********************/
.menu-categories {
	height: auto;
	font-family: 'Lora', serif;
}
.menu-category {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 24%;
	height: 200px;
	padding-bottom: 25px;
	font-size: 1.6rem;
	font-weight: bold;
	color: #ddd5cc;
	transition: color 0.2s linear;
	cursor: pointer;
}
.menu-category:hover,
.menu-category.current {
	background: url('../_img/icon_triangle.webp') bottom center no-repeat;
	color: #fff;
}
.menu-category img {
	height: max(50%, 90px);
	filter: brightness(0.5);
}
.menu-category span {
    display:flex;
    align-items: center;
    min-height: 67px;
}
.menu-category:hover img,
.menu-category.current img {
    filter: brightness(1);

}

/* ************* MENU CONTAINER AND ITEMS ********* */
.menu-container {
	/* background: url('../_img/bg_menu_details.webp') bottom right no-repeat; */
	min-height: 600px;
	padding: 0 0 140px 0;
}

.menu-canvas {
	background: url('../_img/bg_menu_canvas_top.webp') top center no-repeat,
		url('../_img/bg_menu_canvas_bottom.webp') bottom center no-repeat,
		url('../_img/bg_menu_canvas_middle.webp') top center repeat-y;
    background-size: contain;
	background-color: #ddd5cc;
	min-height: 800px;
	padding: 130px 80px 130px 80px;
    position: relative;
}
/* --------- pozitionarea imaginilor de-a lungul meniului aici e pizza, inghetata e overwrite in pagina ei */
.menu-canvas img {
    position:absolute;
    z-index: 3;
}
.menu-canvas img.very-top-right {
    top:-120px;
    right:-190px;
}
.menu-canvas img.top-right {
    top:300px;
    right:-50px;
}
.menu-canvas img.middle-right {
    top:60%;
    right:-170px;
}
.menu-canvas img.top-left {
    top:20px;
    left:-150px;
}
.menu-canvas img.middle-left {
    top:40%;
    left:-210px;
}
.menu-canvas img.bottom-left {
    bottom:-230px;
    left:-250px;
}
.menu-canvas img.bottom {
    bottom:-150px;
    right:0px;
}
/********************/
.menu-canvas p {
    margin-bottom:0.5rem;
    font-size:2.2rem;
}
.menu-canvas span.description {
    display: block;
    margin-left: 3rem;
    font-size:1.4rem;
    margin-bottom:0.6rem;
}
.ribbon {
    margin: 2rem 0 1.2rem 0;

}
.ribbon span {
    display:inline-block;
    position:relative;
    left:30px;
    font-size:2.6rem;
    font-weight: bold;
    font-family: "Lora", serif;
    line-height:50px;
    padding:10px 25px;
    background: url('../_img/bg_ribbon_middle.webp') top left repeat-x;
    color:#ddd5cc;
}
.ribbon span::before {
    content: '';
    position: absolute;
    left:-30px;
    top:0;
    width:30px;
    height:100%;
    background: url('../_img/bg_ribbon_left.webp') top left no-repeat;
}
.ribbon span::after {
    content: '';
    position: absolute;
    top:0;
    left:100%;
    width:30px;
    height:100%;
    background: url('../_img/bg_ribbon_right.webp') top left no-repeat;
}


/**************** PAGINA DE CONTACT **********************/
.kontakt-div {
    padding:20px 0 0 20px;
    margin-top:100px;
    color:#fff;
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.kontakt-div h2 {
    font-size:2.5rem;
    /* align-self: center; */
}
.kontakt-div p {
    margin-bottom:15px;
}
.kontakt-div.center {
    background-color: #1e2832;
}
.kontakt-div:nth-of-type(1) {
    align-items: flex-start;
    padding-left: 0;
}
#zeitplan {
    flex:1.1;
    align-items: flex-end;
}


/****************** GALERIA DE IMAGINI ******************/
.photo-container {
    background-color: #ddd5cc;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(300px, 1fr));
    gap:15px;
    padding:15px;
    margin-bottom:100px;
}
.photo {
    width:100%;
    height:100%;
    background-color: #1e2832;
}
.corner-image {
    grid-row: span 2;
    grid-column: span 2;
}
.all-row {
    grid-column: span 3;
}
.two-cols {
    grid-column: span 2;

}
.two-rows {
    grid-row:span 2;
}


/*----------------------------------------------------*/
/***************** RESPONSIVE under 1300px ************/

/* menu grid de pe prima pagina */
@media only screen and (max-width: 1259px) {
	.menu-item:nth-of-type(5),.menu-item:nth-of-type(6),.menu-item:nth-of-type(7) {
        margin-left:0;
    }
}


/*----------------------------------------------------*/
/***************** RESPONSIVE under 1200px ************/

@media only screen and (max-width: 1230px) {
    /* all flex gap */
    .flex {
        gap:9px;
    }
    /* nav bar */
    .cta {
        display: none;
    }
    .desktop-nav .nav-item {
        font-size: 1.3rem;
        padding: 0.4rem 0.2rem;
    }
    /* bannerele si butoanele */
    .cta-button {
        font-size:1.2rem;
        padding:0.7rem 2.2rem;
    }
    .menulist p {
        font-size:1.8rem;
        line-height: 50px;
    }
    .call-us p {
        font-size: 2rem;
    }
    /* coloana de mijloc din footer */
    .footer-item:nth-of-type(2) {
        padding-left: 80px;
    }

    /* hero image la index */
    #banner {
        width:min(98%, 950px);
        margin-top:100px;
    }
}

