/**
 * Travel Section Overlay Improvements
 * Enhances visibility of text on travel images
 */

/* Improve overlay gradient for better text visibility */
.travel-card .travel-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%) !important;
    padding: 30px 20px !important;
}

/* Enhance title visibility with text shadow */
.travel-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    line-height: 1.3 !important;
}

/* Improve location and date visibility */
.travel-location, .travel-date {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
    font-weight: 500 !important;
}

.travel-location {
    margin-bottom: 10px !important;
}

/* Blog post titles in blog section */
.blog-card .blog-img {
    position: relative;
}

.blog-card .blog-title a {
    color: #333 !important;
    transition: color 0.3s ease;
}

.blog-card .blog-title a:hover {
    color: var(--primary-color) !important;
}

.dark-mode .blog-card .blog-title a {
    color: #f5f5f5 !important;
}

.dark-mode .blog-card .blog-title a:hover {
    color: var(--secondary-color) !important;
}

/* Improve visibility on featured blog post */
.featured-post-title a {
    color: #333 !important;
    font-weight: 700 !important;
}

.dark-mode .featured-post-title a {
    color: #f5f5f5 !important;
}

/* Fix for blog index page travel cards */
.blog-featured-title, 
.related-posts h3 {
    color: var(--primary-color) !important;
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important;
}

.dark-mode .blog-featured-title,
.dark-mode .related-posts h3 {
    color: var(--secondary-color) !important;
}
