body{
  background-color: rgb(26, 68, 124);
  font-family: Roboto;
}

/*#region Welcome Section*/
/*Grid separado em duas secçoes verticais*/
.welcome-section{
  display: grid;
  grid-template-columns: 400px 1fr;
  align-items: center;
  justify-content: center;
  max-width: 1300px;
  margin: 0 auto; /* Centraliza o grid na página */
}

/*Secção de imagem*/
.welcome-section-right{
  display: flex;
  align-items: center;
  justify-content: center;
}

/*Classe que afetará todas as imagens*/
.welcome-section img {
  justify-self: center; /* Centraliza horizontalmente */
  align-self: center;   /* Centraliza verticalmente */
  place-self: center;
}

.welcome-section-coverimg{
  width: 400px;
  height: 200px;

}

/*Secção de texto*/
.welcome-section-left{
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 5px;
  text-align:start;
  align-items: center;
  color: rgb(255, 255, 255);
  font-size: 45px;
  line-height: 50px;
  font-weight: 600;

  margin: 5px 0px 15px 0px;
  padding-left: 100px;
  max-width: 400px
}
.welcome-section-left-subtext{
  text-align: start;
  color: rgb(224, 224, 224);
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  max-width: 400px;
  align-self: self-start;
  padding-right: 50px;
}

/*Ajuste do welcome Section */

@media (max-width:700px){
 .welcome-section{
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  justify-items: center;
 }

  .welcome-section-left{
    padding-left: 0px;
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }

  .welcome-section-left-subtext{
    max-width: 300px;
    text-align: center;
    justify-content: center;
    align-self: center;
    padding-right: 0px;
  }

  .slideshow-container{
    max-width: 100%;
    max-height: 180px;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  
  
}
@media (min-width: 1432px) {
  .welcome-section {
    grid-template-columns: 1fr 1.5fr; /* Ambos crescem igualmente */
    max-width: 1600px;              /* Permite expansão maior */
  }
  .welcome-section-left {
    max-width: 100%;
    font-size: 50px;
    margin-bottom: 30px;
  }
  .welcome-section-left-subtext{
    max-width: 100%;
    font-size: 20px;
  }
  .welcome-section-right {
    max-width: 100%;
  }
}
/*#endregion*/

/*#region Slideshow*/

.sidebar {
  background: #eee;
  padding: 20px;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 90%;   /* Ajuste conforme necessário */
  height: 100%;
  overflow: hidden;
  margin-right: 40px; /* Adiciona a margem à direita */
  border-radius: 10px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* mantém proporção e preenche área */
  object-position: center;
  display: block;
}

/* Slideshow navigation buttons */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 1.5rem;      /* Menor que o padrão */
  padding: 6px 12px;      /* Mais compacto */
  cursor: pointer;
  z-index: 10;
  border-radius: 30%;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  opacity: 0.85;
  outline: none;
}

.nav:hover,
.nav:focus,
.nav:active {
  background-color: #1a447c;
  color: #fff;
  transform: translateY(-50%) scale(1.13);
  box-shadow: 0 2px 8px rgba(26,68,124,0.18);
  opacity: 1;
}

.nav.prev {
  left: 10px;
}

.nav.next {
  right: 10px;
}

/*#endregion*/

/*#region Cards Section*/
/*Grid separado em secçoes verticais*/
.cards-section{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;

  max-width: 1150px;
  margin: 0 auto; /* Centraliza o grid na página */
  margin-top: 20px;
  /* Remova estas linhas que forçam deslocamento para a direita: */
  /* margin-left: 100px;
  margin-right: 100px; */

  justify-items: center; /* Centraliza horizontalmente os itens */
  align-items: stretch;  /* Alinha os itens ao topo */
}

