﻿/*
Theme Name: Üllői Bécsiszelet Vendéglő
Theme URI: https://ulloibecsiszelet.hu
Description: Üllői Bécsiszelet Vendéglő weboldalának 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-italic.woff2") format('woff2');
	font-weight: 400; 
	font-style: italic;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'DM Sans'; 
	src: url("fonts/dm-sans-medium.woff2") format('woff2');
	font-weight: 500; 
	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;
}

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

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

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

:root {
	--color-burgundy: #4B1007;
	--color-dark: #131F2F;
	--color-border: #E2EAEA;
	--color-silver: #F9F9F9;
	--color-peach: #EAD3BC;
	--color-green: #006451;
	--color-red: #8B1E1E;
	
	--font-size-h2: clamp(26px, 3.5vw, 48px);
	--font-size-h3: clamp(22px, 3vw, 28px);
}

body { margin: auto; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 400; line-height: 30px; 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; }

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: 2px solid var(--color-border); }
h1, h2, h3, h4 { font-weight: normal; }

.inner { max-width: 1400px; margin-left: auto; margin-right: auto; position: relative; }
.inner.inner-960 { max-width: 960px; }
.clear { clear: both; }

.sec-font { font-family: 'Playfair Display', serif; }
.center { text-align: center; }
.uppercase { text-transform: uppercase; }

.vertical-middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.hide { display: none !important; }
.red { color: var(--color-red); }

/* Button */
.button { width: fit-content; height: 60px !important; padding: 0 30px !important; font-size: 16px !important; font-weight: 700; text-decoration: none !important; color: #FFFFFF !important; line-height: 20px !important; background: var(--color-dark) !important; display: inline-flex; align-content: center; justify-content: center; position: relative; border-radius: 5px !important; cursor: pointer; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover { background: var(--color-burgundy) !important; }

.button.button-outline { background-color: #FFFFFF !important; border: 1px solid var(--color-burgundy); }

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

/* 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); }

.waypoint.fade_up { opacity: 0%; transform: translateY(50px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.waypoint.visible.fade_up { opacity: 100%; transform: translateY(0); }

/* 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; border: 1px solid var(--color-border); clear: none; cursor: poInter; display: inline-block; line-height: 0; outline: 0; vertical-align: middle !important; -webkit-appearance: none; -webkit-box-shadow: none; box-shadow: none; -webkit-border-radius: 5px; border-radius: 5px; }
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 { background: var(--color-green); border-color: var(--color-green); }
input[type="checkbox"]:checked:before { width: 100%; height: 100%; left: 0; top: 0; color: #FFFFFF; position: relative; display: flex; align-items: center; justify-content: center; content: '✓'; }

/* Website */
#website { max-width: 1920px; min-height: 100vh; margin: auto; background: #FFFFFF; position: relative; }
body.post-type-archive-testimonial #website { background: var(--color-linen); }


/*
----------------------
	ROTATE WARNING
----------------------
*/
.rotate-warning { width: 100%; height: 100%; inset: 0; padding: 20px; font-size: 18px; line-height: 25px; text-align: center; background: var(--color-ivory); display: none; align-items: center; align-content: center; justify-content: center; position: fixed; z-index: 100000; }
.rotate-warning img { width: auto; height: 60px; display: block; }
.rotate-warning .rotate-warning-img { width: 100%; margin-bottom: 20px; display: flex; justify-content: center; }
.rotate-warning .rotate-warning-text { max-width: 400px; margin: auto; }


/*
---------------------------
	WAYPOINT ANIMATIONS
---------------------------
*/
.animate-up { opacity: 0; transform: translateY(50px); transition: opacity 1s ease-out, transform 1s ease-out; }
.animate-up.in-view { opacity: 100%; transform: translateY(0); }


/*
------------------
	NAVIGATION
------------------
*/
#rwd_menu { left: 10px; top: 80px; right: 0; bottom: 0; padding: 20px; background: #FFFFFF; position: fixed; z-index: 1000; visibility: hidden; opacity: 0%; }

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

/* Menu */
#rwd_menu ul.menu { list-style: none; }
#rwd_menu ul.menu li { margin: 5px 0; }
#rwd_menu ul.menu li a { font-size: 18px; text-decoration: none; color: var(--color-dark); line-height: 100%; display: block; }
#rwd_menu ul.menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* Primary Menu */
#rwd_menu ul.menu.primary_menu li { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--color-border); }
#rwd_menu ul.menu.primary_menu li a { font-size: 20px; font-weight: 700; }

/* Useful info */
#rwd_menu ul.menu.useful_info { margin-left: 20px; list-style: disc; }
#rwd_menu ul.menu.useful_info li { margin: 5px 0; }

/* Action button */
#rwd_menu .action_button .button { background-color: #000000 !important; }

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


/*
--------------
	HEADER
--------------
*/
#header { height: 100px; background: var(--color-silver); }
#header .header-wrapper { height: 100%; }

/* Logo */
#header .logo { height: 50px; left: 0; display: flex; align-items: center; gap: 10px; position: absolute; z-index: 2; }
#header .logo img { height: 50px; }
#header .logo h1 { font-size: 24px; text-transform: uppercase; line-height: 130%; }
#header .logo .logo-meta { font-size: 11px; font-weight: 500; text-transform: uppercase; line-height: 130%; display: flex; align-items: center; gap: 4px; }
#header .logo .logo-meta span { font-size: 14px; color: var(--color-burgundy); }

/* Menu */
#header ul.menu { width: 100%; left: 0; display: flex; justify-content: center; gap: 30px; position: absolute; z-index: 1; list-style: none; }
#header ul.menu li a { font-size: 16px; font-weight: 700; }
#header ul.menu li.current-menu-item a { text-decoration: underline; color: var(--color-burgundy); }
#header ul.menu li.hide-in-menu { display: none; }

/* Contact button */
#header .button-contact { height: 40px !important; right: 0; padding: 0 20px !important; background: var(--color-burgundy) !important; position: absolute; z-index: 2; }
#header .button-contact:hover { background: var(--color-burgundy) !important; }

/* RWD button */
#header .rwd-button { height: 50px; right: 20px; padding: 0 15px 0 55px; font-size: 16px; color: #FFFFFF; background: var(--color-burgundy); align-items: center; position: absolute; border-radius: 5px; cursor: pointer; }
#header .rwd-button .burg { width: 30px; top: calc(50% - 2px); left: 15px; 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); }


/*
-------------
	SLIDE
-------------
*/
#slide { max-height: calc(100vh - 100px); background: var(--color-silver); position: relative; }
#slide::before { padding-top: 55%; display: block; content: ''; }
#slide .slide-wrapper { inset: 0; width: 100%; height: 100%; display: flex; position: absolute; }
#slide .slide-wrapper .block h1 { font-size: var(--font-size-h2); line-height: 120%; }

#slide .slide-wrapper .block-left { width: 55%; padding-left: calc((100% - 1400px) / 2); padding-right: 70px; display: flex; justify-content: center; flex-direction: column; gap: 30px; position: relative; }
#slide .slide-wrapper .block-left::before { width: 100%; left: 0; top: 70px; border-bottom: 1px solid var(--color-border); position: absolute; content: ''; }
#slide .slide-wrapper .block-left .action-buttons { display: flex; gap: 10px; }

#slide .slide-wrapper .block-left .usp-wrapper { padding-top: 20px; border-top: 1px solid var(--color-border); display: flex; }
#slide .slide-wrapper .block-left .usp-wrapper .usp-item { width: 33.333333%; }
#slide .slide-wrapper .block-left .usp-wrapper .usp-item .value { font-size: 28px; color: var(--color-burgundy); line-height: 100%; }
#slide .slide-wrapper .block-left .usp-wrapper .usp-item .title { margin-top: 10px; font-size: 11px; font-weight: 500; text-transform: uppercase; line-height: 100%; }

#slide .slide-wrapper .block-right { width: 45%; position: relative; overflow: hidden; }
#slide .slide-wrapper .block-right img { width: 100%; height: 100%; display: block; position: absolute; object-fit: cover; object-position: top center; }


/*
---------------
	SECTION
---------------
*/
.section .subtitle { width: fit-content; height: 30px; margin-bottom: 20px; padding: 0 20px; font-size: 11px; font-weight: 500; text-transform: uppercase; color: #FFFFFF; line-height: 12px; background: var(--color-burgundy); display: flex; align-items: center; border-radius: 15px; }



/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before-content { height: 300px; background: var(--color-silver); }
#before-content h1 { font-size: var(--font-size-h2); line-height: 100%; }

#before-content .before-content-wrapper { height: 100%; display: flex; }
#before-content .before-content-wrapper .block-left { width: 50%; padding-left: calc((100% - 1400px) / 2); padding-right: 50px; padding-bottom: 50px; display: flex; justify-content: end; flex-direction: column; gap: 20px; position: relative; }
#before-content .before-content-wrapper .block-left::before { width: 100%; left: 0; top: 50px; border-bottom: 1px solid var(--color-border); position: absolute; content: ''; }
#before-content .before-content-wrapper .block-right { width: 50%; position: relative; overflow: hidden; }
#before-content .before-content-wrapper .block-right img { width: 100%; height: 100%; display: block; position: absolute; object-fit: cover; object-position: center; }

.rank-math-breadcrumb { font-size: 14px; line-height: 20px; }
.rank-math-breadcrumb p { margin-bottom: 0 !important; }
.rank-math-breadcrumb a { text-decoration: underline; color: var(--color-dark); }
.rank-math-breadcrumb a:hover { color: var(--color-burgundy); }


/*
---------------
	CONTENT
---------------
*/
#content { padding: 50px 0; }
body.page-template-contact #content { padding: 0; }

#content h3 { margin-bottom: 20px; font-size: var(--font-size-h3); line-height: 100%; }
#content h1 { margin-bottom: 30px; font-size: var(--font-size-h2); line-height: 100%; }

#content p { margin-bottom: 30px; }
#content a { text-decoration: underline; color: var(--color-dark); }
#content a:hover { text-decoration: none; }

#content ul { margin-bottom: 30px; margin-left: 30px; }

/* Blockquote */
#content blockquote { margin: 50px 0; padding: 40px 40px 40px 60px; font-size: 22px; font-weight: 500; color: var(--color-dark); line-height: 1.5; background-color: color-mix(in srgb, var(--color-burgundy) 7%, #FFFFFF 93%); border-left: 4px solid var(--color-burgundy); position: relative; border-radius: 5px; }
#content blockquote::before { left: 20px; top: 5px; font-family: 'Playfair Display', serif; font-size: 80px; color: var(--color-burgundy); position: absolute; opacity: 0.3; content: "“"; }
#content blockquote p:last-child { margin-bottom: 0 !important; }

/* Pagination */
#content .pagination { margin-top: 40px; display: flex; gap: 8px; }
#content .pagination a,
#content .pagination span { padding: 8px 14px; text-decoration: none; border: 1px solid var(--color-border); }
#content .pagination .current { color: #FFFFFF; background: var(--color-burgundy); border-color: var(--color-burgundy); }

/* CTA */
#content .cta-box { margin: 50px 0; padding: 30px; background-color: color-mix(in srgb, var(--color-burgundy) 7%, #FFFFFF 93%); border: 1px solid var(--color-burgundy); border-radius: 5px; }

/* Contact */
#content .contact-wrapper { display: flex; }
#content .contact-wrapper .block-left { width: 50%; padding: 50px 0; padding-left: calc((100% - 1400px) / 2); padding-right: 70px; }
#content .contact-wrapper .block-right { width: 50%; padding: 50px 0; padding-left: 70px; padding-right: calc((100% - 1400px) / 2); background-color: color-mix(in srgb, var(--color-burgundy) 7%, #FFFFFF 93%); border-bottom: 10px solid var(--color-burgundy); }
#content .contact-wrapper .contact-meta-wrapper { border-top: 1px solid var(--color-burgundy); }
#content .contact-wrapper .contact-meta-wrapper .meta { padding: 10px 0; border-bottom: 1px solid var(--color-burgundy); display: flex; align-items: center; gap: 10px; }
#content .contact-wrapper .contact-meta-wrapper .meta i { width: 40px; height: 40px; font-size: 16px; color: #FFFFFF; background: var(--color-burgundy); display: flex; align-items: center; justify-content: center; border-radius: 50%; }


/*
--------------
	FOOTER
--------------
*/
#footer {  } 



/*
-----------------
	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
------------
*/
.wpcf7_wrap { margin-top: 50px; margin-bottom: -50px; padding: 50px 0; background: var(--color-linen); }
.wpcf7_wrap p { width: 100%; margin-bottom: 20px !important; }
.wpcf7_wrap h3 { width: 100%; margin-bottom: 30px; }

.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; font-weight: 700; 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 rgba(0 0 0 / 0.3); outline: 2px solid transparent; outline-offset: 2px; border-radius: 5px; 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 { background: #FFFFFF; outline-color: var(--color-burgundy); }

.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; }

}
