/* Estilo Geral */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Seção Trilhas */
#trilhas {
    padding: 20px;
    text-align: center;
}

#trilhas h2 {
    font-size: 2rem;
    color: #2a5934;
    margin-bottom: 20px;
}

.trails-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.trail-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.trail-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.trail-card h3 {
    font-size: 1.5rem;
    color: #2a5934;
    margin: 15px 0;
}

.trail-card p {
    font-size: 1rem;
    color: #555;
    text-align: justify;
    margin: 10px 0;
}

.trail-card .btn {
    display: block;
    text-align: center;
    background-color: #2a5934;
    color: white;
    text-decoration: none;
    padding: 10px;
    margin-top: auto;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.trail-card .btn:hover {
    background-color: #1e4527;
}

.read-more-btn {
    background-color: #fff;
    border: 1px solid #2a5934;
    color: #2a5934;
    padding: 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 15px;
}

.read-more-btn:hover {
    background-color: #2a5934;
    color: #fff;
}

.trail-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .trail-card img {
        height: 150px;
    }

    .trail-card h3 {
        font-size: 1.3rem;
    }

    .trail-card p {
        font-size: 0.9rem;
    }

    .trail-card .btn {
        font-size: 0.9rem;
    }
}
