/**
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Roboto",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37373f; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #eb6710; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #7f7f90;  /* The default color of the main navmenu links */
  --nav-hover-color: #4fb064; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #7f7f90; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #4fb064; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f2f2f2;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1f1f24;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #37373f;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}


 #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 1rem;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease-in-out;
  }

  #cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
  }

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}



/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #eb6710;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 2px solid #4fb064;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
    max-height: 80px; /* Aumenta la misura del logo */
  margin-right: 8px;
  height: auto;
  width: auto;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--default-font);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 36px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* ====================== */
/* NAVBAR BASE */
/* ====================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.4s ease;
  background-color: transparent;
  padding: 20px 0;
  border-bottom: 1px solid #419453; /* bordo verde */
}

/* Navbar in scroll */
.header.scrolled {
  background-color: #4fb064;
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Logo */
.header .logo img {
  height: 60px;
  transition: all 0.3s ease;
}

/* ====================== */
/* NAVMENU DESKTOP */
/* ====================== */
.navmenu {
  display: flex;
  align-items: center;
}

.navmenu ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navmenu a {
  color: #fff;
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.navmenu a:hover,
.navmenu a.active {
  color: var(--accent-color);
}

/* Pulsante “Scopri il Menu” */
.btn-getstarted {
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-getstarted:hover {
  background-color: #e67300;
}

/* ====================== */
/* VERSIONE MOBILE */
/* ====================== */
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  transition: color 0.3s ease;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navmenu ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #fff; /* menu bianco */
    text-align: center;
    padding: 15px 0;
    margin: 0;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .navmenu ul.active {
    display: flex;
  }

  .navmenu a {
    color: #4fb064; /* verde iniziale */
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .navmenu a:last-child {
    border-bottom: none;
  }

  .navmenu a:hover,
  .navmenu a.active {
    color: var(--accent-color);
    background-color: rgba(79, 176, 100, 0.05);
  }

  /* Sfondo dietro menu (quando aperto) */
  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
  }

  .mobile-nav-active .navmenu ul {
    display: flex;
    animation: fadeIn 0.3s ease both;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Elimina riga bianca indesiderata */
body {
  margin: 0;
  padding: 0;
}


/* Nasconde le icone su desktop */
.navmenu .mobile-social {
  display: none;
}

/* Mostra solo su mobile */
@media (max-width: 991px) {



  /* Se le icone sono dentro un <li> */
  .navmenu ul li.mobile-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 30;  
    border-bottom: none;
    order: 99; /* forza la posizione finale */
  }

  /* Stile delle icone */
  .navmenu .mobile-social a,
  .navmenu ul li.mobile-social a {
    color: #037b35; /* verde principale */
    font-size: 28px;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  /* Hover */
  .navmenu .mobile-social a:hover,
  .navmenu ul li.mobile-social a:hover {
    color: var(--accent-color); /* arancione */
    transform: scale(1.2);
  }

  /* Centra il contenuto del menu mobile */
  .mobile-nav-active .navmenu > ul {
    align-items: center;
    flex-direction: column;
  }
}




/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  --heading-font: var(--default-font);
  color: var(--default-color);
  background-color: #4fb064;
  border-top: solid 2px green;
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

.footer .icon {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .address p {
  margin-bottom: 0px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 20px;
  color: white;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .copyright {
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 10px;
  font-family: var(--default-font);
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 56px;
  }
}





/* ====================== */
/* HERO SECTION FULLSCREEN */
/* ====================== */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video di sfondo */
#heroVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay scuro sopra al video */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

/* Contenuto */
.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Titolo e paragrafo */
.hero-content h1 {
  text-transform: uppercase;
  color: var(--accent-color);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-content p {
  text-transform: uppercase;
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

/* Pulsante menu */
.btn-download-right {
  display: inline-block;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--accent-color);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-download-right:hover {
  background-color: #e67300;
  transform: translateY(-2px);
  color:white;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 400;
  padding: 0;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  display: inline-block;
  text-transform: uppercase;
  font-family: var(--default-font);
}

.section-title p {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 500;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.section-title p .description-title {
  color: var(--accent-color);
}



/* Hero section fullscreen */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video fullscreen */
#heroVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay per rendere testo leggibile */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}



/* Contenuto hero */
.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  color: #ff7f00;
}

.hero-content h1 {
  text-transform: uppercase;          /* tutto maiuscolo */
  color: var(--accent-color);         /* il tuo arancione personalizzato */
  font-size: 4rem;                    /* grande e visibile su desktop */
  font-weight: 700;                   /* grassetto marcato */
  letter-spacing: 2px;                /* spaziatura elegante */
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* migliora contrasto sul video */
}

/* Paragrafo sotto il titolo */
.hero-content p {
  color: #fff;                        /* bianco puro */
  font-size: 1.3rem;                  /* dimensione leggibile */
  font-weight: 300;       /* anche qui tutto maiuscolo */
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Responsive: regola le dimensioni su mobile */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

.hero-content {
  -webkit-animation: fadeInUp 1.5s ease forwards;
  animation: fadeInUp 1.5s ease forwards;
}

@-webkit-keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}





/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

/* ====================== */
/* Mini Galleria Elegante About */
/* ====================== */

.about-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.about-gallery .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease, transform 4s ease;
}

.about-gallery .slide.active {
  opacity: 1;
  transform: scale(1.03);
  z-index: 2;
}

.about-gallery img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ====================== */
/* FIX VISIBILITÀ MOBILE */
/* ====================== */

@media (max-width: 768px) {
  .about-gallery {
    height: 220px; /* imposta un'altezza minima visibile su mobile */
    border-radius: 8px;
  }

  .about-gallery img {
    object-fit: cover;
    height: 100%;
  }

  /* Evita che il container padre riduca la visibilità */
  .about-gallery .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
  }

  .about-gallery .slide.active {
    opacity: 1;
  }
}


.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}



.menu-download-section {
  width: 100%;
  background-color: #fff;
  padding: 40px 0;
}

/* Titolo */
.menu-title {
  font-size: 30px;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  margin: 0;
}

.menu-title .description-title {
  font-weight: 700;
}

/* Pulsante a destra */
.btn-download-right {
  display: inline-block;
  width: 400px;
  padding: 15px 100px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;                 /* testo bianco */
  background-color: var(--accent-color);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-download-right:hover {
  background-color: #e67300;  /* arancione più scuro */
  transform: translateY(-2px);
}

.menu-download-section {
  width: 100%;
  background-color: #fff;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.border-section {
  border: 2px solid #ff7f00; /* bordo arancione */
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* consente il wrapping su mobile */
}

.border-section:hover {
  box-shadow: 0 12px 25px rgba(255,127,0,0.4);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .menu-download-section {
    padding: 20px;
  }

  .border-section {
    padding: 20px;
  }

  .btn-download-right {
    width: 100%;
    max-width: 320px; /* opzionale: limita un po’ la larghezza */
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .menu-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
}

/* Nascondi sezione su dispositivi mobili */
.hide-mobile {
  display: block;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .why-box {
  color: var(--contrast-color);
  background: #4fb064;
  padding: 30px;
  border-radius: 6px;
  border: solid 1px #eb6710;
}

.why-us .why-box h3 {
  color: var(--contrast-color);
  font-family: var(--default-font);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .why-box p {
  margin-bottom: 30px;
}

.why-us .why-box .more-btn {
  display: inline-block;
  background: #eb6710;
  padding: 8px 40px 10px 40px;
  color: var(--contrast-color);
  transition: all ease-in-out 0.4s;
  border-radius: 50px;
}

.why-us .why-box .more-btn i {
  font-size: 14px;
}

.why-us .why-box .more-btn:hover {
  color: var(--accent-color);
  background: var(--surface-color);
}

.why-us .icon-box {
  background-color: var(--surface-color);
  text-align: center;
  padding: 40px 30px;
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.why-us .icon-box i {
  color: var(--accent-color);
  font-size: 32px;
  margin-bottom: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  transition: 0.3s;
}

.why-us .icon-box h4 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 30px 0;
  font-family: var(--default-font);
}

.why-us .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .icon-box:hover i {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.btn-carta {
  background-color: var(--accent-color); /* il tuo arancione */
  color: var(--contrast-color); /* bianco */
  border: 2px solid var(--accent-color);
  padding: 10px 25px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-carta:hover {
  background-color: white;
  color: #eb6710;
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  position: relative;
  padding: 120px 0;
}

.stats img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.stats:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.stats .container {
  position: relative;
  z-index: 3;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--default-color);
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}


/* ---------- VISIBILITÀ RESPONSIVE ---------- */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 991px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}

/* --- Stile tabella mobile --- */
.why-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.why-row {
  border-bottom: 1px solid green;
  transition: background 0.3s ease;
  cursor: pointer;
}

.why-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.2rem;
}

.why-header i {
  font-size: 1.5rem;
  color: #c02a1d;
}

.why-header h4 {
  font-size: 1.1rem;
  margin: 0;
}

.why-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  background: #fafafa;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.why-row.active .why-content {
  max-height: 300px;
  padding: 0.8rem 1.2rem;
}

.why-row:hover {
  background: #f9f9f9;
}


/*--------------------------------------------------------------
# Menu Section
--------------------------------------------------------------*/
.menu .nav-tabs {
  border: 0;
}

.menu .nav-link {
  background-color: var(--background-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 15px;
  padding: 10px 5px;
  transition: 0.3s;
  border-radius: 0;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

@media (max-width: 575px) {
  .menu .nav-link {
    margin: 0 10px;
    padding: 10px 0;
  }
}

.menu .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.menu .nav-link h4 {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  font-family: var(--default-font);
}

@media (max-width: 575px) {
  .menu .nav-link h4 {
    font-size: 16px;
  }
}

.menu .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.menu .nav-link.active {
  background-color: var(--background-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.menu .tab-content .tab-header {
  padding: 30px 0;
}

.menu .tab-content .tab-header p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
}

.menu .tab-content .tab-header h3 {
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
}

.menu .tab-content .menu-item {
  text-align-last: center;
}

.menu .tab-content .menu-item .menu-img {
  padding: 0 60px;
  margin-bottom: 15px;
}

.menu .tab-content .menu-item h4 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 5px;
  font-family: var(--default-font);
}

.menu .tab-content .menu-item .ingredients {
  font-family: var(--nav-font);
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 5px;
}

.menu .tab-content .menu-item .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
}

/* --- Menu Item / Galleria con peek su mobile --- */
.menu .tab-content .menu-item {
  text-align: center;
  flex: 0 0 auto; /* Blocca larghezza su mobile scrollabile */
}

/* Immagini menu */
.menu .tab-content .menu-item .menu-img {
  max-width: 100%;
  max-height: 200px; /* Altezza massima desktop */
  margin-bottom: 15px;
  padding: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  border-radius: 8px; /* leggero arrotondamento */
}

/* Hover zoom elegante */
.menu .tab-content .menu-item .menu-img:hover {
  transform: scale(1.1);
  filter: brightness(1.05);
}

/* Desktop: griglia normale */
@media (min-width: 768px) {
  .menu .tab-content .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .menu .tab-content .menu-item {
    width: calc(33.333% - 20px); /* 3 colonne con gap */
  }
}

/* Mobile: scroll orizzontale con peek */
@media (max-width: 767px) {
  .menu .tab-content .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 10px;
    padding-left: 10px; /* piccolo spazio iniziale */
    padding-right: 10px;
    scroll-padding-left: 10px; /* compatibilità scroll snap */
  }

  .menu .tab-content .menu-item {
    width: 80%; /* Larghezza principale */
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  /* Scrollbar elegante */
  .menu .tab-content .row::-webkit-scrollbar {
    height: 6px;
  }
  .menu .tab-content .row::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
  }
  .menu .tab-content .row::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Peek della prossima immagine */
  .menu .tab-content .row {
    scroll-snap-type: x mandatory;
  }
  .menu .tab-content .menu-item {
    scroll-snap-align: start;
  }
}

/* Mobile: gallery fullscreen orizzontale */
@media (max-width: 767px) {
  .menu .tab-content .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 20px 10px;
    scroll-padding-left: 10px;
    scroll-snap-type: x mandatory;
  }

  .menu .tab-content .menu-item {
    width: 90%; /* Anteprime molto grandi */
    flex: 0 0 auto;
    margin-bottom: 0;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh; /* Altezza quasi fullscreen */
  }

  .menu .tab-content .menu-item .menu-img {
    max-height: 100%; /* Occupa tutta l’altezza disponibile */
    width: auto;      /* Mantiene proporzioni */
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .menu .tab-content .menu-item .menu-img:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
  }

  /* Scrollbar elegante */
  .menu .tab-content .row::-webkit-scrollbar {
    height: 6px;
  }
  .menu .tab-content .row::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
  }
  .menu .tab-content .row::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* Fix sezione mobile per tutte le tabs */
@media (max-width: 767px) {
  .menu .tab-content .menu-item {
    width: 90%; /* Anteprime grandi */
    flex: 0 0 auto;
    margin-bottom: 0;
    scroll-snap-align: start;

    display: flex;
    flex-direction: column; /* Assicura immagine sopra testo */
    justify-content: center;
    align-items: center;
    height: auto; /* Consente testo sotto immagine senza overflow */
    gap: 10px; /* Spazio tra immagine e testo */
  }

  .menu .tab-content .menu-item .menu-img {
    max-height: 70vh; /* Altezza massima mobile */
    width: auto;
    border-radius: 10px; /* Arrotondamento uniforme */
    padding: 0; /* Rimuove padding extra che rompe border-radius */
    object-fit: cover; /* Mantiene proporzioni e riempie box */
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .menu .tab-content .menu-item .menu-img:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
  }
}

/* --- Mobile: scroll orizzontale con peek per tutte le sezioni --- */
@media (max-width: 767px) {
  .menu .tab-content .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 20px 10px;
    scroll-padding-left: 10px;
    scroll-snap-type: x mandatory;
  }

  .menu .tab-content .menu-item {
    width: 85%; /* Anteprime grandi ma lascia peek della prossima */
    flex: 0 0 auto;
    margin-bottom: 0;
    scroll-snap-align: start;

    display: flex;
    flex-direction: column; /* immagine sopra testo */
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .menu .tab-content .menu-item .menu-img {
    max-height: 70vh;
    width: auto;
    border-radius: 10px;
    padding: 0;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .menu .tab-content .menu-item .menu-img:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
  }

  /* Scrollbar elegante */
  .menu .tab-content .row::-webkit-scrollbar {
    height: 6px;
  }
  .menu .tab-content .row::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
  }
  .menu .tab-content .row::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* --- Desktop: anteprime più grandi --- */
@media (min-width: 768px) {
  .menu .tab-content .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .menu .tab-content .menu-item {
    width: calc(33.333% - 20px); /* 3 colonne con gap */
    text-align: center;
  }

  .menu .tab-content .menu-item .menu-img {
    max-width: 100%;
    max-height: 300px; /* aumenta altezza rispetto ai 200px precedenti */
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: cover;
    cursor: pointer;
  }

  .menu .tab-content .menu-item .menu-img:hover {
    transform: scale(1.1);
    filter: brightness(1.05);
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
  border-left: 3px solid var(--accent-color);
  padding-left: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  border-radius: 0%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
  width: 100%;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 991px) {
  .testimonials .testimonial-item .testimonial-img {
    width: 50%; /* puoi cambiare a 70% se vuoi ancora più piccola */
    margin: 0 auto; /* mantiene l'immagine centrata */
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  transition: 0.3s;
}

.services .team-member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.services .team-member .member-img:after {
  position: absolute;
  content: "";
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 100%;
  background-color: var(--surface-color);
  -webkit-mask: url("../img/team-shape.svg") no-repeat center bottom;
  mask: url("../img/team-shape.svg") no-repeat center bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
  z-index: 1;
  border-radius: 6px;
}


.services .team-member .member-info {
  padding: 10px 15px 20px 15px;
}

.services .team-member .member-info h3 {
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 25px;
  color:#eb6710;
  font-family: var(--default-font);
}

.services .team-member .member-info span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.services .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  padding-top: 15px;
  line-height: 26px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* Scroll orizzontale robusto per servizi - mobile only */
@media (max-width: 768px) {
  /* wrapper scroll */
  .scroll-container {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    -ms-overflow-style: none; /* IE/Edge scrollbar hidden */
    scrollbar-width: none; /* Firefox scrollbar hidden */
  }
  /* hide scrollbar visually */
  .scroll-container::-webkit-scrollbar { display: none; }

  /* Forza la row interna a non wrappare e usa gap */
  .scroll-container > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    margin-left: 0;   /* evita problemi con le negative margins di bootstrap */
    margin-right: 0;
  }

  /* Forza le colonne a comportarsi come slides */
  .scroll-container .col-lg-4,
  .scroll-container .col-xl-4,
  .scroll-container [class*="col-"] { /* fallback per varie classi col */
    flex: 0 0 85% !important;    /* larghezza di ogni box visible */
    max-width: 85% !important;
    scroll-snap-align: center;
    display: block;
  }

  /* Assicura che il team-member occupi tutta l'altezza della slide */
  .scroll-container .team-member {
    height: 100%;
  }

  /* Se un antenato ha overflow hidden lo segnaliamo visivamente in debug (rimuovilo se non serve) */
  /* .scroll-container * { outline: none; } */
}

.scroll-container.dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}
.scroll-container {
  cursor: grab;
  cursor: -webkit-grab;
}


/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper-wrapper {
  height: auto;
}

.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  border: 0;
  width: 12px;
  height: 12px;
  opacity: 1;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  opacity: 1;
}

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 40px 0;
  }

  .gallery .swiper-slide-active {
    background: var(--background-color);
    border: 6px solid var(--accent-color);
    padding: 4px;
    z-index: 1;
    transform: scale(1.2);
    transition: none;
  }
}


/*--------------------------------------------------------------
# Bar Section
--------------------------------------------------------------*/

.bar .container-fluid {
  padding: 0;
}

.bar .bar-item {
  background-size: cover;
  background-position: center;
  min-height: 600px;
  padding: 30px;
}

@media (max-width: 575px) {
  .bar .bar-item {
    min-height: 500px;
  }
}

.bar .bar-item:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}

.bar .bar-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #ffffff;
  position: relative;
}

