/* resources/css/app.css */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.banner {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: transform 0.2s ease;
}

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

.card-header {
    background-color: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.carousel-inner {
    height: 300px;
}

.carousel-item img {
    height: 300px;
    object-fit: cover;
}

.badge {
    font-size: 0.875rem;
    padding: 0.5em 0.75em;
    margin-right: 0.5rem;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }

    .carousel-inner {
        height: 200px;
    }

    .carousel-item img {
        height: 200px;
    }
}

/* Overlay para descrições de imagens */
.img-overlay-info {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.3;
    transition: opacity 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.img-overlay-info > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.position-relative:hover .img-overlay-info {
    opacity: 0.95;
}

/* Melhor visualização em dispositivos móveis */
@media (max-width: 576px) {
    .img-overlay-info {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
}
