/* assets/css/adriatica-theme.css */

/* -------------------------------------------------------
   THEME COLORS (override non invasivo)
   ------------------------------------------------------- */
:root{
  /* Colore principale (giallo racing) */
  --gt-theme: #ffed00;

  /* Neutri */
  --adriatica-dark: #0f1115;
  --adriatica-gray: #6b7280;
  --adriatica-border: rgba(255,255,255,.10);
}


h1,
h2,
h3,
h4,
h5,
h6 {
 
  text-transform: none;
}

/* Pulsanti / accenti che usano la variabile tema del template */
.gt-theme-btn,
.gt-theme-btn.style-2{
  background: var(--gt-theme);
  border-color: var(--gt-theme);
  color: #000;
}

.gt-hero-4 .gt-hero-content .gt-text-btn {
  color: #000;
}

.gt-theme-btn:hover,
.gt-theme-btn.style-2:hover{
  filter: brightness(0.92);
}

.gt-theme-btn.gt-border-style,
.gt-border-style{
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  color: #000;
}

.gt-theme-btn.gt-border-style:hover,
.gt-border-style:hover{
  border-color: var(--gt-theme);
  color: var(--gt-theme);
}

.offcanvas__wrapper .offcanvas__content .offcanvas__close i {
  color: #000;
}


.gt-theme-btn:hover .gt-text-btn .gt-text-2 {
  
  color: #000!important;
}
/* Link puliti */
.gt-link-clean{
  text-decoration: none;
}

.gt-link-clean:hover{
  text-decoration: underline;
}

/* -------------------------------------------------------
   CARD MINI (pulito / istituzionale)
   ------------------------------------------------------- */
.gt-card-mini{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,.04);
  height: 100%;
}

.gt-card-mini h3{
  margin-bottom: 10px;
}

.gt-card-mini p{
  color: var(--adriatica-gray);
}

/* HERO BACKGROUND – Adriatica Racing */
.adriatica-hero-bg{
  background-image:
    linear-gradient(
      rgba(0,0,0,.55),
      rgba(0,0,0,.55)
    ),
    url('../img/adriatica/hero-bg.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
}


/* -------------------------------------------------------
   HERO pill
   ------------------------------------------------------- */
.gt-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

/* -------------------------------------------------------
   Header / Top bar
   ------------------------------------------------------- */
.header-top-wrapper-2 .top-left a{
  text-decoration: none;
}

.header-top-wrapper-2 .top-left a:hover{
  text-decoration: underline;
}

/* -------------------------------------------------------
   LOGO RESPONSIVE
   Classe: .adriaticaracinglogo
   - padding verticale 10px
   - max 120px
   ------------------------------------------------------- */
.adriaticaracinglogo{
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  line-height: 0;
}

img.adriaticaracinglogo{
  display: block;
  width: auto;
  max-width: 120px;         /* max 120px richiesto */
  height: auto;             /* responsive */
}

/* Variante utile se il logo sta in header sticky e vuoi limitarlo sempre */
#header-sticky img.adriaticaracinglogo{
  max-width: 120px;
}

 img.adriaticaracinglogomobile{
    max-width: 100px;
  }

/* ---------------------------------------
   CARTA 2026 – cover full width centrata
---------------------------------------- */

.carta-hero .gt-video-wrapper{
    width: 100vw;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center center;
    background-size: cover;
    margin-left: calc(-50vw + 50%);
}

/* overlay centrato */
.carta-hero-inner{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* badge contenuto */
.carta-hero-badge{
    background: rgba(0,0,0,.55);
    border-radius: 16px;
    padding: 40px;
    max-width: 720px;
    width: 100%;
    text-align: center;
}

/* Logo dentro lo sticky header */
.adriatica-sticky-logo{
  display: none; /* nascosto finché non diventa sticky (desktop) */
  align-items: center;
}

/* Quando il template applica la classe sticky */
#header-sticky.sticky .adriatica-sticky-logo{
  display: inline-flex;
}

.gt-about-wrapper .gt-about-content .gt-about-text {
 
  text-align: justify;
}

img.gt-about-img-1, .gt-about-image-2
{
    max-width: 100%;
}


