@import url('https://googleapis.com');

body{
    font-family: 'Inter',sans-serif;
}

.nav-layout{
    box-shadow: 0px 2px 25px rgba(0, 0, 0, .15);
}

.nav-brand{
    color:#286671;
}

.nav-brand span:hover{
    color: #217581;
}

.nav-brand img{
    margin-right: 12px;
}

.nav-item .link-navbar{
    color: #286671;
}

.nav-item .link-navbar:hover{
    color: #4cb8c9;
    transition: all 300ms ease-in-out ;
}

.search-input{
    padding-left: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-input:hover{
    cursor: text;
    border: 1px solid rgba(0, 0, 0, 0.5);
    transition: all 100ms ease-in;
}
.search-input:focus{
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.search-icon{
    margin-left: 7px;
    opacity: .3;
}

.fade-in-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-card.visible.card-services:hover {
    transform: translateY(-12px) scale(1.02) !important;
}

.delayed-fade:nth-child(1) .card { transition-delay: 0s; }
.delayed-fade:nth-child(2) .card { transition-delay: 0.15s; }
.delayed-fade:nth-child(3) .card { transition-delay: 0.3s; }
.delayed-fade:nth-child(4) .card { transition-delay: 0.45s; }

#fixedWhatsAppIcon {
  display: block;
  position: fixed;
  right: 20px;
  bottom: 60px;
  width: 50px;
  height: 50px;
  background-color: #54b460;
  text-align: center;
  line-height: 50px;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  z-index: 9999;
}

#fixedWhatsAppIcon:hover {
  background-color: #339933;
  transition: all 150ms ease-out;
}

#map { 
    min-height: 500px; 
}

.card-services {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px !important;
    padding: 0.5rem;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background 0.4s ease;
}

.card-services:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.08) !important;
    background: rgba(255, 255, 255, 1);
}

@media (max-width: 768px) {
    .card-services:hover {
        transform: translateY(-8px) scale(1.01) !important;
    }
}

.card-cadastro{
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.accordion-body .btn-primary {
  background-color: #0f4c5c; 
  border-color: #0f4c5c;
  font-weight: 500;
}

.accordion-body .btn-primary:hover {
  background-color: #0b3844; /* Cor levemente mais escura no hover */
  border-color: #0b3844;
}

.btn-recycle{
  color: white;
  background-color: #026928; 
  border-color: #026928;  
  font-weight: 500;
}

.btn-recycle:hover{
  color: black;
  background-color: #c8dda4; 
  border-color: #c8dda4;
}

.btn-localizar{
    background-color: #0f4c5c;
    color: white;
    transition: all 0.3s ease-in-out;
}

.btn-localizar:hover{
    background-color: #0481a0;
    color: white;
}

/* Animação do card principal */
.contact-card-animated {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  animation: floatIn 0.8s ease-out forwards;
}

.contact-card-animated:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

/* Efeito de brilho/gradiente suave na coluna lateral */
.contact-bg-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  animation: rotateGlow 15s linear infinite;
}

/* Transições nos campos de entrada */
.custom-input {
  border: 1.5px solid #e2e8f0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-input:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Animação do botão ao passar o mouse */
.btn-animated {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-animated:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35) !important;
}

.btn-animated:active {
  transform: translateY(0);
}

/* Efeito hover nos dados de contato */
.contact-info-item {
  transition: transform 0.3s ease;
}

.contact-info-item:hover {
  transform: translateX(6px);
}

/* Keyframes */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.dropdown-menu-ciclo {
    border: none;
    border-radius: 14px;
    padding: 8px;
    margin-top: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    opacity: 0;
    transform: translateY(8px);
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.dropdown-menu-ciclo.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dropdown-menu-ciclo .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.95rem;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}
.dropdown-menu-ciclo .dropdown-item:hover {
    background-color: rgba(40, 102, 113, 0.1);
    color: #286671;
    transform: translateX(3px);
}

/* Popup das empresas */
.popup-empresa {
    width: 280px;
    font-family: "Inter", sans-serif;
}

.popup-empresa-header {
    margin-bottom: 12px;
}

.popup-empresa-titulo {
    color: #286671;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.popup-empresa-subtitulo {
    color: #777;
    font-size: 12px;
    margin-top: 3px;
}

.popup-empresa-secao {
    margin-top: 14px;
}

.popup-empresa-label {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

.popup-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.popup-acao {
    background-color: #e8f6f7;
    color: #286671;
    border: 1px solid #c9e8eb;
    border-radius: 20px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 500;
}

.popup-imagens {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.popup-imagem {
    width: 78px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.popup-sem-imagem {
    color: #888;
    font-size: 12px;
    font-style: italic;
}

.marcador-empresa {
    background: transparent;
    border: none;
}

.marcador-empresa i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background-color: #286671;
    color: white;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    font-size: 20px;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.marcador-empresa i::before {
    transform: rotate(45deg);
}

.marker-ilha-ecologica {
    background: transparent;
    border: none;
}

.marker-ilha {
    width: 42px;
    height: 42px;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    display: flex;
    align-items: center;
    justify-content: center;

    background: #286671;

    border: 3px solid #ffffff;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.marker-ilha i {
    color: #ffffff;
    font-size: 20px;

    transform: rotate(45deg);
}

.popup-ilha {
    width: 250px;
}

.popup-ilha-imagem {
    width: 100%;
    height: 130px;

    object-fit: cover;

    border-radius: 8px;

    margin-bottom: 10px;
}

.popup-ilha h5 {
    margin-bottom: 8px;

    color: #286671;

    font-size: 16px;
}

.popup-ilha h5 i {
    margin-right: 5px;
}

.popup-ilha-endereco {
    font-size: 13px;
    margin-bottom: 8px;
}

.popup-ilha-endereco i {
    color: #286671;
}

.popup-ilha p {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
}