/*
 Theme Name:   BTecno Child Theme
 Description:  BTecno Child Theme
 Author:       BTecno Srl
 Template:     btecno-main
 Text Domain:  btecno
*/

/* 
All style editing is done via scss/_btecno_custom.scss
*/


:root {
	--coloreVerde: #97bf4e;
	--coloreGrigio: #F2F4F3;
	--coloreTesti: var(--coloreGrigio);
	--coloreBordi: #22262a;
	--fontRegular: "Inter", sans-serif;
	--fontConsole: "JetBrains Mono", monospace;
	--bs-body-color: #e6e5e6;
	--bs-body-font-weight: 300;
	--bs-body-bg: #0A0F12;
	--bg-card: #121B20;
	--bs-font-sans-serif: var(--fontRegular);
	--padding-sezione: 75px 15px;
	--padding-left: 75px;
	--padding-right: 75px;
	--wc-form-border-radius: 25px;
	--wc-form-border-color: var(--coloreTesti);
}


/* UTILITY CSS */

.fontRegular {
	font-family: var(--fontRegular);
}
.fontConsole, .console, code, pre, .menu-console {
	font-family: var(--fontConsole);
}
.pointer {
	cursor: pointer;
}
.container-fluid {
    padding-left: var(--padding-left);
    padding-right: var(--padding-right);
}
.paddingSezione {
	padding: var(--padding-sezione);
}
.sezionePagina {
	margin: 50px 0;
}
.coloreTesti {
	color: var(--coloreTesti) !important;
}
.coloreVerde {
	color: var(--coloreVerde) !important;
}
.bgVerde {
	background-color: var(--coloreVerde) !important;
}
.bgScuro {
	background-color: var(--bs-body-bg);
}
a {
    color: var(--coloreTesti);
    text-decoration: none;
}
a:hover {
    color: var(--coloreVerde);
}
.containerBackground {
    background-size: cover;
    background-position: center;
}
.btn-close:focus, .form-control:focus {
    box-shadow: none;
}
.bottoneBtecno, input.wpcf7-form-control.wpcf7-submit {
    padding: 10px 16px;
    font-weight: 300;
    width: 180px;
    font-family: var(--fontConsole);
    font-size: 14px;
	transition: border-color .3s ease, box-shadow .3s ease;
}
.bottoneBtecno:hover, input.wpcf7-form-control.wpcf7-submit:hover {
	border-color: #97BF4E;
	background-color: rgba(151, 191, 78, .04);
	box-shadow: 0 0 12px rgba(151, 191, 78, .45), 0 0 35px rgba(151, 191, 78, .18);
}
.bottoneBtecno.pieno, input.wpcf7-form-control.wpcf7-submit {
    background-color: var(--coloreVerde);
    color: var(--coloreTesti);
}
.bottoneBtecno.vuoto {
    border-color: var(--coloreVerde);
	color: var(--coloreTesti);
}
input.wpcf7-form-control.wpcf7-submit {
	width: 100%;
}

/* ---------- */

#content {
	padding-top: 83px;
}

img.logo {
    width: 225px;
}

img.logoMenuMobile {
	width: 50px;
}

nav#nav-main, .offcanvas-header {
    border-bottom: 1px solid var(--coloreBordi);
	background-color: var(--bs-body-bg);
}

.offcanvas.offcanvas-end {
	border-left: 1px solid rgba(151, 191, 78, .3);
}

.navbar-nav .show>.nav-link, .navbar-nav .nav-link.active {
	color: var(--coloreVerde);
}

.nav-link {
	color: var(--coloreTesti);
	padding: 8px 20px !important;
	text-transform: lowercase;
}

a.nav-link::before, .footer_widget .menu a::before {
  	content: "/";
  	margin-right: 8px;
  	color: var(--coloreTesti);
}

a.nav-link.active::before {
	color: var(--coloreVerde);
}

.nav-link:hover, .nav-link:focus {
	color: var(--coloreVerde);
}

.menu-toggle-terminal {
    color: var(--coloreVerde);
	background-color: #0f181c;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coloreVerde);
    border-radius: 8px;
    font-size: 25px;
    height: 50px;
    width: 50px;
    box-shadow: 0 0 15px rgba(151, 191, 78, .15), inset 0 0 15px rgba(151, 191, 78, .05);
}