.gt-service-details-wrapper .gt-service-details-item.contenutipagina h1
{
  font-size: 40px;
  font-weight: 800;
  line-height: 108%;
  margin-bottom: 15px;
  text-transform: uppercase;

}

.gt-service-details-wrapper .gt-service-details-item.contenutipagina h2 
{
    font-size: 30px;
  font-weight: 600;
  line-height: 108%;
  padding-top: 30px;
  margin-bottom: 20px;
}

.gt-service-details-wrapper .gt-service-details-item.contenutipagina h3
{
font-size: 22px;
  font-weight: 600;
  line-height: 108%;
  margin-top: 25px;
  margin-bottom: 20px;
 
}

.gt-service-details-wrapper .gt-service-details-item.contenutipagina h4
{
    font-size: 16px;
  font-weight: 600;
  line-height: 108%;
  margin-top: 20px;
  margin-bottom: 15px;
}

.gt-service-details-wrapper .gt-service-details-item.contenutipagina p
{
    line-height: 200%;
}

.gt-service-details-wrapper .gt-service-details-item.contenutipagina ul li {
  margin-bottom: 20px;
}

.gt-service-details-wrapper .gt-service-details-item.contenutipagina ul li:not(:last-child) {
  margin-bottom: 15px;
}
.gt-service-details-wrapper .gt-service-details-item.contenutipagina ul li i {
  color: var(--gt-theme);
  margin-right: 8px;
}    

.contenutipagina  img {
  width: 100%!important;
  max-width: 800px!important;
}

.gt-service-details-wrapper .gt-service-details-item.contenutipagina a {
  text-decoration: underline;
  outline: none !important;
  cursor: pointer;
  color: var(--gt-header);
  transition: all 0.4s ease-in-out;
  font-weight: 600;
}

.contenutipagina .gt-card-mini span i
{
      color: var(--gt-theme);
}


.footer-bottom a 
{
	color: var(--gt-theme);
}	

p.copyright-text 
{ 
	font-size: 13px;
}

p.copyright-text a 
{
	color: var(--gt-theme);
}		

/* Su mobile lo vogliamo sempre visibile nella barra */
@media (max-width: 1199.98px){
  .adriatica-sticky-logo{
    display: inline-flex;
  }
}


/* -------------------------------------------------------
   FIX MOBILE (<1200px): LOGO SX + HAMBURGER DX
   main.css nasconde .main-logo sotto 1199px: lo riattiviamo
-------------------------------------------------------- */
@media (max-width: 1199px){

  /* ri-mostra il logo che il template nasconde */
  .header-section-2.header-section-4 .header-4-items .main-logo{
    display: block !important;
    position: relative;
    z-index: 9999;
  }

  /* annulla offset desktop del link-logo */
  .header-section-2.header-section-4 .header-4-items .main-logo .main-logo-4{
    left: 0 !important;
    top: 0 !important;
  }

  /* layout header: logo a sinistra, resto a destra */
  .header-section-2.header-section-4 .header-4-items{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* evita che l’area destra prenda tutta la riga */
  .header-section-2.header-section-4 .header-main-items-right{
    width: auto !important;
    margin-left: 0 !important;
    flex: 1 1 auto;
  }

  /* spinge l’hamburger all’estrema destra */
  .header-section-2.header-section-4 .header-main{
    width: 100%;
    justify-content: flex-end;
  }

  .header-section-2.header-section-4 .header-right{
    margin-left: auto;
  }

  .header-section-2.header-section-4 .header__hamburger{
    margin-left: auto;
    display: flex;
    align-items: center;
  }

  /* dimensione logo in mobile */
  .header-section-2.header-section-4 img.adriaticaracinglogo{
    max-width: 120px;
    height: auto;
  }
  
    .main-logo-4 img.adriaticaracinglogo{
    display:none!important;
  }
  
    img.adriaticaracinglogomobile{
    max-width: 80px;
  }
   
}



/* mobile fine tuning */
@media (max-width: 767.98px){
    .carta-hero .gt-video-wrapper{
        min-height: 360px;
    }

    .carta-hero-badge{
        padding: 28px 22px;
    }
}



/* Mobile: se serve un filo più compatto */
@media (max-width: 575.98px){
  img.adriaticaracinglogo{
    max-width: 80px;
  }
}
