/* Home Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    background-color: var(--text-dark);
    background-image: linear-gradient(180deg, rgba(12, 12, 12, 0.57) 0%, rgba(10, 1, 1, 0.75) 99%), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-section .subheading {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--white);
}

.hero-section .main-heading {
    font-weight: 800;
    font-size: 59px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section .description {
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-section .btn {
    margin-top: 10px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-300);
    padding: 25px;
    box-shadow: 12px 12px 0 0 var(--background-medium);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 0 0 0 var(--background-medium);
}

.service-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-section .section-text {
    margin-bottom: 20px;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(-10px);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 0;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 60px 0;
    background-color: var(--background-medium);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 30px;
}

.image-column img {
    max-width: 300px;
    margin: 0 auto;
}

.content-column {
    text-align: left;
}

.button-column {
    text-align: center;
}

/* Management Systems Section */
.management-systems-section {
    padding: 80px 0;
}

.management-systems-section .section-text {
    margin-bottom: 20px;
}

.management-systems-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.management-systems-section li {
    margin-bottom: 10px;
}

.management-systems-section .image-column img {
    width: 100%;
    max-width: 500px; /* ajuste conforme necessário */
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.image-wrapper {
    background: #f7f9fb; /* cor de fundo suave */
    padding: 20px;
    border-radius: 24px;
}


/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.benefit-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* Services Carousel Styles */
.services-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.service-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-prev,
.carousel-next {
    background: #007bff;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #0056b3;
}

.carousel-prev i,
.carousel-next i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .service-card {
        flex: 0 0 100%;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section {
        padding: 150px 0 80px;
    }

    .hero-section .main-heading {
        font-size: 42px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-column, .content-column, .button-column {
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-section .main-heading {
        font-size: 32px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}