:root {
  --color-rosso: #630f30;
  --color-giallo: #bc9850;
  --color-rosso-button: #bb6f92;
  --color-testo-bianco: #fff6fd;
  --color-testo-grigio-chiaro: rgba(17, 17, 17, 0.5);
  --color-testo-grigio: #111111;
  --color-testo-grigio-badge: #1f1f1f;
  --color-bianco-body: #fff6fd;
  --font-size-12: 12px;
  --font-size-13: 13px;
  --font-size-16: 16px;
  --font-size-20: 20px;
  --font-size-25: 25px;
  --font-size-30: 30px;
  --font-size-70: 70px;
  --font-title: "din-condensed", sans-serif;
  --font-body: "avenir", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bianco-body);
  color: var(--color-testo-grigio);
  font-size: var(--font-size-16);
  line-height: 1.2;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title) !important;
  line-height: 1.2;
}

h1 {
  color: var(--color-rosso);
  font-size: var(--font-size-70);
}

@media (max-width: 480px) {
  h1 {
    color: var(--color-rosso);
    font-size: 50px;
    line-height: 1;
  }
}

h2 {
  color: var(--color-rosso);
  font-size: var(--font-size-70);
  line-height: 1;
}

@media (max-width: 480px) {
  h2 {
    color: var(--color-rosso);
    font-size: 40px;
  }
}

h3 {
  font-size: var(--font-size-25);
  color: var(--color-testo-grigio);
}

h4 {
  font-size: var(--font-size-25);
  color: var(--color-testo-grigio-chiaro);
  font-weight: 200 !important;
}

@media (max-width: 480px) {
  h4 {
    font-size: var(--font-size-20);
    color: var(--color-testo-grigio);
    opacity: 0.5;
  }
}

h5 {
  font-size: var(--font-size-25);
  color: var(--color-testo-grigio);
}

h6 {
  font-size: var(--font-size-30);
  color: var(--color-bianco-body);
}