.menu-toggle-terminal:hover {
	box-shadow: 0 0 12px rgba(151, 191, 78, .45), 0 0 35px rgba(151, 191, 78, .18)
}

.btecno-footer {
	border-top: 1px solid var(--coloreBordi);
}

span.dettaglioSocial {
    border: 1px solid;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_widget img {
	width: 225px;
}

/* SEZIONE SERVIZI */

.servizio-card {
    display: flex;
    flex-direction: column;
    padding: 38px 32px;
    background: #10171B;
    border: 1px solid var(--coloreBordi);
    border-radius: 6px;
    transition:
        border-color .2s ease,
        transform .2s ease;
}

.servizio-card:hover {
    border-color: var(--coloreVerde);
    transform: translateY(-4px);
}

.servizio-card-icon img {
    width: 75px;
}

.servizio-card-description {
    line-height: 1.5;
}

.servizio-card-description p:last-child {
    margin-bottom: 0;
}

.servizio-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--coloreVerde);
    text-decoration: none;
}
.servizio-card-link span {
    transition: transform .2s ease;
}

.servizio-card-link:hover span {
    transform: translateX(5px);
}

/* SEZIONE PLUS */

.plus-item {
  	display: flex;
  	align-items: flex-start;
  	gap: 20px;
}

.plus-item-icon {
  	width: 60px;
  	min-width: 60px;
}

.plus-item-content {
  	flex: 1;
}

.plus-item-content h3 {
  	color: var(--coloreTesti);
  	font-weight: 600;
}

.plus-item-description p:last-child {
  margin-bottom: 0;
}

/* SEZIONE CONSOLE */

.dna-box {
  	position: relative;
  	padding: 35px 40px;
  	background: #10171B;
  	border: 1px solid rgba(151, 191, 78, .30);
  	border-radius: 14px;
  	box-shadow: 0 0 20px rgba(151, 191, 78, .07), inset 0 0 30px rgba(151, 191, 78, .02);
}


.dna-box::before {
  	content: "";
  	position: absolute;
  	top: -1px;
  	left: 30px;
  	right: 30px;
  	height: 1px;
  	background: linear-gradient(90deg, transparent, rgba(151, 191, 78, .8), transparent);
}

.dna-console-icon {
  	width: 110px;
  	height: 110px;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	border: 2px solid var(--coloreVerde);
  	border-radius: 8px;
  	font-size: 42px;
  	font-weight: 500;
  	box-shadow: 0 0 15px rgba(151, 191, 78, .15), inset 0 0 15px rgba(151, 191, 78, .05);
}

.dna-terminal {
  	font-size: 14px;
}


/* SEZIONE COMPETENZE */

.competenza-card {
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	padding: 35px 30px;
  	background: var(--bs-body-color);
  	border-radius: 7px;
	 position: relative;
  	overflow: hidden;
  	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.competenza-card-icon img {
  	display: block;
  	max-width: 150px;
  	max-height: 95px;
  	width: auto;
  	height: auto;
  	object-fit: contain;
}

.competenza-card h3 {
  	color: var(--bs-body-bg);
  	font-weight: 700;
}

.competenza-card-description {
  	color: var(--bs-body-bg);
}

.competenza-card-description p:last-child {
  	margin-bottom: 0;
}

.competenza-card::before {
  	content: "";
  	position: absolute;
  	inset: 0;
  	background: radial-gradient( circle at center, rgba(151, 191, 78, .12), transparent 65%);
  	opacity: 0;
  	transition: opacity .25s ease;
  	pointer-events: none;
}

.competenza-card:hover {
  	transform: translateY(-6px);
  	border-color: var(--coloreVerde);
  	box-shadow: 0 14px 30px rgba(0, 0, 0, .18), 0 0 22px rgba(151, 191, 78, .18);
}

.competenza-card:hover::before {
  	opacity: 1;
}

.competenza-card-icon img {
  	transition: transform .25s ease, filter .25s ease;
}

.competenza-card:hover .competenza-card-icon img {
  	transform: scale(1.08);
  	filter: drop-shadow(0 0 8px rgba(151, 191, 78, .45));
}


/* SEZIONE CONTATTI */

.boxContatti {
  	position: relative;
  	padding: 35px;
  	background: #10171B;
  	border: 1px solid rgba(151, 191, 78, .3);
  	border-radius: 12px;
  	box-shadow: 0 0 25px rgba(151, 191, 78, .06);
}

input.wpcf7-form-control, select.wpcf7-form-control, textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(151, 191, 78, .3);
    padding: 8px 16px;
    background-color: transparent;
    color: var(--coloreTesti);
	font-size: 14px;
}

