/*
1. Google Fonts
2. Variabili globali (:root)
3. Fondamenta (html, body)
4. Tipografia (titoli, paragrafi, link)
5. Componenti (navbar, section, bottoni) 
6. Colori e background
7. Sizing
8. Form
9. Altri layout (griglie e contenitori)
10. 10 Animazioni
*/


/* 1) Fonts */
    
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* 2) Variabili */

:root {
    --primary-color: #1D1D1B;
    --background-color: #fff;  
    --color-white: #fff;  
    --color-grey: #F8F8F8; 
    --color-blue: #0087CC;
    --background-color-2:#00000012;
    --background-grey:#F8F8F8;
    --pop-color: #12B0E5;
    --link-hover-color:#12B0E5;
    --bg-grey-overlay: rgb(196 192 192 / 40%);
    --bg-blue-overlay: rgba(0, 135, 204, 0.6);
    
    --custom-radius:0px;
    --btn-radius:19px 19px 19px 19px;
    --btn-padding: 0.5rem 1rem;
    --section-padding: 120px;    
    --footer-padding: 5rem;    
    --main-font: "Outfit", serif;
}


/* 3) Fondamenta (html, body) */

html {
    font-size: 17px; /* Base del rem */
    scroll-behavior: smooth;
    color:  var(--primary-color);
}

body {
    background-color: var(--background-color); 
    color: #1D1D1B;
    font-size: 1rem;
    font-family: var(--main-font);
    line-height: 1.6;
}


/* 4) Tipografia (titoli, paragrafi, link) */

h1, h3, h4, h5, h6 {
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 5rem;
    line-height: 1;
    letter-spacing: -0.25rem;
}

h2 {
    font-size: 4rem;
    line-height: 1.1;
    color:var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 2rem;
}

h6{
    color:var(--primary-color);
}

strong {
    font-weight: 700;
}

p {
    margin-bottom: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: var(--link-hover-color);
}

.text-xl{
    font-size: 3rem;
    line-height: 1.1;
}

.text-lg{
    font-size: 2.3rem;
    line-height: 1.1;
}

.text-md{
    font-size: 1.5rem;
    line-height: 1.4;
}

.bold{
    font-weight: 700;
}


/* 5) Componenti (bottoni, moduli, ecc.) */

body {
    background-color: var(--background-color);
    color: var(--primary-color);
    overflow-x: hidden;
}

.header-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
}

.topbar {
    background-color: #1D1D1B; 
    padding: .65rem 0;
}

.link-topbar {
    padding: 0 20px;
    font-size: 13px;
    line-height: 15px;
    font-weight: 300;
    color: var(--color-grey)!important;
}

.link-topbar:first-child {
    padding-left: 0;
}

.link-topbar:last-child {
    padding-right: 0;
}

.link-topbar a {
    text-decoration: underline!important;
    color: var(--color-grey)!important;
}

.nav-item{
    padding: 0.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link{
    font-size: 14px;
    letter-spacing: 0.28px;
    line-height: 18px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--primary-color);
}
.nav-link:hover{
    color: var(--link-hover-color);
} 

.nav-item.current-menu-item .nav-link {
    color: var(--link-hover-color);
    font-weight: 700;
}

.navbar-container{
    border-bottom: 1px solid color(srgb 1 1 1 / 0.5);
}

.navbar.scrolled .navbar-container{
    border-bottom: transparent;
}

.navbar {
  transition: background-color 0.3s ease-in-out;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.8) !important; 
}

ul.dropdown-menu {
    background-color: transparent;
    border: transparent;
}

.dropdown-menu li{
    background-color: rgba(0, 0, 0, 0.8) !important;
    margin-bottom: 0.1rem;
}

.dropdown-menu li a{
    color:white;
    font-weight:300;
    font-size: 15px;
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:focus-within {
    border: unset;
    box-shadow: none;
}

#footer {
   padding: var(--footer-padding) 0;
}
#footer ul{
    list-style-type: none;
}

#footer ul li a, #footer, #footer p, #footer a{
    font-size: 13px;
}
#footer .title-footer {
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}
#footer .text-footer {
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    /*text-transform: uppercase;*/
}
#footer ul.menu-footer li {
    margin: 1.5rem 0;
    text-transform: uppercase;
}
#footer ul.menu-footer li:first-child {
    margin-top: 0;
}
#footer ul.menu-footer li:last-child {
    margin-bottom: 0;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
  flex: 1;
  padding: 5px 0;
}

.footer-bottom-left {
  text-align: left;
}

.footer-bottom-center {
    flex: 3;
    text-align: center;
    font-size: 13px;
    line-height: 16px;
}

.footer-bottom-center a{
    color: var(--color-grey);
}

.footer-bottom-center a:hover{
    color: var(--primary-color);
}

.footer-bottom-right {
    text-align: right;
}


.bg-dark ul li a, .bg-dark, .bg-dark p, .bg-dark a{
    color: #fff;
}

.bg-dark ul li a:hover, .bg-dark a:hover{
    color: var(--pop-color);
}

section{
    padding-top:var(--section-padding);
    padding-bottom:var(--section-padding);
}

section.half-section, .half-section{
    padding-top:calc(var(--section-padding)/2);
    padding-bottom:calc(var(--section-padding)/2);
}
section.section-1-5x, .section-1-5x {
    padding-top: calc(var(--section-padding) * 1.5);
    padding-bottom: calc(var(--section-padding) * 1.5);
}

.btn-view-more {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    font-size: 15px;
}
.btn-view-more:hover {
    color: var(--color-white);
    background: var(--primary-color);
}