.card{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;    /* Alinha ao topo */
  align-items: center;            /* Centraliza todos os itens horizontalmente */
  text-align: center;             /* Centraliza texto dentro dos elementos */
  background-color: white;
  max-width: 250px;
  height: 100%;        /* Faz o card ocupar toda a altura da célula do grid */

  box-shadow: 0px 0px 10px rgb(0, 0, 0);
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 10px;

  border-radius: 10px;
}
.card h3{
  color: rgba(0, 0, 0, 0.726);
  margin: 0px;
}
.card p{
  color: rgba(0, 0, 0, 0.877);
}
.card h3,
.card p {
  word-break: break-word;
  overflow-wrap: break-word;
}
.card img {
  align-self: center;
  width: 70px;
  height: 70px;
  object-fit: cover;   /* mantém proporção e preenche área */
  object-position: center;
  display: block;
  opacity: 0.8;                  /* Opacidade um pouco menor */
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link .card {
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.card-link:hover .card,
.card-link:focus .card {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0px 4px 18px rgba(26,68,124,0.18);
}

/* Ajustes para a seção de cartões em telas menores */
@media (max-width: 700px) {
  .cards-section {
    margin-left: 10px;
    margin-right: 10px;
    gap: 12px 12px; /* gap: linha coluna; agora ambos são iguais */
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    max-width: 100%;
    min-width: 0;
    padding-left: 5px;
    padding-right: 5px;
    height: 310px !important;
  }
}
/*#endregion*/

/*#region Address Section*/
/*Secção que contará com localização da empresa no maps*/
.cards-section{
  color: black;
}
/*#endregion*/

/*#region Footer*/
.footer {
  width: 100%;
  background: #0a1f3a;
  color: #fff;
  text-align: center;
  padding: 18px 0 15px 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  border-radius: 0 0 10px 10px;
  margin-top: 0px;
  box-shadow: 0px -2px 10px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
  .footer {
    font-size: 0.8rem;
  }
}

@media (max-width: 700px) {
  .footer {
    font-size: 0.7rem;
    letter-spacing: 0.4px;
  }
}
/*#endregion*/

/*#region Product Slider Section */
.product-slider-section {
  margin: 40px 0 0 0;
  padding: 0 40px;
}

.product-slider-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
}

.product-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.product-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  min-width: 180px;
  max-width: 220px;
  flex: 0 0 220px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(26,68,124,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px 18px 10px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 6px 18px rgba(26,68,124,0.18);
  transform: translateY(-3px) scale(1.03);
}

.product-card img {
  width: 100%;
  max-width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 6px;
  background: #f5f7fa;
}

.product-card-name {
  font-size: 1rem;
  font-weight: 500;
  color: #1a447c;
  margin-bottom: 6px;
  text-align: center;
  word-break: break-word;
}

.product-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2e7d32;
  text-align: center;
}

.product-slider-nav {
  background: #1a447c;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.2s;
}

.product-slider-nav:hover {
  background: #16325c;
}

.product-slider-nav.prev {
  left: 0;
}

.product-slider-nav.next {
  right: 0;
}

/* Responsivo */
@media (max-width: 900px) {
  .product-slider-section {
    padding: 0 10px;
  }
  .product-card-link {
    min-width: 140px;
    max-width: 170px;
    flex: 0 0 170px;
  }
  .product-card img {
    max-width: 90px;
    height: 90px;
  }
}

@media (max-width: 700px) {
  .product-slider-title {
    font-size: 1.7rem;
    margin-bottom: 18px;
    text-align: center;
  }
  .product-slider-section {
    padding: 0 2px;
  }
  .product-slider-nav {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }
  .product-card-link {
    min-width: 120px;
    max-width: 140px;
    flex: 0 0 140px;
  }
  .product-card img {
    max-width: 70px;
    height: 70px;
  }
}
/*#endregion*/

/*#region Maps Section */
.maps-section {
  margin: 48px auto 0 auto;
  padding: 25px 0 25px 0;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgb(0, 0, 0);
}

.maps-section-title {
  color: #1a447c;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  margin-top: 0px;
  letter-spacing: 0.5px;
  text-align: center;
}

.maps-container {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26,68,124,0.10);
  margin-bottom: 18px;
}

.maps-container iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

.maps-address {
  color: #1a447c;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
  padding: 0 12px;
  word-break: break-word;
}

@media (max-width: 900px) {
  .maps-section {
    max-width: 98vw;
    padding: 18px 0 18px 0;
  }
  .maps-container {
    max-width: 98vw;
  }
}

@media (max-width: 700px) {
  .maps-section {
    margin: 28px 0 0 0;
    padding: 10px 0 18px 0;
    border-radius: 0;
    box-shadow: none;
  }
  .maps-section-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .maps-container {
    max-width: 100vw;
    border-radius: 0;
    margin-bottom: 10px;
  }
  .maps-container iframe {
    height: 220px;
  }
  .maps-address {
    font-size: 1rem;
    padding: 0 4px;
  }
}
/*#endregion*/

