/* Global Styles */
:root {
    --primary-color: #e50914; /* Netflix Red */
    --background-color: #141414; /* Netflix Black */
    --text-color: #ffffff;
    --card-color: #222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    width: 95%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Navigation */
#mainNav {
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
}

#mainNav.scrolled {
    background-color: var(--background-color);
}

#mainNav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mainNav .logo {
    width: 150px;
    height: auto;
}

#mainNav .navbar-collapse ul {
    display: flex;
}

#mainNav .navbar-collapse li a {
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s;
}

#mainNav .navbar-collapse li a:hover {
    color: var(--primary-color);
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Header (Masthead) */
.masthead {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 1)), url('assets/images/Caminhoes.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.masthead .intro-text {
    max-width: 600px;
}

.masthead .intro-lead-in {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
}

.masthead .intro-heading {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.masthead .btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.masthead .btn:hover {
    background-color: #ff0a16;
}

/* Content Sections */
.content-section {
    padding: 50px 0;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-left: 2.5%; /* Align with container padding */
}

.content-row {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 2.5%;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--background-color);
}

/* Custom Scrollbar for Webkit browsers */
.content-row::-webkit-scrollbar {
    height: 8px;
}
.content-row::-webkit-scrollbar-track {
    background: var(--card-color);
}
.content-row::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.item {
    flex: 0 0 280px;
    margin-right: 15px;
    background-color: var(--card-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 20px;
}

.item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.item p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

/* Specific Item Styles */
.benefit-item {
    text-align: center;
}

.benefit-item .fa-stack {
    margin-bottom: 15px;
    font-size: 2.5rem; /* Adjust icon size */
}

.benefit-item .fa-stack .fa-circle {
    color: var(--primary-color);
}

.benefit-item .fa-stack .fa-inverse {
    color: var(--text-color);
}

.benefit-item h4 {
    color: var(--text-color);
    font-size: 1rem;
}

.client-logos {
    align-items: center;
}
.client-logos .item {
    background: transparent;
    padding: 0;
}

/* Contact Section */
.contact-container {
    text-align: center;
    padding: 40px 20px;
}

.contact-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: slow-pulse 3s infinite;
}

.whatsapp-icon img {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-icon:hover img {
    transform: scale(1.1);
    animation-play-state: paused; /* Pauses animation on hover */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slow-pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #333;
}

footer .social-icons {
    margin-bottom: 20px;
}

footer .social-icons a {
    font-size: 2rem;
    margin: 0 15px;
    color: #777;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: var(--text-color);
}

footer p {
    font-size: 0.9rem;
    color: #777;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #mainNav .navbar-collapse {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--background-color);
    }

    #mainNav .navbar-collapse.active {
        display: block;
    }

    #mainNav .navbar-collapse ul {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    #mainNav .navbar-collapse li a {
        padding: 15px;
        display: block;
    }

    .navbar-toggler {
        display: block;
    }

    .masthead .intro-heading {
        font-size: 2rem;
    }

    .masthead .intro-lead-in {
        font-size: 1.2rem;
    }

    .item {
        flex: 0 0 220px;
    }
}