/* 6) Colori e background */

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--link-hover-color);
}

.bg-section-grey {
    background: var(--background-grey);
}
.bg-top-footer {
    background: var(--primary-color);
    color: var(--color-grey);
}
.bg-bottom-footer {
    background: var(--color-blue);
    color: var(--color-grey);
}
.bg-grey-overlay {
    background: var(--bg-grey-overlay)!important;
}
.bg-blue-overlay {
    background-color: var(--bg-blue-overlay);
    background-blend-mode: multiply;
}


/* 7) Sizing */

.min-vh-30{
    min-height:30vh;
}

.min-vh-50{
    min-height:50vh;
}

.min-vh-100{
    min-height:100vh;
}

.min-vw-30{
    min-width:30vw;
}

.min-vw-50{
    min-width:50vw;
}

.min-vw-100{
    min-width:100vw;
}

.vw-30{
    width:30vw;
}

.vw-50{
    width:50vw;
}

.vw-100{
    width:100vw;
}


/* 8 Form di contatto */

.form-newsletter .input-form {
    border: 0;
    border-bottom: 1px solid var(--color-grey);
    color: var(--color-grey);
    background: transparent;
    font-size: 14px;
    font-weight: 300;
    height: 100%;
}
.form-newsletter .btn-invia {
    display: inline-block;
    padding: 8px 30px;
    border: 1px solid var(--color-grey);
    color: var(--color-grey);
    border-radius: 25px;
    font-size: 13px;
    background: transparent;
}
.form-newsletter .btn-invia:hover {
    color: var(--primary-color);
    background: var(--background-grey);
}
.form-newsletter .privacy {
    color: var(--color-grey);
    font-size: 12px;
}
.form-newsletter .privacy a {
    color: var(--color-blue);
}
.form-newsletter .privacy a:hover {
    color: var(--color-white);
}
.form-newsletter .privacy .wpcf7-list-item{
    margin-left:0
}

.form-newsletter ::-webkit-input-placeholder { color: var(--color-grey); opacity .5 }
.form-newsletter ::-moz-placeholder { color: var(--color-grey); opacity .5 }
.form-newsletter :-ms-input-placeholder { color: var(--color-grey); opacity .5 } 
.form-newsletter :-moz-placeholder { color: var(--color-grey); opacity .5 }


#form-search .input-search {
    border: 0;
    border-bottom: 1px solid var(--color-grey);
    color: var(--color-grey);
    background: transparent;
}
#form-search button, #form-search button i,  {
    font-size: 13px;
    line-height: 13px;
}


/* 9) Altri layout (contenitori, parti grafiche)*/

.five-cols > .col {
  flex: 0 0 20%;
  max-width: 20%;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slider-content {
    color: var(--color-white);
    padding: 1rem;
    font-size: 85px;
    line-height: 100px;
    letter-spacing: 5.53px;
    font-weight: 200;
    text-transform: uppercase;
}

.owl-banner-home .owl-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.owl-banner-home .owl-dot span {
    width: 10px;
    height: 10px;
    background: transparent;    
    border: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0.6;
    margin: 5px;
    display: inline-block;
    border-radius: 50%;
    transition: all 0.3s ease;
}



.owl-banner-soluzione .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-2rem);
}
.owl-banner-soluzione .owl-nav .owl-prev,
.owl-banner-soluzione .owl-nav .owl-next {
  position: absolute;
  height: auto;
  color: inherit;
  background: none;
  border: none;
  z-index: 100;
}
.owl-banner-soluzione .owl-nav .owl-prev i,
.owl-banner-soluzione .owl-nav .owl-next i {
  font-size: 2rem;
  color: var(--primary-color);
}
.owl-banner-soluzione .owl-nav .owl-prev {
  left: -3%;
}
.owl-banner-soluzione .owl-nav .owl-next {
  right: -3%;
}

.title-section-home {
    font-size: 50px;
    line-height: 1;
    font-weight: 200;
    letter-spacing: 2.4px;
}
.title-section-home span {
    font-weight: 500;
}
.title-section {
    font-size: 40px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .9px;
}
.title-section-gradient {
    font-size: 40px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .9px;
}
.title-section-gradient span{
    background: linear-gradient(90deg, rgba(29, 29, 27, 1) 16%, rgba(153, 153, 153, 1) 56%, rgba(18, 176, 229, 1) 89%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle-section {
    font-size: 21px;
}

.text-section {
    font-size: 15px;
    line-height: 23px;
    font-weight: 300;
    letter-spacing: 0.42px;
}

.bg-box {
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;  
}
.bg-box-padding {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;  
    padding: 6rem
}
.bg-box-padding img {
    object-fit: cover;
    object-position: bottom;
    border-radius: 20px;
    opacity: 0;
}
.width-box {
    width: 60%;
    padding: 50px 0;
}

.titolo-newsletter {
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.39px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 8px;
    width: 150px;
}
.text-top-footer {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.45px;
    font-weight: 100;
}

#e-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.img-1 {
  z-index: 1;
}

.img-2 {
  z-index: 2;
}

.link-sottopagine a {
    color: var(--color-blue);
    text-decoration: underline;
    text-transform: uppercase;    
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.45px;
    font-weight: 700;
}
.link-sottopagine a:hover {
    color: var(--primay-color);
}

.section-soluzioni p {
    margin-bottom: 1rem;
}

#scrollTopBtn {
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
}

.title-product-preview {
    font-size: 21px;
    font-weight: 500;
    margin-top: 10px;
}

/* 10) Animazioni */

