/* Landscape Trip Card */
.trip-card {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 700px;
    margin: 20px 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hover effect */
.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Image section */
.trip-card-image {
    flex: 1 1 40%;
    overflow: hidden;
}

.trip-card-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.trip-card-image a:hover img {
    transform: scale(1.05);
}

/* Content section */
.trip-card-content {
    flex: 1 1 60%;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Title */
.trip-card-content h4 {
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.trip-card-content h4 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.trip-card-content h4 a:hover {
    color: #28a745;
}

/* Meta info */
.trip-card-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 16px;
}

/* Button */
.trip-card-content .btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.trip-card-content .btn-success {
    background-color: #28a745;
    color: #fff;
    border: none;
}

.trip-card-content .btn-success:hover {
    background-color: #218838;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .trip-card {
        flex-direction: column;
        max-width: 95%;
    }

    .trip-card-image {
        flex: 1 1 auto;
    }

    .trip-card-content {
        flex: 1 1 auto;
        padding: 16px;
    }
}
