/* index.css - Paleta de Cores Sindecom Paulista */
:root {
    --primary-color: #025983;
    --secondary-color: #0377AE;
    --body-text: #333333;
    --accent-color: #00ADFF;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--body-text);
    background-color: var(--white);
}

/* HEADER INTRO */
.header-intro {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #e6f4ff 100%);
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color)) 1;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-logo {
    width: 250px;
    height: 120px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

/* CAROUSEL SECTION */
.carousel-section {
    background-color: var(--light-gray);
    padding: 40px 20px;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.carousel-slide {
    min-width: 100%;
    height: auto;
    position: relative;
}

.slide-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(2, 89, 131, 0.7);
    color: var(--white);
    border: none;
    font-size: 3rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background-color: var(--accent-color);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    left: 35%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    justify-content: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* MAIN CARDS SECTION */
.main-cards-section {
    padding: 60px 20px;
    background-color: var(--white);
}

.main-cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-items: center;
    place-items: center;
}

.main-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    width: 100%;
    max-width: 400px;
    cursor: pointer;
}

.main-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(2, 89, 131, 0.2);
    border-color: var(--accent-color);
}

.main-card-image {
    height: 230px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.main-card-image-img {
    width: 120%;
    height: 120%;
    object-fit: contain;
}

.main-card-content {
    padding: 25px;
}

.main-card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.main-card-description {
    color: var(--body-text);
    font-size: 1rem;
    line-height: 1.6;
}

/* FEATURES SECTION */
.features-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 80px 20px;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features-content h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 173, 255, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--body-text);
    font-size: 1rem;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.5rem;
    }

    .header-logo {
        width: 90px;
        height: 90px;
    }

    .carousel-slide {
        height: 100px;
    }

    .carousel-control {
        font-size: 1rem;
        padding: 5px 10px;
    }

    .features-content h2 {
        font-size: 2rem;
    }

    .main-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.3rem;
    }

    .header-logo {
        width: 130px;
        height: 85px;
    }

    .carousel-slide {
        height: auto;
        max-height: 250px;
    }

    .features-content h2 {
        font-size: 1.5rem;
    }
}
