/*
Theme Name: Brighenti theme
Theme URI:
Author: 
Author URI:
Description: Starter Theme with Font Awesome and Bootstrap 5
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: nx

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* ===========================
   VARIABILI CSS
   =========================== */

:root {
  --blue: #1e70b8;
  --deep-blue: #0b1349;
  --light-gray: #d4ebee;
  --light-blue: #009aa4;
  --acqua: #009aa3;
  --white: #fff;
  --grey: #ebf1f6;
}

/* ===========================
   LAYOUT BASE
   =========================== */

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #ebf1f6;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-family: "museo-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.main-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

/* ===========================
   TRANSIZIONE CARICAMENTO PAGINA
   =========================== */

/* overlay transizione caricamento pagina */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: var(--deep-blue);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  pointer-events: none;
}

body.page-loaded::before {
  opacity: 0;
}

main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow-x: hidden !important;
}

/* ===========================
   TIPOGRAFIA & LINK
   =========================== */

a {
  color: var(--blue);
  text-decoration: none;
}

a.nav-link:hover:not(a.navbar-brand),
a:hover:not(.btn.btn-primary) {
  color: var(--light-blue);
}

.color-primary {
  color: var(--blue) !important;
}

.color-secondary {
  color: var(--light-blue) !important;
}

.color-blue {
  color: var(--blue);
}

.color-light-blue {
  color: var(--light-blue);
}

.bg-primary {
  background: var(--deep-blue) !important;
}

.bg-secondary {
  background: var(--grey) !important;
}

.bg-acqua {
  background-color: var(--acqua);
}

.bg-pattern {
  position: relative;
  background-color: var(--deep-blue);
  overflow: hidden;
  z-index: 1;
}

.bg-pattern::before,
.bg-pattern::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1000px;
  height: 100%;
  background-image: url("/wp-content/uploads/pittogramma-brighenti.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: -1;
  filter: opacity(0.1);
}

.bg-pattern::after {
  transform: rotate(0deg);
}

.bg-pattern-2 {
  position: relative;
  background-color: var(--blue);
  overflow: hidden;
  z-index: 1;
}

.bg-pattern-2::before,
.bg-pattern-2::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1000px;
  height: 100%;
  background-image: url("/wp-content/uploads/pittogramma-brighenti.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: -1;
  filter: opacity(0.1);
  transform: rotate(0deg);
}

.bg-pattern::before,
.bg-pattern-2::before {
  left: -400px;
}

.bg-pattern::after,
.bg-pattern-2::after {
  right: -400px;
}

.bg-gradient {
  background: linear-gradient(90deg, rgb(11, 19, 73) 0%, rgba(11, 19, 73, 0.5) 100%), url(/wp-content/uploads/bg-hero.jpg) no-repeat center !important;
  background-size: cover;
}

.bg-gradient-2 {
  background: url(/wp-content/uploads/bg-hero.jpg) no-repeat center;
  background-size: cover;
}

