/* ================================
   GLOBAL & BASE
   ================================ */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #222;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
 /* Versione piccola (nav / footer) */
.logo-myitaly-small {
  font-family: 'Playfair Display', serif !important;
  font-size: 20px;   /* adatto a nav/footer */
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.15rem;
  line-height: 1;
}

.logo-myitaly-small a {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none; /* niente sottolineatura */
}

.logo-myitaly-small img {
  width: 10px;
  height: 10px;
  margin-top: 3px;  /* allineamento come ® */
  display: block;
}/* Versione grande (hero/header) */



/* Versione grande (hero/header) */
.logo-myitaly {
  font-family: 'Playfair Display', serif !important;
  font-size: 90px;   /* +40% rispetto all’originale */
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.28rem;
  line-height: 1;
  margin-bottom: 56px; 
  transform: rotate(-10deg); /* rotazione antioraria */
}

.logo-myitaly a {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
}

.logo-myitaly img {
  width: 31px;   /* +40% rispetto a 22px */
  height: 31px;
  margin-top: 9px;
  display: block;
}





/* ================================
   NAVBAR
   ================================ */
 
.lang-bar {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-radius: 5px;
}

.lang-bar .nav-link {
  
  padding: 0.25rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lang-bar .nav-link:hover,
.lang-bar .nav-link.active {
  opacity: 1;
}

.lang-bar img {
  border-radius: 2px;
  display: block;
}



.lang-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 colonne fisse */
  gap: 8px;                              /* spazio uniforme */
  justify-items: center;                 /* centrare immagini */
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.lang-grid a {
  display: inline-block;
  padding: 2px;
}

.lang-grid img {
  width: 32px;
  height: auto;
  display: block;
}

.lang-grid .active img {
  border: 2px solid #007bff;
  border-radius: 4px;
}

.navbar {
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 50, 0.25);
  
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: linear-gradient(90deg, #0033A0, #0057B7);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff !important;
}
.navbar-brand img {
  max-height: 50px;
}
.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.8rem;
  margin: 0 0.5rem;
  color: #fff !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00C6FF;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}
.navbar-toggler {
  border: none;
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* CTA NAV BUTTON */
.btn-cta {
  margin-left: 1rem;
  background: linear-gradient(135deg, #00C6FF, #0057B7);
  border: none;
  color: #fff !important;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
}
.btn-cta:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #0057B7, #00C6FF);
}

/* ================================
   HERO SPLIT con SETTORI
   ================================ */

   /* Default: desktop non serve padding extra */
 


.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0,51,160,0.9), rgba(0,87,183,0.85)),
              url('bg.jpg') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 100px 0;
}
.hero-text h1 {
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.hero-text .lead {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}
.hero-claim {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero-section .btn {
  margin: 0.5rem 0.25rem;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
}
.hero-section .btn-primary {
  background: linear-gradient(135deg, #00C6FF, #0057B7);
  border: none;
}
.hero-section .btn-primary:hover {
  background: linear-gradient(135deg, #0057B7, #00C6FF);
}
.hero-section .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
}
.hero-section .btn-outline-light:hover {
  background: #fff;
  color: #0033A0;
}

/* CARDS MINIMAL */
.sector-card-min {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  transition: all 0.25s ease;
}
.sector-card-min:hover {
  border-color: #0d6efd;
  background: #f9fbff;
}
.sector-card-min .card-icon {
  font-size: 1.6rem;
  color: #0d6efd;
}
.sector-card-min h6 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #003366;
}
.sector-card-min a {
  font-size: 0.85rem;
  text-decoration: none;
  color: #0d6efd;
  font-weight: 500;
}
.sector-card-min a:hover {
  text-decoration: underline;
}

/* ================================
   SECTIONS (settori sottostanti)
   ================================ */
.sector-section {
  padding: 5rem 0;
  background: #fff;
}
.sector-section:nth-of-type(even) {
  background: #f9f9f9;
}
.sector-section h2 {
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #003366;
}
.sector-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}
.sector-section img {
  max-height: 350px;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sector-section img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}
.btn-request {
  background: linear-gradient(135deg, #00C6FF, #0057B7);
  border: none;
  color: #fff !important;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
}
.btn-request:hover {
  background: linear-gradient(135deg, #0057B7, #00C6FF);
  transform: scale(1.05);
}

/* ================================
   FORM
   ================================ */
#interessamento {
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2rem;
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 720px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}
.form-title {
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
}
.form-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: #d1d1d1;
  margin-bottom: 2rem;
}
.form-gradient {
  background: linear-gradient(135deg, #0033A0, #0057B7, #00C6FF);
}
.form-control {
  border-radius: 0.75rem;
  border: 1px solid #ccc;
  padding: 1rem;
  font-size: 1rem;
}
.form-control:focus {
  border-color: #0057B7;
  box-shadow: 0 0 0 0.25rem rgba(0,87,183,0.2);
}
.btn-cta-submit {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 3rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255,65,108,0.3);
}
.btn-cta-submit:hover {
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255,65,108,0.4);
}
.privacy-note {
  font-size: 0.85rem;
  color: #dbdbdb;
  margin-top: 1rem;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: linear-gradient(180deg, #002c7b, #001b4d);
  color: #e0e6f5;
  padding: 4rem 0 2rem;
}
footer h6 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #fff;
}
footer a {
  color: #cbd4ff;
  text-decoration: none;
  transition: all 0.3s ease;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}
footer hr {
  border-color: rgba(255,255,255,0.4);
  margin: 2rem 0;
}
footer .copyright {
  font-size: 0.85rem;
  opacity: 0.8;
}
footer ul li {
  margin-bottom: 0.4rem;
}
/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 200px 0;
  }
  .hero-text h1 { font-size: 2rem; }
  .hero-text .lead { font-size: 1.1rem; }
  .hero-claim { font-size: 1rem; }
  .sector-card-min {
    padding: 1rem;
  }
}
