/* Estilos Gerais */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    /* background: url("../img/fundo.4b65e9f11a23.png") no-repeat center center fixed; */
    /* background-size: cover; */
}

/* Navbar */
.navbar {
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar .navbar-brand, .navbar .nav-link {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.navbar .navbar-brand:hover, .navbar .nav-link:hover {
    color: #29b6f6 !important; /* Azul da logo */
}

.navbar.scrolled {
    background-color: rgba(33, 37, 41, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 35px;
}

/* Hero Section */
.hero {
    background: url("../img/fundo.4b65e9f11a23.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7) 100%, rgba(0,0,0,0.4) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.logo-animada {
    animation: fadeInDown 1s ease-out;
    max-width: 400px;
    margin: 0 auto 2rem;
    display: block;
}

/* Serviços Section */
.servicos {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.servico-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.servico-icon {
    font-size: 3rem;
    color: #00B2FF;
    margin-bottom: 1.5rem;
}

/* Sobre Section */
.sobre {
    padding: 100px 0;
}

.sobre-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Projetos Section */
.projetos {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.projeto-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.projeto-card:hover {
    transform: translateY(-10px);
}

.projeto-img {
    height: 250px;
    object-fit: cover;
}

/* Botões */
.btn-fixdados {
    background-color: #00B2FF;
    color: #fff;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,178,255,0.3);
}

.btn-fixdados:hover {
    background-color: #0090cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,178,255,0.4);
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    
    .logo-animada {
        max-width: 300px;
    }
}

/* Cards de Projetos */
/* Avatar dos Cards */
.card-avatar {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    z-index: 20;
    border: 3px solid white;
}

.card-avatar i {
    font-size: 24px;
    color: white;
}

.card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    margin-top: 30px;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 2px solid #007bff;
    z-index: 10;
    position: relative;
}

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

/* Seções */
section {
    padding: 80px 0;
}

/* Formulário de Contato */
.form-control {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
} 

/* Avatares das Pessoas */
.people-avatars {
    display: flex;
    align-items: center;
}

.person-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-right: -8px;
    transition: transform 0.2s ease;
}

.person-avatar:hover {
    transform: scale(1.1);
    z-index: 5;
    position: relative;
}

.person-avatar:last-child {
    margin-right: 0;
}

/* Footer Moderno */
.footer-modern {
    background: #18191a;
    color: #f8f9fa;
    padding: 4rem 0 2rem 0;
    margin-top: 0; /* Remove a margem superior que causava o espaço */
}
.footer-modern .footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}
.footer-modern .footer-text {
    color: #adb5bd;
}
.footer-modern .footer-links {
    list-style: none;
    padding-left: 0;
}
.footer-modern .footer-links li {
    margin-bottom: 0.8rem;
}
.footer-modern .footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}
.footer-modern .footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-modern .footer-contact-list {
    list-style: none;
    padding-left: 0;
    display: inline-block;
    text-align: left;
}
.footer-modern .footer-contact-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}
.footer-modern .footer-contact-list i {
    color: #29b6f6; /* Azul da logo */
    margin-right: 10px;
    font-size: 1.2rem;
}
.footer-modern .footer-contact-list span {
    color: #adb5bd;
}
.footer-modern .footer-contact-list a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-modern .footer-contact-list a:hover {
    color: #fff;
}
.footer-modern .social-icons a {
    color: #adb5bd;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}
.footer-modern .social-icons a:hover {
    color: #29b6f6;
    transform: translateY(-3px);
}
.footer-modern .border-top {
    border-color: #343a40 !important;
}
.footer-modern .footer-copyright {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Seção Quem Somos */
.about-section {
    padding: 5rem 0;
    background-color: #f8f9fa; /* Um fundo suave para destacar os cartões */
}

.about-section .section-title {
    font-weight: 700;
    color: #343a40;
    text-align: center;
    margin-bottom: 3rem;
}

.about-text-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.about-text-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-text-card h2 {
    font-weight: 700;
    color: #343a40;
    margin-bottom: 1.5rem;
}

.about-text-card p {
    color: #495057;
    line-height: 1.8;
    font-size: 1rem;
}

/* Avatares dentro do Card */
.about-avatars {
    display: flex;
    gap: 0.5rem; /* Diminui o espaço entre as imagens */
    justify-content: flex-start;
    margin-top: 1.5rem;
}

.about-avatar-img {
    width: 80px; /* Deixa a imagem maior */
    height: 80px; /* Deixa a imagem maior */
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Galeria da Seção Sobre */
.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.about-gallery .gallery-image-wrapper {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-gallery .gallery-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.about-gallery .gallery-image-wrapper img {
    width: 100%;
    display: block;
}

/* Seção Memorial */
.memorial-section {
    padding: 5rem 0;
    background-color: #212529; /* Mesmo fundo escuro da seção de serviços */
}
.memorial-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.memorial-gallery {
    display: flex;
    gap: 1rem;
    position: relative;
    flex-shrink: 0;
}
.memorial-gallery .memorial-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.memorial-gallery .memorial-img-wrapper:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 10;
}
.memorial-gallery .memorial-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}
.memorial-gallery .memorial-img-wrapper:hover img {
    filter: grayscale(0%);
}
.memorial-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff; /* Texto branco para contraste */
}
.memorial-text p {
    font-size: 1.1rem;
    color: #adb5bd; /* Cinza claro para o parágrafo */
}

#projetos {
    margin-bottom: 0 !important;
    padding-bottom: 5rem; /* Adiciona um respiro antes do footer */
}

/* Galeria dentro do Card de Texto */
.about-card-gallery {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    margin-top: 1.5rem;
}

.about-card-img {
    width: 80px;
    height: 80px;
    border-radius: 12px; /* Cantos arredondados */
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-card-img:hover {
    transform: scale(1.05);
}

/* Modern Section Titles */
.modern-section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
    letter-spacing: -1px;
    line-height: 1.2;
}

.modern-section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    animation: slideIn 1s ease-out;
}

