﻿/*
Theme Name: Annuska kávézó
Theme URI: https://annuska.hu
Description: Az Annuska kávézó weboldal alapértelmezett sablonja.
Author: Digitalform
Author URI: https://digitalform.hu
Version: 1.0
*/

*{
margin: 0;
padding: 0;
border: 0;
flex-wrap: wrap;
text-decoration: none; 
}

@font-face { 
	font-family: 'DM Sans'; 
	src: url("fonts/dm-sans-regular.woff2") format('woff2');
	font-weight: 400; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'DM Sans'; 
	src: url("fonts/dm-sans-bold.woff2") format('woff2');
	font-weight: 700; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

*, 
*:after, 
*::before { -webkit-box-sizing: border-box; box-sizing: border-box; }

:root {
	--color-dark: #231F20;
	--color-dark-a50: #231F2099;
	--color-dark-a0: #231F2000;
	--color-sand: #F9F6F1;
	--color-dark-sand: #EDE8DE;
	--color-olive: #424C42;
	--color-green: #22574d;
	--color-red: #EC1000;
}

body { margin: auto; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 400; line-height: 25px; background: #666666; overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden !important; }

textarea, input, select, button { font-family: 'DM Sans', sans-serif; font-size: 16px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

img.alignleft { margin: 0 20px 5px 0; float: left; }
img.alignright { margin: 0 0 5px 20px; float: right; }
img.aligncenter { margin: 0 auto 20px auto; display: block; }

hr { width: 100%; margin: 20px 0; border-top: 1px solid var(--color-charcoal); }

/* Classes */
.clear { clear: both; }
.inner { max-width: 1400px; margin-left: auto; margin-right: auto; position: relative; }
.inner.inner_960 { max-width: 960px; }
.inner.inner_660 { max-width: 660px; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.hide { display: none !important; }
.red { color: var(--color-red); }

.center { text-align: center; }
.uppercase { text-transform: uppercase; }

/* Animation */
.anim, :before, :after { -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.anim_cubic { -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }

/* Button */
.button { height: 50px; padding: 0 30px; font-size: 17px !important; text-decoration: none !important; color: #FFFFFF !important; line-height: 20px; background: var(--color-olive); display: inline-flex; align-content: center; justify-content: center; border-radius: 25px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover { color: #FFFFFF !important; background: var(--color-dark); }
.button:after { display: none !important; }

.button:disabled, 
.button:disabled:hover { color: rgba(255 255 255 / 30%) !important; background-color: var(--color-dark) !important; }

/* Checkbox and radio */
input[type="checkbox"], 
input[type="radio"] { width: 24px; height: 24px; margin: -4px 4px 0 0 !important; padding: 0 !important; text-align: center !important; background-color: #FFFFFF; clear: none; cursor: poDM Sans; display: inline-block; line-height: 0; outline: 0; vertical-align: middle !important; -webkit-appearance: none; -webkit-box-shadow: none; box-shadow: none; }
input[type="radio"] { -webkit-border-radius: 50%; border-radius: 50%; }

input[type="radio"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; background: var(--color-dark); position: relative; border-radius: 8px; display: block; content: ''; }
input[type="checkbox"]:checked:before { width: 100%; height: 100%; left: 0; top: 0; color: #FFFFFF; background: var(--color-dark); position: relative; display: flex; align-items: center; justify-content: center; content: '✓'; }

/* Website */
#website { max-width: 1920px; margin: auto; background: var(--color-sand); position: relative; }


/*
------------------
	NAVIGATION
------------------
*/
#rwd_menu { inset: 0; padding: 150px 20px 20px; background: var(--color-olive); position: fixed; z-index: 99; visibility: hidden; opacity: 0%; }
#rwd_menu label { margin-bottom: 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: rgba(255 255 255 / 75%); display: block; }

/* Section */
#rwd_menu .rwd_menu_section { margin-bottom: 50px; }

/* Menu */
#rwd_menu ul.menu { list-style: none; }
#rwd_menu ul.menu li { margin-bottom: 10px !important; }
#rwd_menu ul.menu li:last-child { margin-bottom: 0 !important; }
#rwd_menu ul.menu li a { font-size: 40px; text-decoration: none; color: #FFFFFF; line-height: 100%; }
#rwd_menu ul.menu li a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* Contact */
#rwd_menu .contact_wrap { border: 1px solid #FFFFFF; border-radius: 5px; }
#rwd_menu .contact_wrap a { height: 70px; padding-left: 20px; font-size: 18px; font-weight: 700; color: #FFFFFF; line-height: 70px; letter-spacing: 1px; border-bottom: 1px solid #FFFFFF; display: block; position: relative; }
#rwd_menu .contact_wrap a:hover { background: rgba(255 255 255 / 5%); }
#rwd_menu .contact_wrap a:last-child { border-bottom: none; }
#rwd_menu .contact_wrap a:after { width: 70px; height: 100%; right: 0; top: 0; background-repeat: no-repeat; background-position: center; background-size: auto 30px; border-left: 1px solid #FFFFFF; position: absolute; content: ''; }
#rwd_menu .contact_wrap a.address:after { background-image: url(images/icon-map-white.svg); }
#rwd_menu .contact_wrap a.phone:after { background-image: url(images/icon-phone-white.svg); }

/* RWD menu is opened */
body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 100%; }


/*
--------------
	HEADER
--------------
*/
#header { width: max-content; height: 80px; top: -100px; left: 50%; padding: 0 20px; background: #FFFFFF; display: flex; align-items: center; justify-content: space-between; border-radius: 40px; position: fixed; z-index: 100; -webkit-transform: translateX(-50%); transform: translateX(-50%); transition: top 1s ease-out; transition-delay: 2s; }
#header .header_warp_right { height: 100%; display: flex; align-items: center; }

/* Logo */
#header .logo { margin-right: 50px; }
#header .logo img { width: auto; height: 40px; display: block; }

/* Menu */
#header ul.menu { display: flex; align-items: center; list-style: none; }
#header ul.menu li { margin-right: 20px; }
#header ul.menu li:last-child { margin-right: 0; }
#header ul.menu li a { font-size: 18px; font-weight: 700; color: var(--color-dark); }

/* Language switcher */
#header .language_switcher { width: 50px; height: 50px; margin-left: 10px; position: relative; }
#header .language_switcher ul { height: 50px; padding-top: 50px; background: #FFFFFF; border: 1px solid var(--color-dark-sand); position: relative; overflow: hidden; list-style: none; border-radius: 50px; }
#header .language_switcher ul:hover { height: auto; }
#header .language_switcher ul li { width: 100%; height: 50px; }
#header .language_switcher ul li.active { left: 0; top: 0; position: absolute; }
#header .language_switcher ul li a { width: 100%; height: 100%; font-size: 18px; font-weight: 700; color: var(--color-dark); display: flex; align-items: center; justify-content: center; }

/* RWD button */
#header .rwd_button { width: 50px; height: 50px; margin-left: 10px; background: var(--color-olive); position: relative; border-radius: 50%; cursor: pointer; }
#header .rwd_button .burg { width: 30px; top: calc(50% - 2px); left: 10px; position: absolute; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 30px; height: 2px; background: #FFFFFF; position: absolute; content: ''; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: calc(50% - 4px); left: 0; }
#header .rwd_button .burg:after { top: calc(50% + 4px); right: 0; }

body.rwd_menu__opened #header .rwd_button .burg:before { top: 50%; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 50%; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }

/* Body is loaded */
body.is_loaded #header { top: 30px; }


/*
-------------
	SLIDE
-------------
*/
#slide { height: 100vh; background: var(--color-olive); position: relative; overflow: hidden; }
#slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); opacity: 0; transition: transform 1.5s ease-out, opacity 1.5s ease-out; }

/* Marquee */
#slide .marquee_main { left: 100px; right: 100px; bottom: 50px; padding: 30px 0; border-top: 1px solid rgba(255 255 255 / 50%); border-bottom: 1px solid rgba(255 255 255 / 50%); position: absolute; z-index: 10; opacity: 0; transition: opacity 1.5s ease-out; }
#slide .marquee_main .marquee { display: flex; flex-wrap: nowrap !important; #FFFFFF-space: nowrap; overflow: hidden; }
#slide .marquee_main .marquee .marquee_wrap { display: flex; flex-wrap: nowrap !important; #FFFFFF-space: nowrap; -webkit-animation: animate-marquee 60s infinite linear; animation: animate-marquee 60s infinite linear; transition: .7s margin-left ease-out; will-change: transform, margin-left; }
/*#slide .marquee_main .marquee:hover .marquee_wrap { -webkit-animation-play-state: paused; animation-play-state: paused; }*/

#slide .marquee_main .marquee .marquee_wrap div { width: max-content; padding: 0 100px; font-size: clamp(24px, 4vw, 60px); font-weight: 700; color: #FFFFFF; line-height: 120%; position: relative; }
#slide .marquee_main .marquee .marquee_wrap div:nth-child(even) { color: transparent; -webkit-text-stroke: 1px #FFFFFF; text-stroke: 1px #FFFFFF; }
#slide .marquee_main .marquee .marquee_wrap div:after { width: 20px; height: 20px; right: 0; top: 50%; background: #FFFFFF; position: absolute; border-radius: 20px; content: ''; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
#slide .marquee_main .marquee.second_row .marquee_wrap { animation-direction: reverse; }

/* Body is loaded */
body.is_loaded #slide img { transform: scale(1); opacity: 1; transition-delay: 1s; }
body.is_loaded #slide .marquee_main { opacity: 1; transition-delay: 2s; }

@-webkit-keyframes animate-marquee {
	0% { transform: translateX(0%) translateZ(0); }
	100% { transform: translateX(-100%) translateZ(0); }
}

@keyframes animate-marquee { 
	0% { transform: translateX(0%) translateZ(0); }
	100% { transform: translateX(-100%) translateZ(0); }
}


/*
-------------
	INTRO
-------------	
*/
#intro { padding: 100px 0; font-size: clamp(24px, 4.5vw, 60px); text-align: center; color: var(--color-dark); line-height: 100%; }
#intro .intro-text { line-height: normal; display: inline; position: relative; z-index: 0; }
#intro .intro-img { width: auto; max-width: 90px; height: auto; max-height: 90px; margin: 0 5px; display: inline-block; vertical-align: middle; position: relative; z-index: -1; border-radius: 5px; }
#intro .intro-img:nth-child(1) { transform: rotate(5deg); }
#intro .intro-img:nth-child(2) { margin-right: 20px; transform: rotate(-5deg); }

.waypoint { opacity: 0; transform: translateY(60px) scale(0.5); transition: all 5s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
.waypoint.visible { opacity: 1; transform: translateY(0) scale(1); }


/*
----------------------
	MARKETING TEXT
----------------------
*/
.marketing_text { margin-bottom: 70px; }
.marketing_text p { margin-bottom: 20px; }


/*
-------------
	FOODS
-------------
*/
.food_category h2.food_category_title { width: max-content; margin: 0 auto 50px; padding: 0 30px; font-size: clamp(30px, 4vw, 50px); font-weight: 700; text-align: center; color: var(--color-olive); line-height: 100%; position: relative; z-index: 10; }
.food_category h2.food_category_title:before, 
.food_category h2.food_category_title:after { width: 10px; height: 10px; left: 0; top: 50%; background: var(--color-olive); position: absolute; content: ''; border-radius: 10px; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.food_category h2.food_category_title:after { left: auto; right: 0; }

.food_category ul.food_list { margin-left: 0 !important; margin-bottom: 50px; list-style: none !important; }
.food_category ul.food_list li.food_item { margin-bottom: 50px; display: flex; }

.food_category ul.food_list li.food_item .food_item_entry { width: 50%; padding: 20px 100px; text-align: center; display: flex; align-items: center; align-content: center; justify-content: center; }
.food_category ul.food_list li.food_item .food_item_entry h3 { margin-bottom: 20px; font-size: clamp(20px, 3vw, 30px); font-weight: 700; color: var(--color-dark); line-height: 100%; }
.food_category ul.food_list li.food_item .food_item_entry .price { margin-top: 30px; font-size: 20px; font-weight: 700; color: var(--color-dark); line-height: 100%; }

.food_category ul.food_list li.food_item .food_item_thumb { width: 50%; display: flex; align-items: center; justify-content: center; }
.food_category ul.food_list li.food_item .food_item_thumb img { width: 80%; height: auto; display: block; border-radius: 20px; }

.food_category ul.food_list li.food_item:nth-child(odd) .food_item_thumb img { -webkit-transform: rotate(-2deg); transform: rotate(-2deg); }
.food_category ul.food_list li.food_item:nth-child(even) .food_item_entry { order: 1; }
.food_category ul.food_list li.food_item:nth-child(even) .food_item_thumb { order: 2; }
.food_category ul.food_list li.food_item:nth-child(even) .food_item_thumb img { -webkit-transform: rotate(2deg); transform: rotate(2deg); }


/*
-----------------
	ALLERGENS
-----------------
*/
#allergens { padding: 100px 0; background: var(--color-dark-sand); }
#allergens .allergens_intro { max-width: 660px; margin-top: -20px; margin-bottom: 50px; text-align: center; }

#allergens h2 { width: max-content; margin: 0 auto 50px; padding: 0 30px; font-size: clamp(30px, 4vw, 50px); font-weight: 700; text-align: center; color: var(--color-olive); line-height: 100%; position: relative; z-index: 10; }
#allergens h2:before, 
#allergens h2:after { width: 10px; height: 10px; left: 0; top: 50%; background: var(--color-olive); position: absolute; content: ''; border-radius: 10px; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
#allergens h2:after { left: auto; right: 0; }

#allergens .allergens_wrap { display: flex; gap: 20px; }
#allergens .allergens_wrap .allergen_item { width: calc((100% - 80px) / 5); display: flex; align-items: center; }
#allergens .allergens_wrap .allergen_item img { width: 40px; height: auto; margin-right: 20px; display: block; }


/*
-------------------------
	ORDER RESERVATION
-------------------------
*/
#order_reservation { color: #FFFFFF; background-color: var(--color-dark); background-repeat: no-repeat; background-position: center; background-size: cover; }
#order_reservation a { text-decoration: underline; color: #FFFFFF; }
#order_reservation a:hover { text-decoration: none; }

#order_reservation .order_reservation_wrap { display: flex; align-items: center; align-content: center; }
#order_reservation .order_reservation_wrap > div { width: 50%; }
#order_reservation .order_reservation_wrap div.wrap_left { padding-left: calc((100% - 1400px) / 2); padding-right: 50px; }
#order_reservation .order_reservation_wrap .order_reservation_title { margin: 20px 0; font-size: clamp(20px, 4vw, 40px); line-height: 100%; }
#order_reservation .order_reservation_wrap .order_reservation_text { margin: 20px 0; }
#order_reservation .order_reservation_wrap .order_reservation_text p { margin-bottom: 20px; }
#order_reservation #map_canvas { height: 500px; }


/*
---------------
	CONTENT
---------------
*/
#container .section_title { }


/*
--------------
	FOOTER
--------------
*/
#footer { padding: 30px 0; font-size: 14px; color: rgba(255 255 255 / 70%); line-height: 20px; background: #000000; }
#footer .footer_wrap { display: flex; justify-content: center; }

#footer .contact_meta { display: flex; }
#footer .contact_meta > div { margin-right: 50px; }
#footer .contact_meta > div:last-child { margin-right: 0; }


/*
-----------------
	SCROLL UP
-----------------
*/
#scroll_up { width: 50px; height: 50px; right: 20px; bottom: 30px; background: var(--color-orange) url(images/icon-arrow-up-white.svg) no-repeat center / auto 20px; display: none; position: fixed; z-index: 10; cursor: pointer; border-radius: 50%; }
#scroll_up:hover { background-color: var(--color-dark); }


/*
------------
	FORM
------------
*/
.form_row { width: 100%; margin-bottom: 10px; position: relative; }
.form_row.form_row_first { width: calc(50% - 10px); }
.form_row.form_row_last { width: calc(50% - 10px); }

.form_row p { margin-bottom: 0 !important; display: flex; }
.form_row br { display: none !important; }
.form_row label { width: 100%; padding-top: 10px; font-size: 14px; display: block; }

.form_row .wpcf7-list-item { margin: 0; position: relative; }
.form_row .wpcf7-list-item label { top: auto; padding-left: 35px; line-height: 20px; display: block; position: relative; }
.form_row .wpcf7-list-item input[type=checkbox] { left: 0; top: 1px; position: absolute; }

.form_row select, 
.form_row textarea, 
.form_row input[type=tel], 
.form_row input[type=text], 
.form_row input[type=email], 
.form_row input[type=password] { width: 100%; height: 50px; padding-left: 10px; font-size: 16px; background: #FFFFFF; border: 1px solid var(--color-silver-line); outline: 2px solid transparent; outline-offset: 2px; border-radius: 3px; flex: 1; }

.form_row select:focus, 
.form_row textarea:focus, 
.form_row input[type=tel]:focus, 
.form_row input[type=text]:focus, 
.form_row input[type=email]:focus, 
.form_row input[type=password]:focus, 
.form_row select.filled, 
.form_row textarea.filled,
.form_row input[type=tel].filled, 
.form_row input[type=text].filled,
.form_row input[type=email].filled,
.form_row input[type=password].filled { background: #FFFFFF; outline-color: var(--color-text); }

.form_row textarea { min-height: 150px; padding: 10px; resize: vertical; }

.wpcf7 { margin-bottom: 30px; }
.wpcf7-form { display: flex; flex-wrap: wrap; justify-content: space-between; }
.wpcf7-acceptance label { font-weight: 400; text-transform: none; }
.wpcf7-form-control-wrap { flex: 1; }
.wpcf7-list-item label { width: 100%; padding-top: 0; font-size: 14px; }


/*
-------------------
	RWD DESIGN
-------------------
*/
@media only screen and (max-width: 1400px) { 

	/* DEFAULT */
	.p_l_20 { padding-left: 20px; }
	.p_r_20 { padding-right: 20px; }
	
	/* SLIDE */
	#slide { height: 80vh; }
	
	/* SLIDE: Marquee */
	#slide .marquee_main { left: 20px; right: 20px; }
	
	/* FOODS */
	.food_category ul.food_list li.food_item .food_item_entry { padding: 20px 50px; }
	
	/* ALLERGENS */
	#allergens .allergens_wrap .allergen_item { width: calc((100% - 60px) / 4); }
	
	/* ORDER RESERVATION */
	#order_reservation .order_reservation_wrap div.wrap_left { padding-left: 20px; }
}

@media only screen and (max-width: 960px) { 

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }

	/* HEADER */
	#header { width: auto; left: 20px; right: 20px; -webkit-transform: translateX(0); transform: translateX(0); }
	
	/* HEADER: Body is loaded */
	body.is_loaded #header { top: 20px; }
	
	/* SLIDE */
	#slide { height: 70vh; }
	#slide .marquee_main .marquee .marquee_wrap div { padding: 0 50px; }
	#slide .marquee_main .marquee .marquee_wrap div:after { width: 10px; height: 10px; }
	
	/* INTRO */
	#intro { padding: 50px 0; }
	#intro .intro-img { max-width: 60px; max-height: 60px; }
	
	/* FOODS */
	.food_category ul.food_list li.food_item .food_item_entry { width: 100%; padding: 20px; order: 2 !important; }
	.food_category ul.food_list li.food_item .food_item_thumb { width: 100%; order: 1 !important; }
	
	/* ALLERGENS */
	#allergens { padding: 50px 0; }
	#allergens .allergens_wrap .allergen_item { width: calc((100% - 40px) / 3); }
	
	/* ORDER RESERVATION */
	#order_reservation .order_reservation_wrap > div { width: 100%; }
	#order_reservation .order_reservation_wrap div.wrap_left { padding: 50px 20px; }
	#order_reservation #map_canvas { height: 400px; }
}

@media only screen and (max-width: 768px) { 

	/* ALLERGENS */
	#allergens .allergens_wrap .allergen_item { width: calc((100% - 20px) / 2); }
	
	/* ORDER RESERVATION */
	#order_reservation #map_canvas { height: 300px; }
}

@media only screen and (max-width: 480px) { 
	
	/* NAVIGATION: Contact */
	#rwd_menu .contact_wrap a { font-size: 14px; }
	
	/* INTRO */
	#intro .intro-img { max-width: 40px; max-height: 40px; }
	
	/* ALLERGENS */
	#allergens .allergens_wrap .allergen_item { width: 100%; }
}
