/*
Theme Name: Budusan Redesign
Theme URI: http://www.webdesign-galaxy.ro
*/

@import "fontawesome-free-6.7.2-web/css/all.css";

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3 {color:rgb(117, 51, 81);text-transform:uppercase;
    font-family: "Playfair", serif;
    transform-origin: center left;
}
h1 {font-size:38px;line-height:1.1em;transform: scale(.8, 1);font-weight:normal;margin:0.4lh 0}
h2 {transform: scale(.9, 1);font-weight:lighter;}
p {font-family: Poppins, sans-serif;font-size:calc(15px + 0.1vw);
  line-height: 1.5em;
  margin-bottom: 0.5lh;
  font-weight: 500;}
.contactbox {background:#FFF;border-radius:18px;padding:30px;
padding-top:calc(45px + 0.5vw);padding-bottom:calc(45px + 0.5vw);
margin-top:calc(45px + 0.5vw);margin-bottom:calc(45px + 0.5vw);
-webkit-box-shadow: -1px 0px 17px -1px rgba(0,0,0,0.1);
-moz-box-shadow: -1px 0px 17px -1px rgba(0,0,0,0.1);
box-shadow: -1px 0px 17px -1px rgba(0,0,0,0.1);
border:solid 1px #FFF;
}
.contactbox span {color:rgb(117, 51, 81);line-height:calc(32px + 0.5vw);font-weight:bold;}
.contactbox:hover {border:solid 1px #CCCCCC;}
.contactbox a {color:rgb(117, 51, 81);}
.contactbox a:hover {opacity:0.8;}


:root{
    --purple: #733250;
}

@font-face {
  font-family: 'fontello';
  font-display: fallback;
  font-style: normal;
  font-weight: 400;
  src: url('fonts/fontello.woff2') format('woff2');
}

@font-face {
  font-family: 'PlayfairDisplay';
  font-display: fallback;
  font-style: normal;
  font-weight: 400;
  src: url('fonts/PlayfairDisplay.ttf') format('ttf');
}

ul{
    padding-left: 1em;
}

.icon-whatsapp:after {
	content:"";
	display:inline-block;
	width:45px;
	height:45px;
	line-height:45px;
	font-family:fontello;
	font-size: calc(26px + 1vw);
	text-align:center;
	border-radius:3px;
}

.icon-whatsapp:hover {cursor:pointer;opacity:0.8;}

body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
    max-width: min(1200px,100vw);
    margin: 0 auto;
    margin-top: calc(32px + 14vh);
    padding: 0 15px;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

@media (width<=800px){
    body{
	padding: 0 20px;
	margin-top: var(--wp-admin--admin-bar--height,0px);
    }
}

a {
    text-decoration: none;
    color: inherit;
}
.navbar {
    display: flex;
    position: fixed;
    top:var(--wp-admin--admin-bar--height,0);
    left: 0;
    z-index: 1;
    width:100vw;
    color: var(--purple);
    background-color: white;
    padding: 0 calc(1em + max(0em, calc(50vw - 600px)));
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

.navbar.scrolled-to-top {
    color: white;
    background-color: transparent;
}
.navbar.scrolled-to-top img {
    box-sizing: border-box;
}

.navbar>span {
    display: flex;
    flex-wrap:wrap;
    justify-content: right;
    align-items: baseline;
    width: 100%;
    margin: auto;
}

.navbar li {
    display: inline-block;
}
.navbar span>ul>li{
    padding: 13px 20px;
}

.navbar .lang-item img{
    margin: 1em;
}

.navbar li.lang-item {
    order: 1;
    display: none;
}

.navbar li.lang-item.current-lang {
    order: 0;
    display: block;
    padding: 0 40px 0 10px;
}

.navbar div:has(.lang-item) {
    min-width: 10em;
    min-height: 1lh;
    margin-left: 1em;
}

.navbar div:has(.lang-item) ul::after {
    content: "˅";
    transform: scaleX(200%) scale(75%);
    position: absolute;
    right: 15px;
    width: 1em;
    text-align: center;
    font-family: arial, sans-serif;
    top: 0.3lh;
}

.navbar div:has(.lang-item) ul {
    position: absolute;
    top: inherit;
    flex-direction: column;
    display: flex;
}

.navbar div:has(.lang-item) ul:hover::after {
    color: var(--purple);
}
.navbar div:has(.lang-item) ul:hover {
    border-radius: 0 0 20px 20px;
    background-color: white;
    color: var(--purple);
}
.navbar ul{
    padding-left:0;
    background: white;
}
.navbar.scrolled-to-top ul {
    background-color: transparent;
}
.navbar ul:has(.lang-item):hover li.lang-item:not(.current-lang) {
    display: block;
    padding: 13px 40px 13px 10px;
}

.navbar li.menu-item-has-children {
    position: relative;
}

.navbar li.menu-item-has-children::after {
    content: "˅";
    position: absolute;
    right: 0;
    top: 13px;
    font-family: arial, sans-serif;
    transform: scaleX(200%) scale(75%);
    z-index:1;
}

.navbar li.menu-item-has-children:hover ul {
    display: flex;
}

.navbar li.menu-item-has-children ul li a{
    display: inline-block;
    width: 100%;
    padding: 13px 20px;
}
.navbar li.menu-item-has-children ul{
    position: absolute;
    display: none;
    top: inherit;
    flex-direction: column;
    color: var(--purple);
    background-color: white;
    padding: 0 20px;
    border-radius: 0 0 20px 20px;
    width: 300%;
}

.navbar a img {
    vertical-align: middle;
    margin: 1em -10px;
    max-height: calc(14vh - 2em);
}

.footer-column img {
    max-width: 200px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.navbar>span>ul {
    display: flex;
    transition: color 0.3s;
}

.navbar>span>ul a {
    padding: 5px;
}

.navbar>span>ul a:hover {
    color: #d3a46c;
}

.btn {
    display: inline-block;
    padding: 0.5lh 1lh;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--purple);
    color: white;
    border: none;
}

.btn:hover{
    background-color: color(
        from var(--purple)
        srgb calc(r * 1.5) calc(g * 1.5) calc(b * 1.5)
    );
}

.contact-btn .btn{
    padding: 0.4lh 0.8lh;
    margin: 0.5em;
}

.contact-btn{
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.whatsapp{
    background-image: radial-gradient(at center center, #25D366 0%, #128C7E 100%);
}

.btn-primary {
    font-size: 18px;
    font-weight: 300;
    font-family: "Poppins", Sans-serif;
    margin-top: 3em;
    transition: all 0.3s;
}

.btn-primary:hover{
    margin-top: 2em;
    margin-bottom: 1em;
    padding-right: 2em;
}

.btn-primary::after{
    content: "➔";
    position: relative;
    transition: all 0.3s;
    left: 0;
}

.btn-primary:hover::after{
    left: 1em;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 10px;
}

.boxshadow {
    max-width: 800px;
    margin: 25px auto;
 /*   text-align: center;*/
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.4s all;
}

.boxshadow:hover {
    box-shadow: 0 0 20px #733250;
}

.mainpblock{
    padding: 2em min(7em,5vw) ;
    margin-bottom: 4em;
    border-radius: 3em;
}

h2 {
    font-family: "Poppins", sans-serif;
    font-size: 35px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
    justify-items: stretch;
    justify-content: center;
}
@media (width>=800px){
    .team-item:nth-last-child(1):nth-child(4n+1){
	grid-column: 1 / span 4;
    }
    .team-item:nth-last-child(1):nth-child(4n+2){
	grid-column: 3;
    }
    .team-item:nth-last-child(2):nth-child(4n+1){
	grid-column: 2;
    }
    .team-item:nth-last-child(2):nth-child(4n+2){
	grid-column: 2 / span 2;
    }
}
.team-areas{
    margin: 2lh auto;
    max-width: max(70vw,min(100vw, 500px));
    text-align: center;
}

.team-item {
    margin-top: 1lh;
    text-align: center;
}

.team-item h3{
    color: var(--purple);
    font-family: "Playfair";
    font-weight: 300;
    text-transform: none;
    font-size: 22px;
}

.team-item h4{
    font-size: 15px;
    font-weight: 300;
}

.team-item div{
    transform: translateY(0);
    transition: all 0.3s;
    font-size: 1.5rem;
}
.team-item:hover div{
    transform: translateY(-10px);
}

.team-item span {
    border-radius: 50%;
    overflow: hidden;
    display: block;
    max-width: 200px;
    aspect-ratio: 1;
    margin: 0 auto 15px;
}

.team-item img {
    width: 200px;
    max-width: calc(50vw - 20px);
    aspect-ratio: 1;
    transform: scale(1);
    transition: 0.3s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-position {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    color: var(--purple);
    transform: translateY(-10px);
}
/* Footer */
footer {
    background-color: #202226;
    color: white;
    padding: 4rem 2rem;
    width: 100%;
    position: absolute;
    left:0;
    font-family: "Poppins", sans-serif;
}

footer h3{
    font-family: "Poppins", sans-serif;
}

.footerkozep {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footerlinkek {
    list-style: none;
}

.footerlinkek li {
    margin-bottom: 10px;
}

.footerlinkek a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s;
}

.footerlinkek a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.hamburger, #navbar-toggle{
    display: none;
}

.mobile-lang{
    display: none;
}

@media screen and (width<800px) {
    .hamburger{
        display: flex;
        flex-direction: column;
        gap:5px;
        position: sticky;
        top: var(--wp-admin--admin-bar--height,46px);
        align-items: flex-end;
        padding: 5px;
        cursor: pointer;
	z-index: 1;
	margin-left: calc(100% - 43px);
	background-color: white;
	border-radius: 10px;
    }

    .hamburger span{
        height: 0;
        width: 32px;
        border: 2px solid;
    }

    .navbar{
        display: none;
    }

    body:has(#navbar-toggle:checked) .navbar{
        margin-top: calc(1lh + 10px);
        display: flex;
        flex-direction: column;
        background-color: white;
        color: var(--purple);
        border: 2px solid var(--purple);
        border-radius: 20px;
        max-width: 100vw;
	top: 50px;
    }
    body:has(#navbar-toggle:checked) .navbar *{
        flex-direction: column;
        position: static;
        width: auto;
    }
    body:has(#navbar-toggle:checked) .navbar li.menu-item-has-children ul{
        display: flex;
        padding: 0;
    }

    body:has(#navbar-toggle:checked) .navbar li.menu-item-has-children>a{
        font-weight: bold;
    }
    body:has(#navbar-toggle:checked) .navbar li.menu-item-has-children ul li{
        padding: 0;
    }

    .navbar li.menu-item-has-children>label{
	padding: 5px;
    }

    .navbar li.menu-item-has-children>label:has(>input)::after{
	content: "▼";
	transition: transform 0.3s ease;
	transform: rotate(-90deg);
	display: inline-block;
	position: static;
	margin: 0 1em;
	font-size: 0.8rem;
    }

    .navbar > span {
	margin: 0;
    }

    .navbar li.menu-item-has-children>label:has(>input:checked)::after{
	transform: rotate(0deg);
    }

    body:has(#navbar-toggle:checked) .navbar li.menu-item-has-children:has(>label>input)>ul{
	display: none;
    }

    body:has(#navbar-toggle:checked) .navbar li.menu-item-has-children:has(>label>input:checked)>ul{
	display: flex;
    }

    .navbar *::after{
        display: none;
    }

    .mobile-lang{
        display: initial;
    }
    .mobile-lang select{
        background-color: transparent;
        padding: 13px 20px;
        border: none;
        font-size: inherit;
        font-family: inherit;
        color: inherit;
    }
    .desktop-lang{
        display: none;
    }

    .team-grid{
	grid-template-columns: repeat(2, 1fr);
    }

    .team-item:nth-last-child(1):nth-child(2n+1){
	grid-column: 1 / span 2;
    }
}
.tenlogo {color:#FFF;margin:10px auto;background-image:url('img/icons2.png');background-position:0px 72px;height:70px;width:108px;}
.tenlogo:hover {opacity:0.5;}
.tenlogolink {display:block;width:90%;height:90%;}

/* Footer Styles */
.site-footer {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 4rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: min(1200px,100vw);
    margin: 0 auto;
    gap: 2rem;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Links Styling */
.footer-links,
.footer-policy-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-policy-links li {
    margin-bottom: 0.5rem;
}

footer li ul{
    list-style: none;
}

.footer-links li::before,
.footer-policy-links li::before {
    content: '→';
    display: inline-block;
    transform: scaleY(1.7);
    margin-right: 10px;
}


.footer-links a,
.footer-policy-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-policy-links a:hover {
    color: #ffffff;
}

/* Contact Info Styling */
.contact-info a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffffff;
}

/* Social Links Styling */
.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.social-icon {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffffff;
}

/* Footer Bottom Styling */
.footer-bottom {
    border-top: 1px solid #3c3c3c;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.ten-membership {
    margin-bottom: 1rem;
}

.ten-membership a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ten-membership a:hover {
    color: #ffffff;
}

.copyright {
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
	
	iframe {margin-left:20px;margin-right:20px;}
	#contact {width:100%;display:block;}
	textarea {max-width:100%;}
	input[type=text], input[type=email], input[type=tel] {max-width:100%;}
}

/* CONTACT FORM RELATED Minden eszkoz*/
.wpcf7-form {color:#51213d;}
input[type=text], input[type=email], input[type=tel], textarea {font-family:Poppins, sans-serif;  padding: 10px 20px;
border:
1px solid #ccc;
border-radius:
20px;
}

.urlap {width:90%;border:solid 10px #753351;
border-radius: 30px 29px 170px 0px;border-top:0px;padding:30px;margin:0px auto;display:block;margin-bottom:30px;}

input::placeholder, textarea {
font-family:Poppins, sans-serif;
font-weight: bold;
color:#333;
font-size:16px;
}
input[type=submit] {background-color:#733254;color:#FFF;border-radius: 30px 30px 30px 0;padding: 12px 30px;border-width:0px;margin-bottom:20px;margin-top:20px;
font-family:Poppins, sans-serif;
font-weight: bold;}
input[type=submit]:hover {cursor:pointer;opacity:0.8;}
/* CONTACT FORM RELATED END */


@media (min-width: 769px) {
#contactinfo {display:flex;flex-wrap:nowrap;justify-content:space-between;gap: 1em;}
.contactbox {min-width:30%;}
#contact {display:flex;font-family:Poppins, sans-serif;}
.contactszoveg {display:inline-block;width:50%;}


.urlap {width:50%;display:flex;border-top:0px;padding:30px;margin-bottom:30px;}
.urlap p:nth-child(2), .urlap p:nth-child(3), .urlap p:nth-child(4) {width:28%;display:inline-block;}
textarea {max-width:80%;max-height:120px;}


input[type=text], input[type=tel], input[type=email] {max-width:90%;margin-right:1%;display:inline-block;}

}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
}

/*
 * Category: dictionar
 */

.dictionary-letters {
	position:fixed;
	right: max(calc((100vw - 1024px) / 2),4vw);
	top: calc(100px + 5vw);
	display:flex;
	flex-wrap:wrap;
	width: 20vw;
	font-size: calc(2vh + 2vw);
	background-color: white;
	border-radius: 20px;
}

.dictionary-letters a {
	transition: all 0.2s ease;
	display: block;
	width: 1em;
	margin: 0.25em;
	text-align: center;
	border-radius: 10px;
	border: 3px solid #e3e3e3;
	background-color: #e3e3e3;
}

.dictionary-letters a:hover {
	border: 3px solid #aeaeae;
	background-color: #eeeeee;
}

.dict-entries h2 {
	padding-top: 75px;
}