.modern-section-title::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
    opacity: 0.6;
}

/* Versão para seções com fundo escuro */
.modern-section-title.dark {
    background: linear-gradient(135deg, #29b6f6 0%, #42a5f5 50%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(41, 182, 246, 0.3);
}

.modern-section-title.dark::before {
    background: linear-gradient(135deg, #29b6f6 0%, #42a5f5 50%, #64b5f6 100%);
    box-shadow: 0 2px 15px rgba(41, 182, 246, 0.4);
}

.modern-section-title.dark::after {
    background: linear-gradient(135deg, #29b6f6 0%, #42a5f5 50%, #64b5f6 100%);
}

/* Animações */
@keyframes slideIn {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-section-title {
    animation: fadeInUp 1s ease-out;
    transition: all 0.3s ease;
    cursor: default;
}

/* Hover Effects */
.modern-section-title:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.2);
}

.modern-section-title:hover::before {
    width: 120px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.modern-section-title.dark:hover::before {
    width: 120px;
    box-shadow: 0 4px 25px rgba(41, 182, 246, 0.6);
}

/* Responsivo */
@media (max-width: 768px) {
    .modern-section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
    
    .modern-section-title::before {
        width: 60px;
    }
}

/* Melhorias para Mobile e Tablet */
@media (max-width: 576px) {
    /* Mobile Extra Small */
    .modern-section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .btn-fixdados {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    /* Tablet */
    .modern-section-title {
        font-size: 2.5rem;
    }
    
    .about-text-card {
        padding: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Melhorias gerais para touch devices */
@media (max-width: 991px) {
    .people-avatars {
        justify-content: center !important;
        margin-bottom: 1rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .about-card-gallery {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .about-card-img {
        width: 80px;
        height: 80px;
    }
}