@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap");
/*#c4d48b #fede84 #b7cdda #d96a9e #c4d48b #fede84 #b7cdda #d96a9e #c4d48b */

:root {
  --64px: 64px;
  --48px: 48px;
  --24px: 24px;
  --16px: 16px;
  --14px: 14px;
}

body {
  background-color: black;
  font-family: "Inter Tight", serif;
  color: white;
}

main {
  overflow-x: hidden;
}

h1,
h2,
h3,
h3,
h4,
h5,
h6 {
  font-family: "Bricolage Grotesque", serif;
  color: white;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  background-color: #25d366; /* Verde WhatsApp */
  left: 1rem;
  bottom: -3rem; /* Inizialmente nascosto */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  border-radius: 0.8rem;
  z-index: 100;
  width: auto;
  height: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: bottom 0.3s ease;
  text-decoration: none;
}

.testo__scrollup {
  color: white;
  font-weight: 500;
  font-size: 1rem;
}

.scrollup__icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* rende bianca l'icona se è scura */
}

/* Show Scroll Up */
.show-scroll {
  bottom: 1rem;
}

/* Animazione */
.heartbeat {
  animation: heartbeat 1.5s ease-in-out infinite both;
}

@keyframes heartbeat {
  from {
    transform: scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }
  10% {
    transform: scale(0.91);
    animation-timing-function: ease-in;
  }
  17% {
    transform: scale(0.98);
    animation-timing-function: ease-out;
  }
  33% {
    transform: scale(0.87);
    animation-timing-function: ease-in;
  }
  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}