textarea {
	height: 150px;
}

.formContatto {
  	position: relative;
  	border: 1px solid transparent;
  	border-radius: 8px;
  	transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.contattoItem {
    font-size: 18px;
    font-family: var(--fontConsole);
}

.contattoItem i {
    background-color: var(--coloreVerde);
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
	transition: transform .25s ease;
}

.contattoItem a:hover i {
	color: var(--coloreTesti);
	transform: scale(1.08);
}

.formContatto.formHighlight {
  	animation: highlightForm 1.4s ease;
}

@keyframes highlightForm {
	0% {
		border-color: transparent;
		box-shadow: none;
	}
	30% {
		border-color: #97BF4E;
		padding: 20px;
		background-color: rgba(151, 191, 78, .04);

		box-shadow:
			0 0 12px rgba(151, 191, 78, .45),
			0 0 35px rgba(151, 191, 78, .18);
	}
	100% {
		border-color: transparent;
		background-color: transparent;
		box-shadow: none;
		padding: 0px;
	}
}

.wpcf7-not-valid-tip {
	font-size: 12px;
}


/* PAGINA SUPPORTO */

.page-template-page-supporto .sezioneContatti {
	display: none;
}

.supportoForm, .supportoContatti {
  	padding: 35px;
  	background: #10171B;
  	border: 1px solid var(--coloreBordi);
  	border-radius: 10px;
}

.supportoAzioni {
  	display: flex;
  	flex-direction: column;
  	gap: 15px;
}

.supportoAzione {
  	display: flex;
  	align-items: center;
  	justify-content: space-between;
  	gap: 25px;
  	padding: 20px;
  	border: 1px solid var(--coloreBordi);
  	border-radius: 7px;
  	transition: border-color .2s ease, background .2s ease;
}

.supportoAzione:hover {
 	border-color: var(--coloreVerde);
 	background: rgba(151, 191, 78, .03);
}

/* PAGINA THANKYOU */

.page-template-page-thank-you .sezioneContatti {
	display: none;
}

.thankYouBox {
  	position: relative;
  	max-width: 750px;
  	margin: 0 auto;
  	padding: 60px 40px;
  	background: #10171B;
  	border: 1px solid rgba(151, 191, 78, .3);
  	border-radius: 12px;
  	box-shadow: 0 0 30px rgba(151, 191, 78, .08);
}

.thankYouBox::before {
  	content: "";
  	position: absolute;
  	top: -1px;
  	left: 15%;
  	right: 15%;
  	height: 1px;
  	background: linear-gradient(90deg, transparent, #97BF4E, transparent);
}

.thankYouIcon {
  	width: 90px;
  	height: 90px;
  	margin-left: auto;
  	margin-right: auto;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	border: 2px solid var(--coloreVerde);
  	border-radius: 50%;
  	color: var(--coloreVerde);
  	font-size: 38px;
  	box-shadow: 0 0 25px rgba(151, 191, 78, .18), inset 0 0 20px rgba(151, 191, 78, .05);
}



/* MEDIA QUERY */

@media (min-width: 992px) {
    .navbar-expand-xxl .offcanvas .offcanvas-body {
        justify-content: flex-end;
        align-items: center;
		gap: 30px;
    }
}

@media(max-width: 1400px) {
	.nav-link {padding: 10px 0px !important;}
	#menu-navbar {margin-top: 20px;}
	.btn-close { background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat; opacity: 1; }
}

@media(max-width: 1200px) {}

@media(max-width: 992px) {}

@media(max-width: 768px) {
	.supportoAzione {align-items: flex-start;flex-direction: column;}
	.thankYouBox {padding: 40px 25px;}
  	.thankYouIcon {width: 75px;height: 75px;font-size: 30px;}
}

@media(max-width: 576px) {
	:root {
		--padding-sezione: 50px 15px;
        --padding-left: 15px;
        --padding-right: 15px;
    }
	img.logo {width: 200px;}
	#content {padding-top: 78px;}
	.dna-box, .competenza-card, .boxContatti, .supportoForm, .supportoContatti {padding: 25px;}
}