body {
    font-family: 'Poppins', sans-serif;
    color: #545454;
    background-color: #d9d9d9;
}

/* Navbar */
.navbar {
    background: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: #117bad !important;
    font-weight: 500;
    margin: 0 15px;
}

.navbar-nav .nav-link:hover {
    color: #545454 !important;
}

/* Hero Section */
.hero-section {
    background-image: url('./img/fotoprincipal.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 400px 400px 150px 400px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-section h1 {
    position: relative;
    margin: -150px 0 0 0;
    z-index: 2;
    display: flex;
    align-items: center;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.hero-section .btn {
    background-color: #117bad;
    color: #ffffff;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 25px;
}

.hero-section .btn:hover {
    background-color: #0f6a93;
}

/* Sobre Section */
.sobre-section {
    padding: 80px 0;
    background-image: url('./img/hill-clouds-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #d9d9d9;
}

.sobre-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #545454;
    margin-bottom: 40px;
    position: relative;
}

.sobre-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #117bad;
    margin: 10px auto;
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
}

.sobre-image {
    flex: 1;
}

.sobre-image img {
    max-width: 100%;
    border-radius: 25px;
}

.sobre-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sobre-text h3 {
    font-size: 1.6rem;
    color: #545454;
    margin-bottom: 15px;
}

.sobre-text p {
    font-size: 1rem;
    line-height: 1.6;
}

.destaques-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.sobre-destaque {
    display: flex;
    align-items: center;
}

.sobre-destaque i {
    font-size: 1.5rem;
    color: #117bad;
    margin-right: 10px;
}

.sobre-destaque p {
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 767.98px) {
    .sobre-content {
        flex-direction: column;
        text-align: center;
    }

    .sobre-image {
        margin-bottom: 20px;
    }

    .sobre-text {
        align-items: center;
    }

    .sobre-text p {
        text-align: center;
    }

    .destaques-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

/* Produtos Section */
.produtos-section {
    padding: 80px 0;
    background-color: #d9d9d9;
}

.produtos-section h2 {
    font-size: 2rem;
    color: #545454;
    text-align: center;
    margin-bottom: 40px;
}

.produtos-section h3 {
    font-size: 1.5rem;
    color: #117bad;
    margin-bottom: 10px;
}

.produto-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.produto-card p {
    font-size: 1.1rem;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #545454;
    flex-grow: 0.5;
}

@media (max-width: 767.98px) {
    .produto-card {
        min-height: auto;
    }
}

/* Linhas Section */
.linhas-section {
    padding: 80px 0;
    background-color: #d9d9d9;
}

.linhas-section h2 {
    font-size: 2rem;
    color: #545454;
    text-align: center;
    margin-bottom: 40px;
}

.linhas-section h4 {
    font-size: 1.3rem;
    color: #545454;
    margin-bottom: 10px;
}

.linhas-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
        "dinaflex trintaedois"
        "euroshow vintecinco";
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.linha-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.linha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.linha-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.linha-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.linha-card ul li i {
    font-size: 1rem;
    color: #117bad;
    margin-right: 10px;
}

@media (max-width: 767.98px) {
    .linhas-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "dinaflex"
            "euroshow"
            "trintaedois"
            "vintecinco";
        padding: 0 10px;
    }

    .linha-card {
        width: 100%;
    }
}

.linha-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    max-width: 500px;
    width: 90%;
}

.linha-popup.active {
    display: block;
}

.linha-popup h4 {
    color: #117bad;
    margin-bottom: 15px;
}

.linha-popup p, .linha-popup ul {
    font-size: 1rem;
    line-height: 1.6;
}

.linha-popup ul {
    list-style: none;
    padding: 0;
}

.linha-popup ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.linha-popup ul li i {
    font-size: 1rem;
    color: #117bad;
    margin-right: 10px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #545454;
    cursor: pointer;
    border: none;
    background: none;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
}

.overlay.active {
    display: block;
}

/* Carrossel Section */
.carrossel-section {
    padding: 80px 0;
    background-color: #d9d9d9;
}

.carrossel-section h2 {
    font-size: 2rem;
    color: #545454;
    text-align: center;
    margin-bottom: 40px;
}

.carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-item img {
    max-height: 600px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

@media (max-width: 767.98px) {
    .carousel-item img {
        max-height: 400px;
    }

    .carousel {
        max-width: 100%;
    }
}

/* Contato Section */
.contato-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f6f6f7, #ffffff);
    color: #545454;
}

.contato-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #545454;
    margin-bottom: 20px;
}

.contato-section h4 {
    font-size: 1.5rem;
    color: #545454;
    margin-bottom: 15px;
}

.contato-section .form-control {
    background-color: #ffffff;
    border: 2px solid #545454;
    border-radius: 5px;
}

.contato-section .btn {
    background-color: #117bad;
    color: #ffffff;
    font-weight: 500;
    border-radius: 25px;
}

.contato-section .btn:hover {
    background-color: #0f6a93;
}

.info-contato {
    padding: 20px;
}

.info-contato p {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
    font-size: 1rem;
    line-height: 1.6;
}

.info-contato i {
    margin-right: 10px;
    color: #117bad;
}

/* Footer */
footer {
    background-color: #117bad;
    color: #ffffff;
    padding: 5px 0;
    text-align: center;
    padding-top: 1rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #25d366;
}

.whatsapp-btn i {
    font-size: 2rem;
}