/* Custom styles for dynamic pages */

/* Breadcrumb Section */
.breadcrumb-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    position: relative;
}

.banner-content {
    text-align: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.breadcrumb-list li {
    color: #fff;
    font-size: 16px;
}

.breadcrumb-list li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb-list li a:hover {
    opacity: 1;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    opacity: 0.6;
}

/* Section Head */
.section-head {
    margin-bottom: 50px;
}

.section-head h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-head p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Card Styles */
.destination-card, .package-card, .news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.destination-card:hover, .package-card:hover, .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.destination-img, .package-img, .news-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.destination-img img, .package-img img, .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-img img,
.package-card:hover .package-img img,
.news-card:hover .news-img img {
    transform: scale(1.1);
}

.destination-overlay, .package-overlay, .news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.destination-card:hover .destination-overlay,
.package-card:hover .package-overlay,
.news-card:hover .news-overlay {
    opacity: 1;
}

.destination-btn, .package-btn, .news-btn {
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.destination-btn:hover, .package-btn:hover, .news-btn:hover {
    background: #0056b3;
    color: #fff;
}

.destination-content, .package-content, .news-content {
    padding: 25px;
}

.destination-content h5, .package-content h5, .news-content h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

.destination-content h5 a, .package-content h5 a, .news-content h5 a {
    color: #333;
    text-decoration: none;
}

.destination-content h5 a:hover, .package-content h5 a:hover, .news-content h5 a:hover {
    color: #007bff;
}

.destination-info, .package-info, .news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.tour-count, .package-duration, .news-date {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-price {
    margin-top: 15px;
}

.package-price .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #007bff;
}

.news-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.read-more-btn {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more-btn:hover {
    color: #0056b3;
}

/* Pagination */
.pagination-area {
    margin-top: 50px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .section-head h2 {
        font-size: 2rem;
    }
    
    .destination-content, .package-content, .news-content {
        padding: 20px;
    }
}

/* Blog/News Detail Styles */
.blog-details-content {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.blog-details-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-details-text {
    padding: 40px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.blog-date, .blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.blog-content {
    line-height: 1.8;
    color: #555;
}

.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 8px;
}

/* Sidebar Styles */
.blog-sidebar, .destination-sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sidebar-widget h4 {
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.related-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.related-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-post-img {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h6 {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.related-post-content h6 a {
    color: #333;
    text-decoration: none;
}

.related-post-content h6 a:hover {
    color: #007bff;
}

.related-post-date {
    font-size: 12px;
    color: #999;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.back-btn:hover {
    color: #0056b3;
}

@media (max-width: 991px) {
    .blog-sidebar, .destination-sidebar {
        padding-left: 0;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .blog-details-text {
        padding: 30px 20px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}