@import url('../styles.css');

/* Ensure full-height layout so the footer stays at the bottom */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Progetti page — page-specific overrides */

/* Ensure the small navbar that contains the "Torna alla Home" button
   uses the site background on this page (keeps it localized here). */
nav.contact-navbar{
  background: transparent;
  position: static;
  box-shadow: none !important;
  border-bottom: none;
}

/* Page-specific: use black navbar text on projects page (root index keeps site alt-color) */
.nav-plain-link{
  color: #000;
}
.nav-plain-link:hover,
.nav-plain-link:focus,
.nav-plain-link:focus-visible,
.nav-plain-link:active{
  color: var(--primary);
}

/* Ensure Servizi link never turns yellow on this page */
.nav-plain-link.no-highlight,
.nav-plain-link.no-highlight:focus,
.nav-plain-link.no-highlight:focus-visible,
.nav-plain-link.no-highlight:hover,
.nav-plain-link.no-highlight:active,
.nav-plain-link.no-highlight.active{
  color: #000 !important;
  text-decoration: none !important;
  text-decoration-color: transparent !important;
}

/* Carousel: make sure controls remain visible on the site bg */
.carousel-control-prev-icon, .carousel-control-next-icon{
  width: 2.25rem;
  height: 2.25rem;
}
