:root {
    --mobile: 576px;
    --tablet: 768px;
    --desktop: 992px;
    --large: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #EDEDED;
    color: #171A1C;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.navbar-brand img {
    max-width: 100%;
    height: auto;
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
}

.navbar-nav .dropdown-menu {
    background: #0C0C0C;
}

.navbar-nav .dropdown-item {
    color: #fff;
    transition: background 0.3s;
}

.navbar-nav .dropdown-item:hover {
    background: #FFD400;
    color: #171A1C;
}

.dropdown-lifter {
    background: #171A1C;
    color: #fff;
    padding: 40px 20px;
}

.dropdown-lifter .dropdown-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dropdown-lifter .dropdown-inline img {
    width: 48px;
    height: 58px;
}

.dropdown-lifter .dropdown-inline h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #FFD400;
    text-align: center;
}

.dropdown-lifter .row {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
}

.dropdown-lifter .col-md-4 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 30px;
}

.dropdown-lifter a {
    margin-top: auto;
    font-size: 14px;
    font-weight: bold;
    color: #FFD400;
    text-decoration: none;
    text-align: center;
}

.dropdown-lifter p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.dropdown-lifter a:hover {
    text-decoration: underline;
}

.carousel {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    height: 600px;
    width: 100%;
}

.carousel-item figure {
    height: 100%;
    margin: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(23, 26, 28, 0.95) 0%,
        rgba(23, 26, 28, 0.8) 50%,
        rgba(23, 26, 28, 0) 100%);
    display: flex;
    align-items: center;
}

.carousel-bg .container {
    max-width: 600px;
    padding: 0 40px;
    margin-left: 0;
    text-align: left;
}

.carousel-text {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-bg button {
    background: #FFD400;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #171A1C;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-bg button:hover {
    background: #FFE44D;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.carousel-w-logo {
    max-width: 400px;
    text-align: left;
    padding: 20px;
    margin-left: 40px;
}

.carousel-w-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 90%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators {
    margin-bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background-color: #FFD400;
    transform: scale(1.2);
}

.about-us {
    background: #fff;
}

.about-us h2 {
    font-size: 2.5rem;
    margin-top: 20px;
}

.about-us p {
    font-size: 1.1rem;
}

.cards-about {
    background: #fff;
    border: 1px solid #DEE6F1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.cards-about img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    margin-bottom: 10px;
    object-fit: contain;
}

.flex-grow-1 {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.about-cards-footer {
    background-color: #171A1C;
    color: #fff;
    text-align: center;
    padding: 15px;
    height: 110px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services {
    background: #343a40;
    color: #fff;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.service-card h3,
.service-card p {
    position: absolute;
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.service-card h3 {
    top: 40%;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
}

.service-card p {
    top: 55%;
    font-size: 1rem;
    z-index: 2;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.blog-cards {
    background: #fff;
    border: 1px solid #171A1C;
    border-radius: 10px;
    transition: transform 0.3s;
}

.blog-cards:hover {
    transform: translateY(-10px);
}

.blog-cards img {
    border-radius: 10px 10px 0 0;
}

.blog-cards h4 {
    color: #FFD400;
    font-size: 1.25rem;
    margin: 15px 0;
}

.blog-cards p {
    color: #7A7A7A;
}

.form-section .form-bg {
    background: #fff;
}

.form-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-section p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.form-section .terms {
    font-size: 0.875rem;
    color: #7A7A7A;
}

.form-section .form-control,
.form-section .form-select {
    border-radius: 5px;
}

.form-section .btn-warning {
    width: 100%;
    border-radius: 50px;
}

footer a {
    color: #fff;
    transition: color 0.3s;
    text-decoration: none;
}

footer a:hover {
    color: #FFD400;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer .social-media {
    margin-right: 10px;
}

.footer-end img {
    width: 100%;
    height: auto;
}

#empilhadeirasDropdownContent {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 1000;
}

.mobile-plus {
    font-weight: bold;
}

#empilhadeirasDropdownContent.show {
    display: block;
}

#empilhadeirasDropdown:hover + #empilhadeirasDropdownContent,
#empilhadeirasDropdownContent:hover {
    display: block;
}

.justify-text {
    text-align: justify;
    display: block;
}

/* Responsive Styles */
@media (min-width: 992px) {
    #empilhadeirasDropdown {
        margin-right: 0;
    }

    .dropdown-lifter .dropdown-inline h4 {
        font-size: 16px;
    }

    .dropdown-lifter p {
        font-size: 13px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.875rem;
    }

    .about-us h2 {
        font-size: 2rem;
    }

    .about-us p {
        font-size: 1rem;
    }

    .navbar {
        padding: 15px 30px;
    }

    .navbar-brand img {
        max-height: 60px;
    }

    .navbar-nav .nav-link {
        margin: 0 10px;
        padding: 10px 5px;
    }

    .navbar-nav .nav-item {
        margin-right: 20px;
    }

    .navbar-nav .dropdown-menu {
        margin-top: 10px;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    .btn-warning {
        padding: 8px 15px;
    }
}

@media (max-width: 992px) {
    .carousel-item {
        height: 500px;
    }
    
    .carousel-text {
        font-size: 2rem;
    }
    
    .carousel-w-logo {
        max-width: 300px;
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-bg {
        background: linear-gradient(90deg, 
            rgba(23, 26, 28, 0.95) 0%,
            rgba(23, 26, 28, 0.8) 70%,
            rgba(23, 26, 28, 0.6) 100%);
    }
    
    .carousel-text {
        font-size: 1.75rem;
    }
    
    .carousel-bg button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .carousel-w-logo {
        margin-left: 10px;
    }
    
    .carousel-w-logo img {
        max-width: 150px;
    }
    
    .carousel-w-logo p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        width: 150px;
    }

    .dropdown-lifter {
        padding: 10px;
    }

    .dropdown-lifter .dropdown-inline img {
        width: 40px;
        height: 50px;
    }

    .dropdown-lifter .dropdown-inline h4 {
        font-size: 14px;
    }

    .dropdown-lifter p {
        font-size: 12px;
        line-height: 1.6;
    }

    .carousel-item {
        height: 300px;
    }

    .carousel-bg button {
        padding: 8px 20px;
        font-size: 0.875rem;
    }

    .carousel-text {
        font-size: 1.5rem;
    }

    .carousel-bg .container {
        padding: 0 20px;
    }

    .carousel-w-logo {
        margin-left: 5px;
        padding: 15px;
    }

    .carousel-w-logo img {
        max-width: 120px;
    }

    .services h2,
    .blog h2,
    .about-us h2 {
        font-size: 2rem;
    }

    .form-section .form-bg {
        padding: 20px;
    }

    #state {
        margin-top: 15px;
    }

    .service-card p,
    .service-card h3 {
        font-size: 0.875rem;
    }

    .mobile-plus {
        display: inline-block;
        margin-left: 5px;
    }

    #empilhadeirasDropdownContent {
        position: static;
    }
}
