/*
 * CSS Index - Página de seleção de produtos
 * Fraldas Clean Care
 */

:root {
    --primary-color: #1F4F88;
    --infantil-color: #00BFFF;
    --geriatrico-color: #3D6AA5;
    --light-bg: #f8f9fa;
    --dark-bg: #2C3E50;
}

/* Navegação */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Seção Hero */
#hero {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

#hero h1 {
    color: var(--primary-color);
}

#hero .lead {
    color: #6c757d;
    font-weight: 400;
}

/* Cards de Produto */
.product-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-image-container {
    padding: 3rem 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container {
    transform: scale(1.05);
}

.product-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.product-content {
    padding: 1.5rem 2rem;
    flex: 1;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card.infantil .product-title {
    color: var(--primary-color);
}

.product-card.geriatrico .product-title {
    color: var(--geriatrico-color);
}

.product-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-features i {
    color: #28a745;
    font-size: 1.1rem;
}

.product-cta {
    padding: 0 2rem 2rem;
}

/* Botões específicos */
.btn-infantil {
    background-color: var(--infantil-color);
    border-color: var(--infantil-color);
    color: white;
    font-weight: 600;
    border-radius: 0.85rem;
    transition: all 0.3s ease;
}

.btn-infantil:hover {
    background-color: #009DD9;
    border-color: #009DD9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 191, 255, 0.3);
}

.btn-geriatrico {
    background-color: var(--geriatrico-color);
    border-color: var(--geriatrico-color);
    color: white;
    font-weight: 600;
    border-radius: 0.85rem;
    transition: all 0.3s ease;
}

.btn-geriatrico:hover {
    background-color: #2D5587;
    border-color: #2D5587;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(61, 106, 165, 0.3);
}

/* Footer */
footer.bg-primary {
    background-color: var(--primary-color) !important;
}

footer a:hover {
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 991px) {
    #hero {
        padding: 2rem 0;
        min-height: auto;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-image {
        max-height: 250px;
    }

    .product-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    #hero h1 {
        font-size: 2rem;
    }

    #hero .lead {
        font-size: 1.1rem;
    }

    .product-image-container {
        padding: 2rem 1rem 1rem;
    }

    .product-image {
        max-height: 200px;
    }

    .product-content {
        padding: 1rem 1.5rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .product-features li {
        font-size: 0.9rem;
    }

    .product-cta {
        padding: 0 1.5rem 1.5rem;
    }
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}