.bar .bar-item .price {
  color: #ffffff;
  border-bottom: 2px solid var(--accent-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.bar .bar-item .description {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.bar .swiper-wrapper {
  height: auto;
}

.bar .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.bar .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.bar .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.bar-item {
  position: relative;
  z-index: 1;
}

.bar-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* se vuoi mantenere l’oscuramento */
  z-index: 0;
}

.bar-item * {
  position: relative;
  z-index: 2; /* garantisce che testo e pulsante siano sopra all’overlay */
}

/* Pulsante */
.btn-birrabro {
  display: inline-block;
  background-color: #ff7f00;
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-birrabro:hover {
  background-color: #e67300;
  color: #fff;
  transform: translateY(-2px);
}

/* Pulsante personalizzato */
.btn-caffeeuropa {
  display: inline-block;
  background-color: #ff7f00;
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-caffeeuropa:hover {
  background-color: #e67300;
  color: #fff;
  transform: translateY(-2px);
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
}

.contact .info-item .icon {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  margin-right: 15px;
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
  font-family: var(--default-font);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item .social-links a {
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  margin: 4px 6px 0 0;
  transition: 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact .info-item .social-links a:hover {
  color: var(--accent-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 30px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  border: 2px solid #28a745; /* ✅ bordo verde da 2px */
  border-radius: 6px;
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: #218838; /* verde più intenso al focus */
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/


.image-wrapper {
  display: inline-block;
  border-width: 5px;         /* Spessore del bordo */
  border-style: solid;
  border-color: orangered;        /* Colore del bordo */
  overflow: hidden;          /* Evita che l'immagine esca dal bordo */
}



  @media (max-width: 1199px) {

    /* Centrare testo del menu mobile */
    .navmenu ul {
      text-align: center;
    }
  
    .navmenu ul li {
      display: block;
    }
  
    .navmenu a {
      justify-content: center; /* centra i link */
    }
  
    /* Pulsante in basso */
    .mobile-cta {
      margin-top: 20px;
    }
  
    .mobile-cta .btn-getstarted {
      color: var(--contrast-color);
      background: var(--accent-color);
      font-size: 15px;
      font-weight: 600;
      padding: 10px 28px;
      border-radius: 50px;
      transition: 0.3s;
      display: inline-block;
    }
  
    .mobile-cta .btn-getstarted:hover {
      background: color-mix(in srgb, var(--accent-color), transparent 15%);
    }
  
    /* Sezione social */
    .mobile-social .social-links a {
      font-size: 24px;
      margin: 0 10px;
      color: var(--accent-color);
      transition: 0.3s;
    }
  
    .mobile-social .social-links a:hover {
      color: color-mix(in srgb, var(--accent-color), black 20%);
    }
  
    /* Posizionamento fisso in fondo allo schermo */
    .mobile-social {
      position: absolute;
      bottom: 30px;
      left: 0;
      right: 0;
    }
  
    .mobile-cta {
      position: absolute;
      bottom: 90px;
      left: 0;
      right: 0;
    }
  }
  
  

/* Contenitore scrollabile */
.supplier-logos .row {
  display: flex;               /* Assicura comportamento flex */
  flex-wrap: nowrap;           /* Tutte in una riga */
  overflow-x: auto;            /* Scroll orizzontale */
  -webkit-overflow-scrolling: touch; /* Scroll fluido su iOS */
  justify-content: center;     /* Centra su desktop */
}

/* Nasconde o personalizza la scrollbar */
.supplier-logos .row::-webkit-scrollbar {
  height: 6px;
}
.supplier-logos .row::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}
.supplier-logos .row::-webkit-scrollbar-track {
  background: transparent;
}

/* Colonne */
.supplier-logos .col-4 {
  flex: 0 0 auto;        /* Non ridimensionare automaticamente */
  width: 200px;          /* Dimensione fissa per ogni colonna */
  height: 200px;         /* Altezza coerente */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

/* Ultima colonna senza margine destro */
.supplier-logos .col-4:last-child {
  margin-right: 0;
}

/* Immagini */
.supplier-logos img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

/* Effetto hover */
.supplier-logos a:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Mobile - scroll naturale e un po' di padding laterale */
@media (max-width: 767px) {
  .supplier-logos .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .supplier-logos .row {
    justify-content: flex-start; /* scroll a sinistra su mobile */
  }
}

/* Verifica visibilità corretta desktop/mobile */
.desktop-only {
  display: block !important;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
}