h1 {
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

@media (min-width: 1200px) {
  h2 {
    font-size: 3rem;
  }
}

@media (max-width: 1199px) {
  h2 {
    font-size: 28px;
  }
}

body,
p,
li {
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 17px;
  color: var(--blue);
  font-weight: 400;
}

.pre-title {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.text-white p {
  color: #fff;
}

/* ===========================
   SPAZIATURE CUSTOM
   =========================== */

@media (min-width: 768px) {
  .py-custom {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .pt-custom {
    padding-top: 100px;
  }

  .pb-custom {
    padding-bottom: 100px;
  }
}

@media (max-width: 767px) {
  .py-custom {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .pt-custom {
    padding-top: 50px;
  }

  .pb-custom {
    padding-bottom: 50px;
  }
}

/* ===========================
   UTILITA' (BORDI, ANIMAZIONI FADE)
   =========================== */

.border-primary {
  border: 1px solid var(--blue) !important;
}

.fade-in,
.nascosto {
  opacity: 0;
}

.fade-in.show,
.visibile {
  opacity: 1 !important;
  transition: opacity 1s ease-in;
}

/* ===========================
   BOTTONI
   =========================== */

.btn.btn-primary,
.btn.btn-secondary {
  padding: 12px 25px;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-weight: 500;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.btn.btn-primary.btn-sm,
.btn.btn-secondary.btn-sm {
  padding: 8px 20px;
  font-size: 16px;
}

.btn.btn-primary::before,
.btn.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-in-out;
  z-index: -1;
}

.btn.btn-primary:hover::before,
.btn.btn-secondary:hover::before {
  transform: scaleX(1);
}

.btn.btn-primary {
  background: var(--acqua) !important;
  color: var(--white);
  border: 1px solid var(--acqua);
}

.btn.btn-primary::before {
  background-color: var(--light-blue);
}

.btn.btn-primary:hover {
  color: var(--blue) !important;
}

.btn.btn-secondary {
  background: var(--light-blue) !important;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn.btn-secondary::before {
  background-color: var(--blue);
}

.btn.btn-secondary:hover {
  color: var(--white) !important;
}

/* ===========================
   NAVBAR
   =========================== */

.navbar {
  -webkit-transition-duration: 0.6s;
  transition-duration: 0.6s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}

.navbar .nav-link,
.navbar .nav-link.show {
  color: var(--white);
}

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

.navbar-nav .dropdown-item {
  color: var(--blue);
  font-size: 16px;
  min-width: 200px;
  transition: ease 0.4s;
}

.navbar-nav .dropdown-item.active {
  color: var(--blue);
  background: var(--white);
}

.navbar-nav .dropdown-item:hover {
  background-color: var(--blue);
  color: var(--white) !important;
}

.menu-icon {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

.navbar-transparent.is-scrolled .navbar {
  background: var(--grey);
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.navbar-transparent.is-scrolled .navbar .nav-link,
.navbar-collapse.collapsing .nav-link {
  color: var(--blue);
}

.navbar-transparent.is-scrolled .navbar-toggler-icon,
.navbar-transparent.is-scrolled .menu-icon {
  -webkit-filter: none;
  filter: none;
}

.navbar:has(.navbar-collapse.show, .navbar-collapse.collapsing) {
  background: var(--grey) !important;
}

.navbar:has(.navbar-collapse.show) img,
.navbar:has(.navbar-collapse.show) .navbar-toggler-icon {
  -webkit-filter: none !important;
  filter: none !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-brand img {
  max-width: 230px;
  padding: 5px 0px;
  filter: brightness(0) invert(1);
}

.navbar-transparent.is-scrolled .navbar-brand img {
  filter: none;
}

@media (max-width: 1199px) {
  .navbar-collapse.collapse .nav-link {
    color: var(--blue);
  }

  .navbar-brand img {
    max-width: 150px;
  }

  .navbar-nav {
    overflow-y: auto;
  }

  .navbar-toggler {
    border: none;
    padding: 0;
  }

  .navbar-toggler-icon {
    font-size: 25px;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }


  .navbar-collapse {
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body:has(.dropdown-menu.show)>.modal-overlay,
  body:has(.navbar-collapse.collapsing, .navbar-collapse.collapse.show)>.modal-overlay {
    display: block !important;
  }

  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    display: none;
  }

  .dropdown-menu.show {
    border: none;
    background: var(--gray);
  }
}

.nav-link:focus-visible {
  -webkit-box-shadow: none;
  box-shadow: none;
  color: transparent;
}

/* ===========================
   ICONA WHATSAPP
   =========================== */

.icona-whatsapp i {
  font-size: 50px;
  color: #fff;
  text-align: center;
}

.icona-whatsapp {
  background: #43cc51;
  position: fixed;
  z-index: 9999;
  width: 70px;
  min-height: 70px;
  bottom: 0;
  right: 0;
  height: 60px;
  border-radius: 50px;
  margin-bottom: 15px;
  margin-right: 15px;
}

@media (max-width: 1199px) {
  .icona-whatsapp {
    width: 50px;
    min-height: 50px;
    height: 50px;
  }

  .icona-whatsapp i {
    font-size: 35px;
    line-height: 50px;
  }
}

/* ===========================
   FOOTER
   =========================== */

.logo-footer {
  max-width: 300px;
  filter: brightness(0) invert(1);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer h3 {
  font-size: 20px;
}

footer p {
  font-size: 14px;
}

footer .nav-link {
  padding: 3px 0px;
  color: var(--white);
}

/* ===========================
   HERO (HOME)
   =========================== */

.hero-subtitle,
.h1-part-1,
.h1-part-2,
.service-card {
  visibility: hidden;
  opacity: 0;
}

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--blue);
  background-image: linear-gradient(90deg, rgb(11, 19, 73) 10%, rgba(11, 19, 73, 0.6) 100%), url("/wp-content/uploads/bg-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: ellipse(100% 85% at 50% 0%);
}

/* Hero: la .row occupa tutta l'altezza disponibile e l'immagine si ancora al fondo */
.hero .row {
  flex: 1;
}

@media (max-width: 1199px) {
  .hero .row {
    height: 100%;
    align-items: stretch;
  }

  .hero .col-12.col-xl-6:last-child img {
    width: auto;
    object-fit: contain;
    object-position: bottom;
    display: block;
  }
}

.hero h1 {
  font-size: clamp(34px, 4vw, 80px);
  font-weight: 400;
  padding-left: 5rem;
}

.hero-subtitle {
  padding-left: 5rem;
}

@media (max-width: 1199px) {

  .hero h1,
  .hero-subtitle {
    padding-left: 0;
  }
}

/* ===========================
   SERVICE CARDS (HOME)
   =========================== */

.cards-overlap-container {
  position: relative;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: none;
  margin-top: -16vw;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .service-card {
    margin-top: -8vw;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .service-card {
    margin-top: -8vw;
  }

  .col-md-6:nth-child(n+3) .service-card {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .service-card {
    margin-top: 0;
  }
}

.service-card:hover {
  transform: translateY(-10px);
}

/* ===========================
   SWIPER / CAROSELLO
   =========================== */

.swiper-slide p {
  font-size: 15px;
}

.partner-controls button {
  background: var(--white);
  padding: 0px 20px;
  border: none;
  font-size: 2rem;
  color: var(--blue);
  cursor: pointer;
}

.partner-controls button:hover {
  background: var(--grey);
  color: var(--blue);
  transition: ease 0.4s;
}

/* ===========================
   CARD CASE STUDIO
   =========================== */

.hover-card-bg {
  background-size: cover;
  background-position: 100% center;
  transition: transform 0.6s ease;
  min-height: 64vh;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 112, 184, 0) 50%, rgba(223, 223, 223, 0.8) 100%);
  z-index: 1;
  transition: background 0.6s ease;
}

.card-overlay h3 {
  font-weight: 400;
}

.card-overlay-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 112, 184, 0) 50%, rgba(30, 112, 184, 0.8) 100%);
  z-index: 1;
  transition: background 0.6s ease;
}

.card-overlay-2 h3 {
  font-weight: 400;
}

.btn-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.hover-card-bg:hover .btn-wrapper {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   PAGE HEADER (INTESTAZIONE PAGINE INTERNE)
   =========================== */

.page-header {
  height: 70vh;
}

.page-header-single {
  height: 60vh;
}

.page-header-single a {
  color: #fff;
}

@media (min-width: 768px) {
  .page-header span {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
  }

  .page-header h1 {
    font-size: clamp(50px, 7vw, 60px);
  }

  .page-header p {
    margin-bottom: 80px;
    margin-top: 20px;
  }

  .page-header-single h1 {
    font-size: clamp(25px, 2vw, 40px) !important;
  }
}

@media (max-width: 767px) {
  .page-header h1 {
    font-size: 26px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .page-header {
    min-height: 70vh;
  }
}

/* ===========================
   PAGINA CHI SIAMO
   =========================== */


.sezione-brighenti img {
  max-width: 500px;
}

@media (max-width: 1199px) {
  .sezione-brighenti img {
    max-width: 300px;
  }
}

/* ===========================
   PAGINA BASE (CONTENUTO GENERICO)
   =========================== */

.pagina-base h2:not(.accordion-header) {
  padding-top: 50px;
}

.pagina-base h3:not(.accordion-header) {
  padding-top: 40px;
}

.pagina-base .accordion-header {
  font-size: 22px !important;
  font-weight: 500;
}

/* ===========================
   CTA BOX
   =========================== */

.cta-box h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}

.cta-box p {
  font-size: 15px;
}

/* ===========================
   PAGINA UNDER CONSTRUCTION
   =========================== */

.under-construction {
  height: 100vh;
}

@media (min-width: 768px) {
  .under-construction h1 {
    font-size: 3em;
  }

  .under-construction p {
    font-size: 1em;
  }
}

@media (max-width: 767px) {
  .under-construction h1 {
    font-size: 35px;
    font-weight: bold;
  }

  .under-construction p {
    font-size: 15px;
    font-weight: 200;
  }
}

/* ===========================
   FORM CONTATTI (CF7)
   =========================== */

.wpcf7 .wpcf7-select {
  width: 100%;
  font-size: 15px;
}

/* ===========================
   CARD NEWS / BLOG
   =========================== */

.card-news a {
  text-decoration: none;
  font-size: 15px;
  color: #fff;
}

.card-news .card-meta {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.card-news p {
  font-size: 15px;
}

.card-news .card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--light-blue);
}

.card-news span {
  color: var(--light-blue);
}

/* ===========================
   ARCHIVIO / RICERCA
   =========================== */

.form-control:focus {
  border-color: transparent;
  box-shadow: none;
}

.icon-search {
  border: none;
  font-size: 26px;
  margin-right: 10px;
}

.paragrafo-titolo {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.paragrafo-testo strong,
.paragrafo-testo b {
  font-weight: 700 !important;
  color: inherit;
}

.zoom-img {
  transition: transform 0.5s ease;
  transform-origin: center center;
}

.card-news:hover .zoom-img {
  transform: scale(1.1);
}

.page-archive {
  padding-top: 100px;
}

/* ===========================
   FORM GENERICO
   =========================== */

.wpcf7-form-control {
  height: 50px;
  width: 100%;
}

textarea.form-control {
  height: auto;
}

.wpcf7 p {
  font-size: 15px;
  color: var(--blue);
}

.wpcf7 label {
  width: 100%;
  font-size: 16px;
  color: var(--blue);
}

.wpcf7-submit {
  background: var(--blue) !important;
}

input,
textarea {
  padding: 10px 10px;
  border: 1px solid #ccc;
}

/* ===========================
   COMMENTI
   =========================== */

#comments {
  margin-bottom: 40px;
}

.comments {
  padding-top: 40px;
}

.comments textarea {
  width: 100%;
}

.comments label {
  min-width: 80px;
}

.comments ul,
.comments ol {
  list-style-type: none;
}

.comment-author img {
  border-radius: 999px;
  width: 50px;
}

.comment .reply {
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.widget_search .screen-reader-text {
  display: block;
}

.widget_search #s {
  width: 70%;
  float: left;
}

.widget_search #searchsubmit {
  width: 30%;
  float: left;
  background: #fff;
}

/* ===========================
   PAGINAZIONE
   =========================== */

.page-numbers {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #ddd;
  margin-right: 4px;
}

/* ===========================
   WORDPRESS DEFAULTS
   =========================== */

.post img {
  max-width: 100%;
  height: auto;
}

.gallery-caption {
  padding: 5px;
  font-size: 10px;
}

.bypostauthor {
  border-left: 3px solid #ddd;
  padding-left: 20px;
}

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/*# sourceMappingURL=style.css.map */