/*--------------------------------------------------------------
# GCH Page Styles
--------------------------------------------------------------*/

#hero-gch {
    width: 100%;
    background: url('/assets/img/tire_company.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 180px 0 100px 0;
    color: white;
    min-height: 70vh;
}

#hero-gch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* escurece a imagem */
    z-index: 1;
}

#hero-gch .container-fluid {
    position: relative;
    z-index: 2;
}

.hero-left-card {
    background-color: #04119980;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.hero-feature-box{
    background-color: var(--secondary-color-transparent);
}

.logo-img {
    height: 40px;
    width: auto;
}

.timeline-arrow {
    flex-grow: 1;
    height: 2px;
    width: 30px;
    background-color: #ccc;
    position: relative;
    margin: 0 0.5rem;
    top: -15px;
    /* Alinhar com o centro dos ícones */
}


.timeline-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    transform: rotate(45deg);
}

.timeline-wrapper {
    gap: 1rem;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.timeline-step {
    flex: 0 0 auto;
    min-width: 110px;
    scroll-snap-align: center;
}

.timeline-arrow {
    flex: 0 0 auto;
}

.timeline-step .icon-container {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #666666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: background-color 0.3s;
}

.timeline-step .icon-container i {
    font-size: 1.5rem;
    color: white;
}

.timeline-step .icon-container.active {
    background-color: var(--bs-success);
}

.timeline-step .step-label {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 0.875rem;
    word-break: break-word;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    transform: translate3d(0, 0, 0); /* Aceleração por GPU */
    will-change: transform; /* Diz ao navegador que transform vai mudar */
    transition: transform 0.45s ease-out; /* Suavizado */
}

#featureCarousel .x-card-info {
    flex: 0 0 calc(33.333% - 0.67rem);
    max-width: calc(33.333% - 0.67rem);
}

.carousel-track .item {
    flex-shrink: 0; /* Impede que encolha em telas menores */
}

.carousel-indicator {
    background-color: #cfcfcf80;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    border: none;
    transition: background-color 0.3s;
}

.carousel-indicator.active,
.carousel-indicator:hover {
    background-color: #aaaaaa;
}

.carousel-indicator:focus {
    outline: none;
}

@media (max-width: 992px) {
    #featureCarousel .x-card-info {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-right {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav {
        flex-direction: column;
    }
}
