/* style.css */

/* Usa il font Montserrat */
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-color: #f4f6f8;
  margin: 0;
  padding: 0;
  cursor: default;
}
a, button {
  cursor: pointer;
}

/* Navbar con gradiente e logo */
.navbar {
  background: linear-gradient(90deg, #003366, #0055aa);
  padding: 0.8rem 1rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-brand .logo {
  width: 40px;
  height: auto;
  margin-right: 10px;
}
.navbar .nav-link {
  color: #ffffff !important;
  white-space: nowrap;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffcc00 !important;
}
.navbar-toggler {
  z-index: 9999;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: url('../img/Progetto senza titolo.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
}

/* Features Section */
.features {
  background-color: #fff;
  padding: 60px 0;
}
.feature-box {
  padding: 20px;
  margin-bottom: 30px;
  background: #f9f9f9;
  border-radius: 8px;
  transition: transform 0.2s;
}
.feature-box:hover {
  transform: translateY(-5px);
}
.feature-box i {
  color: #0055aa;
}

/* Accordion (Materiali) */
.accordion-toggle i {
  transition: transform 0.2s ease-in-out;
}
.accordion-toggle i.rotate {
  transform: rotate(180deg);
}

/* Carousel Personalizzato (Chi Siamo) */
.custom-control .custom-icon {
  filter: invert(100%);
  transition: transform 0.2s;
}
.custom-control:hover .custom-icon {
  transform: scale(1.1);
}
.team-card .card-body {
  padding-bottom: 1.5rem;
}

/* Cards e blocchi */
.card,
.bg-light.rounded {
  transition: box-shadow 0.3s;
}
.card:hover,
.bg-light.rounded:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* Footer con Social Icons */
footer {
  background-color: #003366 !important;
  padding: 15px 0;
}
footer .social-icons a {
  font-size: 1.2rem;
  color: #ffffff;
  transition: color 0.3s;
}
footer .social-icons a:hover {
  color: #ffcc00;
}

/* Link */
a {
  transition: color 0.3s ease-in-out;
}
a:hover {
  color: #0055aa;
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f4f6f8;
}
::-webkit-scrollbar-thumb {
  background: #003366;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0055aa;
}

/* Cursor personalizzato leggero */
/* (definito con body, a, button sopra) */

/* Social buttons su pagina contatti */
/* Social buttons su pagina contatti */
.social-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.social-btn {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-btn:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* Mantieni il testo bianco sempre */
.social-btn span { color: #fff !important; }
/* Icona */
.social-btn .icon {
  font-size: 1.4rem;
  margin-right: 10px;
}
/* Brand colors */
.social-btn.instagram { background: #E1306C; }
.social-btn.facebook  { background: #1877F2; }
.social-btn.tiktok    { background: #000000; }
.social-btn.envelope  { background: #DD4B39; }
.social-btn.paypal  { background: #000972; }

/* Center carousel controls on mobile */
@media (max-width: 767px) {
  .carousel-control-prev,
  .carousel-control-next {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p.lead {
    font-size: 1.1rem;
  }
  footer .social-icons a {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .game-card {
    padding: 1rem;           /* riduce i padding */
    min-height: 180px;       /* abbassa l’altezza minima */
  }
  .game-card i {
    font-size: 2.5rem;       /* icona leggermente più piccola */
  }
  .game-card h5 {
    font-size: 1rem;         /* titolo un po’ più piccolo */
  }
  .game-card p {
    font-size: 0.85rem;      /* testo descrizione più compatto */
  }
}

/* Banner sticky subito sotto la navbar */
#completeProfileBanner {
  position: sticky;
  top: 56px;              /* o l’altezza esatta della tua navbar */
  width: 100%;
  background: #ffc107;    /* giallo */
  color: #212529;
  text-align: center;
  line-height: 2.5rem;    /* regola a piacere */
  font-weight: 500;
  display: none;          /* mostrato solo se profilo incompleto */
  z-index: 1030;          /* sopra i contenuti, sotto dropdown (1040) */
}
/* link del banner */
#completeProfileBanner a { color: #212529; text-decoration: underline; }


/* Spaziatura per il contenuto */
body.has-banner main,
body.has-banner footer {
  margin-top: 56px;      /* lascia posto al banner fisso */
}

/* Forza il dropdown utente sopra al banner */
.dropdown-menu {
  z-index: 1050 !important;
}






