/*VARIABLES*/
:root {
    --c-brand: rgb(42, 76, 212);
    --c-brand-rgb: 11, 36, 137;
    --c-body: #777;
    --c-dark: #222;
    --border-radius: 4px;
    --box-shadow: 0px 25px 35px rgba(0, 0, 0, 0.278);
    --font-family: sans-serif;
}

/*RESETS*/
body {
    line-height: 1.7;
    color: var(--c-body);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--c-dark);
}

a {
    color: var(--c-dark);
    text-decoration: none;
    transition: all 0.4s linear;
}

a:hover {
    color: var(--c-brand);
}

img {
    width: 100%;
}

section {
    padding-top: 50px;
    padding-bottom: 70px;
}

.section-intro {
    margin-bottom: 25px;
    text-align: center;
}

.section-intro p {
    max-width: 500px;
    margin: auto;
}

.custom-card {
    transition: all 0.4s ease;
    background-color: white;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.line-page {
    width: 100%;
    height: 0.5px;
    background-color: rgba(75, 75, 75, 0.468);
    margin-top: 50px;
}

/*HOME*/
.banner {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 2, 31, 0.351), rgba(0, 2, 31, 0.351));
    /* background: linear-gradient(rgba(65, 77, 187, 0.53), rgba(119, 124, 170, 0.415)); */
}

.banner video {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%; 
  object-fit: cover;
  z-index: -1;
}

@media(min-aspect-ratio: 16/9) {
    .banner video {
        width: 100%;
        height: auto;
    }
}

#home {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    text-align: center;
    display: flex;
    align-items: center;
    background-attachment:fixed;
}

#home h1 {
    color: rgb(255, 255, 255);
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
    font-weight: 700;
    font-size: 90px;
}
#home p {
    color: rgb(255, 255, 255);
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
    max-width: 300px;
    margin: 12px auto 28px auto;
    font-size: 16px;
    font-weight: 500;
}

/*NAVBAR*/
.navbar {
    background-color: rgba(0, 2, 31, 0.193);
    border-bottom: 1px solid rgba(255, 255, 255, 0.337);
}

.navbar .navbar-nav .nav-link {
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:active {
    text-shadow: 1px 2px 10px rgb(42, 76, 212);
}

.lavorazioninavbar .navbar-nav .nav-link{
   color: black; 
   text-shadow: none;
}

.lavorazioninavbar .navbar-nav .nav-link:hover,
.lavorazioninavbar .navbar-nav .nav-link:active {
    color: var(--c-brand);
    text-shadow: none;
}

.lavorazioninavbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.374);
}

.navbar i{
    color: white;
    font-size: 20px;
}

/*CHI SIAMO*/

#chisiamo .row {
    margin-top: 30px;
}

#chisiamo .section-title {
    padding-top: 3rem;
}

#chisiamo p {
    font-size: 17px;
}

/*CIFRE*/
#cifre {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.6), rgba(var(--c-brand-rgb), 0.6)), url(../images/tubiclose.JPG);
    background-position: center;
    background-size: cover;
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
}

#cifre h1 {
    font-weight: 400;
}

#cifre .container {
    padding-top: 30px;
    padding-bottom: 30px;
}

/*SERVIZI*/
#servizi .row {
    margin-top: 0px;
}
.servizio {
    padding: 44px 24px;
    text-align: center;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--c-brand);
    color: white;
    border-radius: var(--border-radius);
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.servizio h5 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.servizio p {
   font-size: 14px; 
}

/* NEWS */
#news {
    position:relative;
    z-index:2;
}

#news::after {
    content:"";
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.5), rgba(var(--c-brand-rgb), 0.6)), url(../images/guanti.JPG);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#news .image-zoom {
    position: relative;
    padding-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
}

#news .image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

#news .image-zoom-wrapper img {
    transition: all 0.5s ease;
}

#news .image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}

#news .white-line {
    width: 60px;
    height: 4px;
    background-color: white;
    margin: 16px auto 24px auto;
}

#news .section-intro p {
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
}

/*LAVORAZIONI*/

.lavorazione {
    position: relative;
    overflow: hidden;
}

.blue-line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

.blue-line-side {
    width: 180px;
    height: 3px;
    background-color: var(--c-brand);
    margin: 16px 0 24px;
}

.lavorazione img {
    height: 100%;
    width:100%;
    object-fit: cover;
    transition: all 0.4s ease-in-out;
}

.lavorazione .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 44px;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}

.lavorazione .overlay h2 {
    color: white;
}
.lavorazione .overlay p {
    color: rgba(255, 255, 255, 0.792);
}

.lavorazione:hover .overlay {
    opacity: 1;
    display: flex;
}

.lavorazione:hover img {
    transform: rotate(15deg) scale(1.5);
}


/*CONTATTI*/

#contatti input.form-control{
    height: 49px;
}

#contatti .form-control {
    background-color: white;
    border-color: white;
}

#contatti .form-control:focus {
    box-shadow: none;
    border-color: var(--c-brand);
}

#contatti .map {
    width: 100%;
    height: 100%;
}

.btn {
    padding: 12px 28px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-brand {
    background-color: var(--c-brand);
    color: white;
}

.btn-brand:hover {
    background-color: #2a65d4c4;
    color: white;
}

#contatti {
    position:relative;
    z-index:2;
}

#contatti::after {
    content:"";
    width: 100%;
    height: 70%;
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.5), rgba(var(--c-brand-rgb), 0.6)), url(../images/giri.JPG);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contatti .form-control {
    border-radius: 0;
}

#contatti .form-control:focus {
    box-shadow: none;
    border-color: var(--c-brand);
}

#contatti h1, 
#contatti p {
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
}

/*FOOTER*/
footer {
    padding-top: 100px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}

footer li,
footer p,
footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer ul {
    list-style: 0;
    padding: 0;
    padding-left:20px;
}

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--c-brand);
    margin-top: 12px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: var(--c-brand);
    color: white;
}

footer .indirizzi {
    padding-left: 0;
}
footer .indirizzi li {
    list-style-type: none;
}

/*COOKIES*/
#cookies {
    width: 100%;
    position: fixed;
    bottom: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.605);
    z-index: 1;
    display: none;
}

#cookies p {
    margin-bottom: 0;
}

.cookies {
   min-height: 70px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px;
}

#cookies-btn {
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    border: 3px solid var(--c-brand);
    color: var(--c-brand);
}

/* LAVORAZIONI SPECIFICHE */
#lavorazionispecifiche .row {
    margin-top: 30px;
}

#lavorazionispecifiche .section-title {
    padding-top: 3rem;
}

#lavorazionispecifiche video {
    max-width: 100%;
}