@media (max-width: 480px) {
  h6 {
    font-size: var(--font-size-20);
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  font-family: var(--font-title);
  cursor: pointer;
  border: none;
  outline: none;
  letter-spacing: 0px;
}

.button {
  color: var(--color-bianco-body);
  background-color: var(--color-rosso-button) !important;
  padding: 0.5rem 2rem;
  border-radius: 24px;
  font-size: var(--font-size-20);
}

@media (min-width: 1400px) {
  html {
    font-size: 112.5%;
  }
}

@media (min-width: 1600px) {
  html {
    font-size: 125%;
  }
  .container {
    max-width: 1500px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 137.5%;
  }
  .container {
    max-width: 1700px;
  }
}

/***********************************************************************************/
/********************************* BANNER ANIMATO **********************************/
/***********************************************************************************/

.banner {
  background-color: var(--color-rosso);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
  padding: 0;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  height: 25px;
}

.banner-column {
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.banner-center {
  padding: 0 3rem;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.banner-text-center {
  color: var(--color-bianco-body);
  font-size: 13px;
  margin: 0;
  text-align: center;
  font-weight: 400;
}

.banner-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.banner-track {
  display: inline-flex;
  gap: 1rem;
  will-change: transform;
}

.banner-scroll-left .banner-track {
  animation: scroll-to-right 25s linear infinite;
}

.banner-scroll-right .banner-track {
  animation: scroll-to-left 25s linear infinite;
}

.banner-scroll-left {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.banner-scroll-right {
  mask-image: linear-gradient(
    to left,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to left,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.banner-item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
  white-space: nowrap;
}

.banner-text {
  color: var(--color-bianco-body);
  font-size: var(--font-size-12);
  white-space: nowrap;
  font-weight: 300;
  opacity: 0.8;
}

@keyframes scroll-to-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes scroll-to-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 820px) {
  .banner-grid {
    grid-template-columns: 1fr;
    height: 30px;
  }

  .banner-scroll-left,
  .banner-scroll-right {
    display: none;
  }

  .banner-center {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .banner-grid {
    height: 30px;
  }

  .banner-text-center strong {
    display: block;
  }
}

/***********************************************************************************/
/*********************************** HEADER ****************************************/
/***********************************************************************************/

.header {
  position: fixed;
  top: 25px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
}

.header-container {
  max-width: 100%;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.logo-img {
  height: 40px;
  width: auto;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-12);
}

.info-label {
  color: var(--color-rosso);
  font-weight: 600;
}

.info-date {
  color: var(--color-rosso);
  font-weight: 500;
}

.hamburger {
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-giallo);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.vai-shop {
  color: var(--color-giallo);
  font-size: var(--font-size-14);
}

.vai-shop:hover {
  text-decoration: underline;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh; /* SEMPRE 100vh */
  background-color: var(--color-rosso);
  z-index: 1002;
  overflow-y: auto;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.active {
  left: 0;
}

.nav-menu-inner {
  height: 100vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.nav-close:hover {
  transform: rotate(90deg);
}

.close-line {
  position: absolute;
  width: 32px;
  height: 2px;
  background-color: var(--color-giallo);
  top: 50%;
  left: 50%;
  border-radius: 2px;
}

.close-line-1 {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-line-2 {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 4rem;
  max-width: 800px;
  align-items: end;
  padding-bottom: 3rem;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-column-left {
  align-self: end;
}

.nav-column-right {
  align-self: end;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link-main {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--color-testo-bianco);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  line-height: 1.1;
  display: inline-block;
}

.nav-link-main:hover {
  color: var(--color-giallo);
  transform: translateX(10px);
}

.nav-submenu {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-sublink {
  font-family: var(--font-body);
  font-size: var(--font-size-16); /* SEMPRE 16px */
  color: rgba(255, 246, 253, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.nav-sublink::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1.5px;
  background-color: var(--color-giallo);
  transition: width 0.3s ease;
}

.nav-sublink:hover {
  color: var(--color-testo-bianco);
  padding-left: 16px;
}

.nav-sublink:hover::before {
  width: 8px;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  z-index: 998;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .header-container {
    padding: 0.75rem 1.5rem;
  }

  .header-left {
    gap: 1rem;
  }

  .logo-img {
    height: 35px;
  }

  .header-info {
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  .header {
    top: 30px;
  }

  .header-container {
    padding: 0.6rem 1.5rem;
  }

  .header-left {
    gap: 0.75rem;
  }

  .logo-img {
    height: 32px;
  }

  .header-info {
    font-size: 13px;
  }

  .info-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 1rem;
  }

  .header-info {
    display: none;
  }

  .logo-img {
    height: 28px;
  }

  .hamburger {
    width: 28px;
    height: 20px;
  }
}

@media (min-width: 1400px) {
  .nav-link-main {
    font-size: 2.75rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu-inner {
    height: 100vh;
  }

  .nav-content {
    gap: 1.5rem 3rem;
    padding-bottom: 3rem;
  }

  .nav-column {
    gap: 1.5rem;
  }

  .nav-link-main {
    font-size: 2.25rem;
  }

  .nav-sublink {
    font-size: var(--font-size-16);
  }
}

@media (max-width: 820px) {
  .nav-menu-inner {
    height: 100vh;
    padding: 1.5rem;
  }

  .nav-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .nav-column {
    gap: 1.5rem;
  }

  .nav-link-main {
    font-size: 2rem;
  }

  .nav-sublink {
    font-size: var(--font-size-16);
  }
}

@media (max-width: 480px) {
  .nav-menu-inner {
    height: 100vh;
    padding: 1rem;
  }

  .nav-link-main {
    font-size: var(--font-size-30);
  }

  .nav-logo-img {
    height: 32px;
  }

  .nav-content {
    gap: 1.25rem;
    padding-bottom: 6rem;
  }

  .nav-column {
    gap: 1.25rem;
  }

  .nav-section {
    gap: 0.4rem;
  }

  .nav-sublink {
    font-size: var(--font-size-20);
  }
}

/***********************************************************************************/
/********************************* SECTION 1 ***************************************/
/***********************************************************************************/

.hero-section {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

@media (min-width: 1600px) {
  .hero-section {
    height: 75vh;
  }

  .product-image {
    height: 500px;
    bottom: 0;
  }

  .ellisse {
    width: 400px;
    bottom: 12%;
  }
}

.product-image {
  position: absolute;
  height: 600px;
  width: auto;
  bottom: -15%;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.ellisse {
  position: absolute;
  height: auto;
  width: 500px;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero-section {
    height: 50vh;
  }

  .product-image {
    height: 500px;
    bottom: 0;
  }

  .ellisse {
    width: 400px;
    bottom: 12%;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) and (min-height: 600px) and (max-height: 800px) {
  .hero-section {
    height: 105vh;
  }
}

@media (max-width: 825px) {
  .hero-section {
    height: 55vh;
  }

  .product-image {
    height: 500px;
    bottom: 0;
  }

  .ellisse {
    width: 400px;
    bottom: 12%;
  }
}

@media (max-width: 769px) {
  .hero-section {
    height: 60vh;
  }

  .product-image {
    height: 450px;
    bottom: 3%;
  }

  .ellisse {
    width: 300px;
    bottom: 15%;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 65vh;
  }

  .product-image {
    height: 450px;
    max-height: 65vh;
    bottom: -13%;
  }

  .ellisse {
    width: 300px;
    bottom: 0%;
  }
}

@media (max-width: 420px) {
  .hero-section {
    height: 80vh;
  }

  .product-image {
    height: 500px;
    max-height: 65vh;
  }

  .ellisse {
    width: 300px;
  }
}

/***********************************************************************************/
/********************************* SECTION 1 ***************************************/
/***********************************************************************************/

.slider-content-3 {
  max-width: 1200px;
  margin: 0 auto;
}

.box-categorie {
  border-bottom: 1px solid var(--color-testo-grigio);
}

.border-right {
  border-right: 1px solid var(--color-testo-grigio);
}

.box-1-categoria {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.text-categoria {
  color: var(--color-testo-grigio-chiaro);
  font-size: var(--font-size-13);
  padding-bottom: 0;
  margin-bottom: 0;
  line-height: 1.8;
}

.text-categoria-1 {
  color: var(--color-testo-grigio-chiaro);
  font-size: var(--font-size-12);
  padding-bottom: 0;
  margin-bottom: 0;
  line-height: 1.3;
}

.cta-categoria {
  font-family: var(--font-title);
  color: var(--color-rosso-button);
  font-size: var(--font-size-25);
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .slider-track-3 {
    gap: 25px;
    padding: 0 calc(50% - 125px);
  }

  .slide {
    flex: 0 0 250px;
    transform: scale(1.1);
  }

  .slide.active {
    transform: scale(1.6);
  }

  .slider-arrows-3 {
    padding: 0 20px;
  }

  .slide-image {
    height: 280px;
  }
}

@media (max-width: 820px) {
  .border-right {
    border-right: none;
    border-bottom: 1px solid var(--color-testo-grigio);
  }

  .box-2-categoria {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .slider-track-3 {
    gap: 20px;
    padding: 0 calc(50% - 110px);
  }

  .slide {
    flex: 0 0 220px;
    transform: scale(1);
  }

  .slide.active {
    transform: scale(1.4);
  }

  .slider-arrows-3 {
    padding: 0 10px;
  }

  .arrow-3 {
    width: 35px;
    height: 35px;
  }

  .arrow-3 svg {
    width: 18px;
    height: 18px;
  }

  .slide-image {
    height: 250px;
  }

  .border-right {
    border-right: none;
    border-bottom: 1px solid var(--color-testo-grigio);
  }
}

@media (max-width: 480px) {
  .slider-track-3 {
    gap: 20px;
    padding: 0 calc(50% - 90px);
  }

  .slide {
    flex: 0 0 180px;
    transform: scale(1);
  }

  .slide.active {
    transform: scale(1.8);
  }

  .slider-arrows-3 {
    padding: 0 5px;
  }

  .arrow-3 {
    width: 44px;
    height: 44px;
  }

  .arrow-3 svg {
    width: 16px;
    height: 16px;
  }

  .slide-image {
    height: 280px;
  }

  .box-2-categoria {
    margin-top: 0.3rem;
  }
}

/***********************************************************************************/
/********************************* SECTION 2 ***************************************/
/***********************************************************************************/

.section-2 {
  padding: 5% 5%;
}

.numero-grande {
  font-family: var(--font-title);
  font-size: 60px;
  color: var(--color-rosso);
}

.text-section-2 {
  font-size: var(--font-size-16);
  color: var(--color-testo-grigio-badge);
}

@media (max-width: 480px) {
  .numero-grande {
    font-size: 40px;
  }
}

/***********************************************************************************/
/********************************* SECTION 2 - GRINDER ****************************/
/***********************************************************************************/

.section-2 {
  padding: 5% 5% 0 5%;
  display: flex;
  justify-content: center;
}

.tabs-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0;
}

.tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 48px 16px;
  font-family: var(--font-title);
  font-size: var(--font-size-25);
  color: var(--color-testo-grigio-chiaro);
  letter-spacing: 0.01;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
  line-height: 1;
}

.tab-btn:hover {
  color: var(--color-testo-grigio);
}

.tab-btn.active {
  color: var(--color-rosso);
  font-weight: 500;
}

.tabs-track {
  position: relative;
  width: calc(100% + 80px);
  margin-left: -40px;
  height: 1.5px;
  background: var(--color-testo-grigio);
}

.tabs-indicator {
  position: absolute;
  top: 0;
  height: 1.5px;
  background: var(--color-rosso);
  transition:
    left 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.tabs-content {
  padding-top: 28px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeUp 0.3s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel p {
  font-family: var(--font-body);
  font-size: var(--font-size-16);
  line-height: 1.4;
  color: var(--color-testo-grigio);
}

@media (max-width: 768px) {
  .tab-btn {
    padding: 8px 20px 16px;
    font-size: var(--font-size-25);
  }

  .tabs-track {
    width: calc(100% + 40px);
    margin-left: -20px;
  }
}

@media (max-width: 540px) {
  .tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 0;
  }

  .tab-btn:nth-child(3) {
    grid-column: 1 / -1;
  }

  .tab-btn {
    padding: 8px 10px 16px;
    font-size: var(--font-size-25);
    white-space: nowrap;
    text-align: center;
    width: 100%;
  }

  .tabs-track {
    width: calc(100% + 20px);
    margin-left: -10px;
  }
}
/***********************************************************************************/
/********************************* SECTION 3 ***************************************/
/***********************************************************************************/
.section-3 {
  padding: 5% 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
}

.box-1-section-3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
}

.box-img {
  flex: 0 0 48%;
}

.img-1-section-3 {
  width: 100%;
  max-height: 450px;
  border-radius: 30px;
  object-fit: cover;
}

.box-text {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.box-2-section-3 {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 30px;
  max-height: 450px;
  max-width: 1200px;
}

.box-img-overlay {
  flex: 0 0 48%;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 450px;
}

.img-2-section-3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  gap: 20px;
}

.overlay-content h3 {
  font-size: 55px;
  line-height: 1;
  margin: 0;
}

.box-text-colored {
  flex: 0 0 48%;
  background-color: #6b1f3d;
  border-radius: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  height: 450px;
}

.box-text-colored p {
  color: var(--color-rosso-button);
  font-size: var(--font-size-30);
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

@media (max-width: 1100px) {
  .section-3 {
    margin-bottom: 25rem;
  }
  .title-section-3 {
    font-size: 50px;
  }

  .overlay-content h3 {
    font-size: 40px;
  }

  .img-1-section-3 {
    display: none;
  }

  .box-2-section-3,
  .box-img-overlay,
  .box-text-colored {
    max-height: 400px;
    height: 400px;
  }
}

@media (max-width: 992px) {
  .section-3 {
    gap: 30px;
  }

  .box-1-section-3,
  .box-2-section-3 {
    flex-direction: column;
    gap: 30px;
  }

  .box-img,
  .box-text,
  .box-img-overlay,
  .box-text-colored {
    flex: 0 0 100%;
  }

  .box-2-section-3 {
    max-height: none;
  }

  .img-1-section-3 {
    max-height: 400px;
  }

  .box-img-overlay,
  .box-text-colored {
    height: 400px;
  }

  .overlay-content {
    padding: 35px;
  }

  .box-text-colored {
    padding: 50px 35px;
  }
}

@media (max-width: 820px) {
  .overlay-content h3 {
    font-size: 35px;
  }

  .box-img-overlay,
  .box-text-colored {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .title-section-3 {
    font-size: 40px;
  }

  .overlay-content {
    padding: 30px;
  }

  .box-text-colored {
    padding: 30px;
  }

  .overlay-content h3 {
    font-size: 30px;
  }

  .box-text-colored p {
    font-size: 25px;
  }

  .img-1-section-3 {
    display: inline;
  }
}
/***********************************************************************************/
/********************************* FOOTER **********************************/
/***********************************************************************************/
.footer-section {
  background-color: #f5e6ed;
  padding: 4rem 0 2rem 0;
}

.footer-main {
  margin-bottom: 3rem;
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-header {
  display: block;
}

.footer-title {
  font-family: var(--font-title);
  font-size: var(--font-size-25);
  color: var(--color-rosso-button);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-toggle {
  display: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-family: var(--font-title);
  font-size: var(--font-size-20);
  color: var(--color-testo-grigio);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-rosso-button);
  text-decoration: underline;
}

.footer-newsletter {
  max-width: 100%;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-rosso-button);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: var(--font-size-16);
  color: var(--color-testo-grigio);
  background-color: transparent;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(17, 17, 17, 0.5);
}

.newsletter-input:focus {
  border-color: var(--color-rosso-button);
  box-shadow: 0 0 0 3px rgba(187, 111, 146, 0.1);
}

.newsletter-form .button {
  width: 100%;
}

.newsletter-msg {
  margin: 0.5rem 0 0;
  font-family: var(--font-body);
  font-size: var(--font-size-14);
  min-height: 1.2em;
}

.newsletter-msg--ok {
  color: #2e7d32;
}

.newsletter-msg--err {
  color: var(--color-rosso-button);
}

.footer-bottom {
  margin-top: 1rem;
}

.footer-credits p {
  font-family: var(--font-body);
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.social-link {
  font-family: var(--font-title);
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--color-rosso-button);
}

.footer-email a {
  font-family: var(--font-title);
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-email a:hover {
  color: var(--color-rosso-button);
}

@media (max-width: 991px) {
  .footer-section {
    padding: 4rem 0 2rem 0;
  }

  .footer-column {
    margin-bottom: 0;
  }

  .footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
    border-bottom: 0.5px solid var(--color-giallo);
  }

  .footer-title {
    margin-bottom: 0;
    text-align: left;
  }

  .footer-toggle {
    display: block;
    font-size: 2rem;
    color: var(--color-giallo);
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
  }

  .footer-column.active .footer-toggle {
    transform: rotate(90deg);
  }

  .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 0;
    text-align: left;
  }

  .footer-column.active .footer-links {
    max-height: none;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }

  .footer-newsletter {
    margin-top: 1rem;
  }

  .footer-newsletter .footer-title {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .footer-section {
    padding: 4rem 0 2rem 0;
  }

  .footer-main {
    margin-bottom: 3rem;
  }

  .footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
  }

  .footer-credits,
  .footer-social,
  .footer-email {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .footer-social {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-section {
    padding: 4rem 0 2rem 0;
  }

  .footer-title {
    font-size: var(--font-size-20);
  }
}

/* ========================================
   MODALE IMMAGINI RESPONSIVE
   ======================================== */

.modal-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@media (min-width: 992px) {
  .modal-lg {
    max-width: 600px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .modal-img {
    border-radius: 4px;
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 8px;
  }
}