/* Offcanvas animation from top */
.offcanvas {
  top: -100%;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  transition: top 0.9s ease-in-out, opacity 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background-color: black;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.offcanvas.show {
  top: 0;
  opacity: 1;
}

.offcanvas-header {
  justify-content: flex-end;
  border: none;
}

.offcanvas-header .btn-close {
  filter: invert(1);
  opacity: 1;
}

/* Offcanvas body content */
.offcanvas-body {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  overflow-y: hidden;
}

.navbar-nav {
  align-items: flex-start !important;
}

.nav-links-custom {
  text-align: left;
  align-items: flex-start;
}

.nav-links-custom .nav-link {
  font-family: "Bricolage Grotesque", serif !important;
  font-size: 12vh;
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
  line-height: 1;
  color: white !important;
}

@media (max-width: 680px) {
  .nav-links-custom .nav-link {
    font-size: 8vh;
  }
}

.nav-links-custom .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  background-color: white;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links-custom .nav-link:hover::after,
.nav-links-custom .nav-link:focus::after {
  transform: scaleX(1);
}

.h1-commerce {
  font-size: var(--48px);
  line-height: 1;
}

.container {
  max-width: 340px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
}

.border-animated {
  color: white;
  background-color: transparent;
  border-radius: 5rem;
  border: none;
  border: 1px solid white;
  padding: 0.5rem 1rem;
  font-size: var(--16px);
  font-weight: 500;
  transition: all 0.3s ease;
  animation: pulse 1.5s infinite ease-in-out;
}

/*
.border-animated:before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(
    45deg,
    #c4d48b,
    #fede84,
    #b7cdda,
    #d96a9e,
    #c4d48b,
    #fede84,
    #b7cdda,
    #d96a9e,
    #c4d48b
  );
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  animation: glowing 20s linear infinite;
  border-radius: 5rem;
}

.border-animated:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #1b1b1b;
  left: 0;
  top: 0;
  z-index: -1;
  border-radius: 5rem;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

*/

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 480px) {
  .hero {
    height: 100vh;
  }
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.title-content {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 20px;
  top: -10%;
}

.subtitle-content {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 20px;
  top: 20%;
}

.span-title {
  color: #d96a9e;
}

@media (max-width: 390px) {
  .title-content {
    top: -5%;
  }

  .hero-video {
    top: 60%;
  }

  .subtitle-content {
    top: 15%;
  }
}

@media (min-width: 680px) {
  h1 {
    font-size: 8rem;
    line-height: 6rem;
  }

  .subtitle-hero {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 4rem;
  }

  .palla-hero {
    width: 500px;
    height: 500px;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: var(--64px);
    line-height: 3rem;
  }

  .subtitle-hero {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
  }

  .palla-hero {
    width: 300px;
    height: 300px;
  }
}

/*SEZIONE 1*/

.container-sezione-1 {
  border: 1px solid white;
  height: 180px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
}

.title-sezione-1 {
  font-size: 1.5rem;
}

.descrizione-sezione-1 {
  font-size: var(--16px);
  font-weight: 200;
}

/*SEZIONE 2*/
.sezione-2 {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-sezione-2 {
  font-size: 3rem;
  line-height: 3rem;
  font-family: "Bricolage Grotesque", serif;
}

/*SEZIONE 3*/
.text-sezione-3 {
  font-size: 3rem;
  line-height: 3rem;
  font-family: "Bricolage Grotesque", serif;
}

.subtext-sezione-3 {
  font-weight: 200;
  font-size: var(--16px);
}

/*SEZIONE 4*/
.container-sezione {
  font-size: 1rem;
  font-weight: 400;
  padding-bottom: 0.5rem;
  margin: 0 auto;
}

.container-sezione-3 {
  font-size: 1.5rem;
  border-bottom: 1px solid #fede84;
  padding-bottom: 0.5rem;
  margin: 0 auto;
}

/*SEZIONE 5*/
.sezione-5 {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*SEZIONE 7*/
svg {
  width: 15rem;
}

/*SEZIONE 8*/
.container-arrow {
  max-width: 340px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .container-arrow {
    max-width: 780px;
    margin: 0 auto;
  }
}

/*SEZIONE 15*/
.text-sezione-15 {
  font-size: 3rem;
  line-height: 3rem;
  font-family: "Bricolage Grotesque", serif;
}

.text-sezione-15-b {
  font-size: 3rem;
  line-height: 3rem;
  font-family: "Bricolage Grotesque", serif;
}

/*SEZIONE 18*/
.text-sezione-18 {
  font-size: 3rem;
  line-height: 3rem;
  font-family: "Bricolage Grotesque", serif;
}

.progress-bar-container {
  width: 100%;
  height: 0.5rem;
  background-color: #ddd; /* Colore sfondo barra */
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: #d96a9e; /* Colore della barra quando si riempie */
  transition: width 1s ease-out;
}

/*SEZIONE 19*/

.text-sezione-19 {
  font-size: 3rem;
  line-height: 3rem;
  font-family: "Bricolage Grotesque", serif;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.text-recensione {
  font-weight: 200;
}

.custom-slide {
  background-color: #1b1b1b;
  border: 1px solid white;
  border-radius: 2rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* necessaria per Swiper */
  box-sizing: border-box;
}

.swiper-pagination {
  text-align: center;
  margin-top: 1rem; /* spazio sotto le slide */
  position: static !important; /* rimuove overlay */
}

/* Frecce Swiper */
.swiper-button-next,
.swiper-button-prev {
  color: white;
}
.swiper-pagination-bullet {
  background: white;
}

/*FORM*/

.circle {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  background-color: transparent;
}

.circle:hover {
  border: 2px solid white;
  border-radius: 50%;
}

.circle img {
  width: 50%;
  height: auto;
  filter: brightness(0) invert(1);
}

/*FOOTER*/
footer {
  border-top: 1px solid #fede84;
  margin-top: 3rem;
  font-size: var(--14px);
}

/*RISORSE GRATUITE*/
.title-risorse {
  color: white !important;
  text-decoration: none;
}

.container-img-commerce {
  overflow: hidden;
  position: relative;
}

.img-commerce {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
}

.img-commerce:hover {
  transform: scale(1.1);
}

.cta-commerce {
  border-bottom: 1px solid white;
  display: inline;
  padding-bottom: 0.3rem;
}
.cta-commerce a {
  color: white;
  text-decoration: none;
}

.box-commerce {
  border: 0.5px solid white;
}

/*SCHEDA PRODOTTO*/
.container-prodotto {
  max-width: 1400px;
  margin: 0 auto;
}

.linea {
  border-bottom: 1px solid #fede84;
}

.container-price {
  padding: 1rem;
}

swiper-container.swiper-gallery {
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border: 1px solid white;
  border-radius: 1rem;
}

swiper-container.swiper-gallery swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

swiper-container.swiper-gallery swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  padding: 1rem;
}

/* Frecce Swiper solo per questo carousel */
.swiper-gallery .swiper-button-next,
.swiper-gallery .swiper-button-prev {
  color: white;
  z-index: 10;
}

.swiper-gallery .swiper-button-next {
  right: var(--swiper-navigation-sides-offset, 2px);
}

.swiper-gallery .swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 0px);
}

/* Paginazione */
.swiper-gallery .swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.swiper-gallery .swiper-pagination-bullet {
  background-color: white !important;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

.swiper-gallery .swiper-pagination-bullet-active {
  background-color: white !important;
}

.swiper-gallery .swiper-pagination-bullet:hover {
  background-color: #ccc !important;
}

.price {
  font-size: 1rem;
}

.consegna {
  font-size: 0.8rem;
}

.bi {
  width: 2rem;
}

.button-ecommerce {
  background-color: #d96a9e;
  border: none;
  border-radius: 0.5rem;
  padding: 0.7rem 1.2rem;
}

.button-ecommerce a {
  color: white;
  text-decoration: none;
}

/*PAGINA PROGETTI*/
.project-card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 250px;
  color: white;
  border-radius: 8px;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.project-link {
  position: absolute;
  bottom: 10px;
  left: 15px;
  font-weight: 500;
  z-index: 2;
  text-decoration: none;
  color: white;
}

/*BLOG*/
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 0.8rem;
}

figcaption {
  font-size: 1rem !important;
  color: black !important;
}

.figure-caption-1 {
  font-size: 0.8rem !important;
}

.figure-caption-1 a {
  color: #0b1b26 !important;
}

.em-cpanel {
  font-size: 0.8rem;
}

.card-blog {
  box-shadow: rgba(255, 255, 255, 0.9) 0px 1px 4px;
  border: none;
  margin-bottom: 1.5rem;
  height: 100%;
}

.tag-label {
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem;
  border-radius: 5rem;
  color: var(--text-color, #000);
  align-self: start;
  width: auto;
}
.filter-btn.active {
  color: #d96a9e;
  border: 1px solid #d96a9e !important;
}

.filter-btn {
  padding: 0.5rem 0.8rem;
  border-radius: 2rem;
  color: white;
  border: none;
  margin: 0.3rem;
  border: 1px solid white !important;
  font-size: 0.9rem;
  background-color: transparent;
}

.filter-btn:hover {
  color: #d96a9e;
  border: 1px solid #d96a9e !important;
}

.link {
  color: black;
  border-radius: 5rem;
  background-color: #d96a9e;
  padding: 0.5rem 0.8rem;
  align-self: start;
  width: auto;
  text-decoration: none;
}

.sviluppo {
  background-color: #c3b0e7;
}

.linkedin {
  background-color: #b7cdda;
}

.freelance {
  background-color: orange;
}

.sitiweb {
  background-color: #fede6f;
}

.trend {
  background-color: #d96a9e;
}

.web {
  background-color: bisque;
}

.ads {
  background-color: blue;
  color: white;
}

/*ARTICOLI*/
.blog-theme {
  background-color: white;
}
