/* Estilos personalizados para o Encoaqui */

/* Estilos globais */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Barra superior */
.top-bar {
    background-color: #6babd0;
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 0;
}

.contact-info span {
    display: inline-block;
    letter-spacing: -0.2px;
}

.social-icons a {
    color: #fff;
    margin-left: 5px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #5a96b9;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #f8b135;
}

/* Navbar */
.navbar {
    padding: 10px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: #333;
}

.navbar-nav.mx-auto {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: #444 !important;
    padding: 0.5rem 0.8rem !important;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #f8b135 !important;
}

/* Botão de registro */
.btn-register {
    background-color: #f8b135;
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.btn-register:hover {
    background-color: #e09b1f;
    color: white;
}

/* Menu hamburger */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Área cliente */
.nav-link.ms-3 {
    font-size: 0.9rem;
    color: #444;
}

/* Hero section */
.hero {
    margin: 0 !important;
    margin-top: -116px !important; /* Margem negativa maior para cobrir desde o topo */
    padding: 0 !important; /* Removido o padding */
    padding-top: 180px !important; /* Padding maior para o conteúdo não ficar sob o menu */
    width: 100% !important;
    position: relative !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/luanda.jpg') !important;
    background-size: cover !important;
    background-position: center center !important; /* Centralizado para melhor cobertura */
    color: white !important;
    height: 50vh !important; /* Reduzido para 50% da altura da viewport */
    min-height: 400px !important; /* Reduzido ainda mais a altura mínima */
    box-sizing: border-box !important;
    background-attachment: scroll !important; /* Mudado para scroll para evitar problemas em dispositivos móveis */
}

/* Fullwidth section */
.fullwidth-section {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow-x: hidden !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* Override container width */
.container-fluid {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Formulário de pesquisa */
.search-form {
    max-width: 950px;
    margin: 0 auto;
}

.search-container {
    display: flex;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.search-input-group, 
.search-category-group,
.search-location-group,
.search-button-group {
    padding: 0;
    margin: 0;
    border: none;
}

.search-input {
    border: none;
    border-radius: 0;
    height: 50px;
    padding: 0 15px;
    width: 250px;
}

.search-category {
    border: none;
    border-radius: 0;
    height: 50px;
    padding: 0 15px;
    border-left: 1px solid #eee;
    width: 200px;
}

.search-location {
    border: none;
    border-radius: 0;
    height: 50px;
    padding: 0 15px;
    border-left: 1px solid #eee;
    width: 200px;
}

.btn-search {
    background-color: #5a96b9;
    color: white;
    border: none;
    border-radius: 0;
    height: 50px;
    padding: 0 20px;
    font-weight: 600;
}

.btn-search:hover {
    background-color: #4a86a9;
    color: white;
}

.more-filters-link {
    text-align: center;
    margin-top: 15px;
}

.filters-btn {
    display: inline-block;
    background-color: #f8b135;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.filters-btn:hover {
    background-color: #e09b1f;
    color: white;
    text-decoration: none;
}

/* Cartu00f5es */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Badges para categorias */
.badge-categoria {
    background-color: #0066cc;
    color: white;
    font-weight: normal;
    padding: 0.5em 0.8em;
    border-radius: 30px;
    font-size: 0.8rem;
}

/* Estilos padrão para cards de empresas */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Cores personalizadas para as categorias */
.text-pink {
    color: #e83e8c !important;
}

.bg-pink {
    background-color: #e83e8c !important;
}

.btn-outline-pink {
    color: #e83e8c;
    border-color: #e83e8c;
}

.btn-outline-pink:hover {
    color: #fff;
    background-color: #e83e8c;
    border-color: #e83e8c;
}

/* Estilos para placeholders e elementos extras */
.empresa-logo-placeholder {
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.empresa-logo-placeholder i {
    font-size: 2.5rem;
    color: #6c757d;
}

.empresa-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.empresa-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.3;
}

.empresa-details {
    margin-top: auto;
}

.empresa-location {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.empresa-location i {
    font-size: 1.1rem;
    color: #dc3545;
    margin-right: 8px;
}

.empresa-location span {
    font-size: 0.9rem;
    color: #555;
}

.empresa-contacts {
    display: flex;
    justify-content: center;
}

.contact-btn {
    width: 100%;
}

.btn-details {
    display: block;
    text-align: center;
    background-color: #0d6efd;
    color: white;
    padding: 10px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

.btn-details:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(13, 110, 253, 0.3);
    color: white;
}

.btn-details i {
    margin-right: 5px;
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .empresa-card-header {
        height: 130px;
    }
}

@media (max-width: 767px) {
    .empresa-card-header {
        height: 180px;
    }
    
    .empresa-logo {
        max-width: 120px;
        max-height: 120px;
    }
    
    .empresa-logo-placeholder {
        width: 100px;
        height: 100px;
    }
}

/* Estilos para detalhes de empresa */
.empresa-header {
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem 2rem 2rem;
    position: relative;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.empresa-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    border-radius: 0.5rem;
}

.empresa-header-content {
    position: relative;
    z-index: 1;
    color: white;
}

.empresa-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Planos de preu00e7os */
.pricing-card {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border: 2px solid #0066cc;
}

.pricing-card.popular::before {
    content: 'Mais Popular';
    position: absolute;
    top: 0;
    right: 0;
    background-color: #0066cc;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    transform: rotate(45deg) translateX(20px);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc;
    margin: 1rem 0;
}

.pricing-period {
    font-size: 0.9rem;
    color: #6c757d;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Mapa */
#mapa-empresas {
    height: 400px;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Galerias de fotos */
.produto-galeria img {
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

/* Formulu00e1rios */
.form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

/* Alertas personalizados */
.alert {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert-primary {
    background-color: rgba(0, 102, 204, 0.1);
    color: #0055b3;
}

/* Pu00e1ginau00e7u00e3o */
.page-item.active .page-link {
    background-color: #0066cc;
    border-color: #0066cc;
}

.page-link {
    color: #0066cc;
}

.page-link:hover {
    color: #0055b3;
}

/* Rodapu00e9 */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media queries */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .empresa-logo {
        width: 80px;
        height: 80px;
    }
}
