/* ===================================
   Modern Tourism Section
   =================================== */

.tourism-section-modern {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Background Decoration */
.tourism-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 128, 64, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.section-header-modern {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.section-subtitle-modern {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 400;
    max-width: 600px;
}

/* Modern Card Design */
.tourism-card-modern {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    z-index: 1;
}

.tourism-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(15, 128, 64, 0.2);
}

.card-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tourism-card-modern:hover .card-image-wrapper img {
    transform: scale(1.15);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Floating Badge */
.location-badge-modern {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f8040;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.like-btn-modern {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    color: #94a3b8;
}

.like-btn-modern:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: scale(1.1);
}

/* Card Content */
.card-content-modern {
    padding: 1.5rem 2rem;
    position: relative;
    background: white;
}

/* Floating content overlap */
.card-content-modern {
    margin-top: -40px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.rating-modern {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.rating-modern i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.card-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-desc-modern {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.price-tag {
    font-weight: 700;
    color: #0f8040;
    font-size: 1.1rem;
}

.price-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    display: block;
}

.btn-explore {
    background: #0f8040;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-explore:hover {
    background: #0a5a2d;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(15, 128, 64, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title-modern {
        font-size: 2rem;
    }

    .card-content-modern {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1.25rem;
    }

    .card-image-wrapper {
        height: 240px;
    }
}
/* ===================================
   Tourism Detail Page
   =================================== */

.tourism-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: -1px; /* Overlap navbar bottom border if needed */
}

.tourism-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.tourism-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 0;
}

.tourism-hero-content {
    position: relative;
    z-index: 1;
}

.tourism-title-large {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.tourism-meta-large {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
}

.content-card, .sidebar-widget {
    border: 1px solid #f1f5f9;
}

.leading-loose {
    line-height: 1.8;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #475569;
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 12px;
}

.gallery-img-main {
    height: 410px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-img-sub {
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-img-main:hover, .gallery-img-sub:hover {
    transform: scale(1.02);
}

/* Sidebar List */
.other-tourism-item {
    padding: 0.75rem;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.other-tourism-item:hover {
    background-color: #f8fafc;
}

.other-tourism-item img {
    border: 1px solid #e2e8f0;
}

/* Map specific */
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .tourism-hero {
        height: 350px;
    }

    .tourism-title-large {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .gallery-img-main, .gallery-img-sub {
        height: 200px;
    }
}
