body {
    background-color: #3f3f3f;
    color: white;
}

body.modal-open{
    color: #3f3f3f;
}


/* Nav Bar */
.navbar, .footer {
    background-color: #3f3f3f;
}
.navbar a, .footer a {
    color: white;
    text-decoration: none;
}
.navbar a:hover, .footer a:hover {
    color: #feef00;
}
.navbar-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

/* Titles */
.highlight {
    color: #feef00;
}

/* Banners */
.parallax {
    background-image: url('../img/homem-pb.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.parallax.empresa{
    background-image: url('../img/portfolio-projeto.png');
}

.parallax-sm {
    height: 280px;
}

/* Cards */
.card {
    background-color: #4a4a4a;
    border: 1px solid #555;
    color: white;
}

.card .card-title,
.card .card-title a {
    color: #feef00;
    text-decoration: none;
}

.card .card-title a:hover {
    color: white;
}

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

.portfolio-item {
    padding: 1.5rem;
    border: 1px solid #555;
    border-radius: 0.375rem;
    background-color: #4a4a4a;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.portfolio-item:hover {
    border-color: #feef00;
    transform: translateY(-2px);
}

.portfolio-item h5 {
    color: #feef00;
    margin-bottom: 0.75rem;
}

.cta-section {
    background-color: #2a2a2a;
}

.solucoes-img {
    max-width: 640px;
}

/* Dropdown Menus*/
.dropdown-menu {
    background-color: #3f3f3f;
}
.dropdown-menu .dropdown-item {
    color: white;
}
.dropdown-menu .dropdown-item:hover {
    background-color: #feef00;
    color: #3f3f3f;
}
.dropdown-divider {
    border-color: #666;
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu > a::after {
    content: "\25B6"; /* Right arrow */
    float: right;
    margin-left: 5px;
}

/* Btns */
.btn.btn-primary{
    color: #3f3f3f;
    background-color: #feef00;
    border-color: #feef00;
}

.btn.btn-primary:active{
    color: #feef00;
    background-color: #3f3f3f;
    border-color: #feef00;
}

.btn-outline-light:hover {
    color: #3f3f3f;
    background-color: #feef00;
    border-color: #feef00;
}

/* Google Translate */
#google_translate_element,
.goog-te-gadget,
.goog-te-combo {
    display: none !important;
}

.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
body > .skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

html.translated-ltr,
html.translated-rtl,
body {
    top: 0 !important;
    margin-top: 0 !important;
    position: static !important;
}

.lang-flag {
    border-radius: 2px;
    object-fit: cover;
}

.lang-toggle::after {
    margin-left: 0.35rem;
}

.lang-option.active {
    background-color: #feef00;
    color: #3f3f3f;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: #feef00;
    transform: translateY(-2px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.35rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.375rem;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.social-links a:hover {
    color: #3f3f3f;
    background-color: #feef00;
    border-color: #feef00;
}

@media (max-width: 768px) {
    .parallax {
        height: 320px;
        background-attachment: scroll;
    }

    .navbar-logo {
        height: 44px;
    }
}
