﻿/*
Theme Name: 360 Marketing
Theme URI: https://360-marketing.hu
Description: A 360 Marketing weboldal sablonja.
Author: 360 Marketing
Author URI: https://360-marketing.hu
Version: 2.0
*/

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

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

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

:root {
	--color-dark-blue: #131F2F;
	--color-brand: #287FAA;
	--color-brand-dark: #1F6589;
	--color-brand-deep: #08214E;
	--color-brand-light: #E8F2F8;
	--color-brand-tint: #F4F9FC;
	--color-ink: #0B1220;
	--color-ink-soft: #2A3340;
	--color-muted: #5B6B7E;
	--color-muted-soft: #8A98A8;
	--color-line: #E5E9EE;
	--color-line-soft: #EEF1F4;
	--color-bg-warm: #FAFAF7;
	--color-bg-cool: #F7F9FB;
	--color-accent-warm: #E8B756;
	--color-accent-mint: #7FC8A9;
	--color-accent-rose: #D98A8A;
	
	--font-size-h1: clamp(52px, 6vw, 64px);
	--font-size-h2: clamp(30px, 4vw, 40px);
	--font-size-h3: clamp(17px, 2vw, 19px);
}

body { margin: auto; font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 400; line-height: 1.7; background: var(--color-line); 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: 1200px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; position: relative; }
.inner.inner-960 { max-width: 960px; }
.clear { clear: both; }

.sec-font { font-family: 'DM Mono', sans-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; min-height: 44px; padding: 0 25px !important; font-size: 14px !important; font-weight: 500; text-decoration: none !important; color: #FFFFFF !important; line-height: 100% !important; background: var(--color-brand) !important; display: inline-flex; align-content: center; justify-content: center; position: relative; border-radius: 22px !important; cursor: pointer; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover { background: var(--color-brand-dark) !important; }

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

.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: 1440px; min-height: 100vh; margin: auto; background: #FFFFFF; position: relative; box-shadow: rgba(11 18 32 / 0.14) 0px 0px 60px; }


/*
----------------------
	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 { top: 0; font-size: 14px; position: sticky; z-index: 10; }

/* Header Top */
#header .header-top { height: 90px; background: pink; }
#header .header-top .header-top-wrapper { height: 100%; display: flex; align-items: center; justify-content: space-between; }
#header .header-top .phone__contact-button { display: flex; align-items: center; gap: 20px; position: relative; z-index: 2; }
#header .header-top ul { width: 100%; left: 0; top: 50%; display: flex; justify-content: center; gap: 30px; position: absolute; z-index: 1; list-style: none; -webkit-transform: translateY(-50%); transform: translateY(-50%); }

/* Logo */
#header .logo { height: 30px; display: flex; align-items: center; position: relative; z-index: 2; }
#header .logo img { height: 30px; display: block; }

/* Header Bottom */
#header .header-bottom { height: 60px; background: rgb(250 250 247); border-top: 1px solid rgb(229 233 238); border-bottom: 1px solid rgb(229 233 238); }
#header .header-bottom .header-bottom-wrapper { height: 100%; display: flex; align-items: center; }
#header .header-bottom ul { display: flex; justify-content: center; gap: 30px; list-style: none; }


.mega-dropdown {
    position: absolute;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    border-radius: 12px;
    padding: 24px;
    display: none;
}
li:hover > .mega-dropdown { display: block; }

.mega-dropdown-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.menu-item-description {
    color: #555;
    font-size: 14px;
    margin-top: 8px;
}


/* Menu */
#header ul.menu li a { font-size: 16px; }
#header ul.menu li.current-menu-item a { text-decoration: underline; color: var(--color-gold); }
#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-gold) !important; position: absolute; z-index: 2; }
#header .button-contact:hover { background: var(--color-dark-blue) !important; }

/* RWD button */
#header .rwd-button { height: 50px; right: 20px; padding: 0 15px 0 55px; font-size: 16px; color: #FFFFFF; background: var(--color-gold); 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 .slide-wrapper .block-right img { width: 100%; height: 100%; display: block; position: absolute; object-fit: cover; object-position: top center; }



/*
------------
	BLOG
------------
*/
#blog { padding: 100px 0; }
#blog h2 { margin-bottom: 50px; font-size: var(--font-size-h2); line-height: 100%; }

.blog-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.blog-list .blog-item { background: var(--color-silver); }
.blog-list .blog-item .thumbnail { display: block; }
.blog-list .blog-item .thumbnail img { width: 100%; height: auto; display: block; }
.blog-list .blog-item .entry { padding: 20px 30px; }
.blog-list .blog-item .entry h3 a { font-size: var(--font-size-h3); text-decoration: none !important; color: #000000 !important; line-height: 100%; }
.blog-list .blog-item .entry h3 a:hover { text-decoration: underline !important; }
.blog-list .blog-item .entry .datetime { margin-bottom: 20px; font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--color-gold); line-height: 100%; display: flex; align-items: center; gap: 20px; }
.blog-list .blog-item .entry .datetime::after { flex: 1; height: 1px; background: var(--color-gold); content: ''; }
.blog-list .blog-item .entry .excerpt { margin-top: 10px; font-size: 16px; line-height: 25px; }
.blog-list .blog-item .entry .excerpt p { margin-bottom: 0 !important; }


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


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

/* Single Post */
#content .single-grid-layout { display: grid; grid-template-columns: 280px minmax(0, 960px); gap: 70px; }
#content .single-grid-layout .grid-aside { height: fit-content; top: 20px; position: sticky; }
#content .single-grid-layout .grid-aside .share { margin-top: 20px; display: flex; gap: 10px; }
#content .single-grid-layout .grid-aside .share label { width: 100%; font-size: 16px; font-weight: 700; }

#content .single-grid-layout .grid-aside .share a, 
#content .single-grid-layout .grid-aside .share button { width: 50px; height: 50px; text-decoration: none !important; color: #FFFFFF !important; background: var(--color-gold); border: none !important; display: flex; align-items: center; justify-content: center; border-radius: 5px; cursor: pointer; -webkit-transition: 0.2s; transition: 0.2s; }
#content .single-grid-layout .grid-aside .share a:hover, 
#content .single-grid-layout .grid-aside .share button:hover { background: var(--color-dark); }

#content .single-grid-layout .grid-aside .share i { font-size: 16px; }

/* Reading Time */
#content .reading-time { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--color-gold); line-height: 1; letter-spacing: 0.02em; background-color: color-mix(in srgb, var(--color-gold) 7%, #FFFFFF 93%); border: 1px solid var(--color-gold); border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
#content .reading-time::before { width: 7px; height: 7px; background: var(--color-gold); border-radius: 50%; content: ""; }

/* 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-gold) 7%, #FFFFFF 93%); border-left: 4px solid var(--color-gold); position: relative; border-radius: 5px; }
#content blockquote::before { left: 20px; top: 5px; font-family: 'Playfair Display', serif; font-size: 80px; color: var(--color-gold); 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-gold); border-color: var(--color-gold); }

/* CTA */
#content .cta-box { margin: 50px 0; padding: 30px; background-color: color-mix(in srgb, var(--color-gold) 7%, #FFFFFF 93%); border: 1px solid var(--color-gold); 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-gold) 7%, #FFFFFF 93%); border-bottom: 10px solid var(--color-gold); }
#content .contact-wrapper .contact-meta-wrapper { border-top: 1px solid var(--color-gold); }
#content .contact-wrapper .contact-meta-wrapper .meta { padding: 10px 0; border-bottom: 1px solid var(--color-gold); 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-gold); 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-gold); }

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

}