/*#region Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.whatsapp-float-text {
  background: #142d4e79;
  color: #fff;
  font-size: .6rem;
  font-weight: 500;
  padding: 8px 9px 7px 9px;
  border-radius: 18px 18px 6px 6px;
  margin-top: 6px;
  box-shadow: 0 2px 10px rgba(26,68,124,0.10);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.whatsapp-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37,211,102,0.18);
  transition: box-shadow 0.2s, transform 0.2s;
}

.whatsapp-float-icon img {
  width: 38px;
  height: 38px;
  display: block;
  box-shadow: 0 0 0 4px #fff, 0 4px 18px rgba(37,211,102,0.35);
  /* Borda branca para destacar sobre fundos escuros e sombra verde suave */
  border-radius: 50%;
  transition: box-shadow 0.2s;
}

.whatsapp-float:hover .whatsapp-float-icon img,
.whatsapp-float:focus .whatsapp-float-icon img {
  box-shadow: 0 0 0 6px #ffffff, 0 8px 32px rgba(37,211,102,0.45);
}

.whatsapp-float:hover .whatsapp-float-icon,
.whatsapp-float:focus .whatsapp-float-icon {
  box-shadow: 0 6px 24px rgba(37,211,102,0.28);
  transform: scale(1.07);
}

.whatsapp-float:hover .whatsapp-float-text,
.whatsapp-float:focus .whatsapp-float-text {
  background: #16325ce1;
}

@media (max-width: 700px) {
  .whatsapp-float {
    right: 12px;
    bottom: 45px;
  }
  .whatsapp-float-text {
    font-size: 0.5rem;
    padding: 7px 12px 6px 12px;
    border-radius: 14px 14px 5px 5px;
    margin-bottom: 4px;
  }
  .whatsapp-float-icon img {
    width: 32px;
    height: 32px;
    box-shadow: 0 0 0 3px #fff, 0 2px 10px rgba(37,211,102,0.32);
  }
}
/*#endregion*/

/*#region Contact Section */
.contact-section {
  margin: 25px auto 0 auto;
  padding: 8px 0 8px 0;
  max-width: 900px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-section-title {
  color: #1a447c;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
  text-align: center;
}

.contact-info-grid {
  display: flex;
  gap: 32px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.contact-info-block {
  flex: 1 1 220px; /* Cresce, encolhe, largura mínima */
  max-width: 300px;
  min-width: 180px;
  background: #f5f7fa;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(26,68,124,0.06);
  padding: 18px 22px 14px 22px;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.contact-info-label {
  color: #1a447c;
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info-value {
  color: #222;
  font-size: 1rem;
  margin-bottom: 4px;
  word-break: break-all;
}

.contact-info-block i {
  color: #1a447c;
  font-size: 1.1em;
}

/* Ajuste para o bloco de e-mails ocupar mais espaço na linha */
.contact-info-block:last-child {
  flex: 2 1 320px;
  max-width: 420px;
  min-width: 220px;
}

.contact-whatsapp-link {
  color: #0f8339;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-block;
}
.contact-whatsapp-link:hover,
.contact-whatsapp-link:focus {
  background: #e8f8f0;
  color: #1a447c;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-info-block:last-child {
    flex: 2 1 200px;
    max-width: 98vw;
    min-width: 120px;
  }
}

@media (max-width: 700px) {
  .contact-info-block:last-child {
    width: 95vw;
    min-width: 0;
    max-width: 98vw;
  }
}

/* Responsivo */
@media (max-width: 900px) {
  .contact-section {
    max-width: 98vw;
    padding: 18px 0 18px 0;
  }
  .contact-info-grid {
    gap: 16px;
  }
  .contact-info-block {
    flex: 1 1 80px;
    max-width: 98vw;
    min-width: 80px;
    padding: 14px 10px 10px 14px;
    box-sizing: border-box;
  }
}

@media (max-width: 700px) {
  .contact-section {
    margin: 28px 0 0 0;
    padding: 10px 0 18px 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 100vw;
  }
  .contact-section-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .contact-info-grid {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .contact-info-block {
    width: 95vw;
    min-width: 0;
    max-width: 98vw;
    padding: 12px 8px 8px 12px;
    font-size: 0.98rem;
    box-sizing: border-box;
  }
}
/*#endregion*/

