/* Tours Section */
.tours-section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

/* Tour Card */
.tour-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.tour-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.tour-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.1);
}

.tour-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.tour-category {
    padding: 6px 14px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    /* FORCE WHITE TEXT */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.tour-price-badge {
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.85);
    /* Darker slate background */
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    color: #ffffff;
    /* FORCE WHITE TEXT */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-price-badge span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #cbd5e1;
    /* Light Slate for 'per person' */
    margin-left: 4px;
}

.tour-card-content {
    padding: 24px;
}

.tour-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.tour-card-title:hover {
    color: var(--primary-light);
}

.tour-card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.tour-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.tour-meta-item i {
    color: var(--primary-light);
}

.tour-card-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-success {
    background: var(--success-gradient);
    color: white;
}

.btn-warning {
    background: var(--warning-gradient);
    color: var(--bg-primary);
}

.btn-danger {
    background: var(--secondary-gradient);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* Tour Detail Page */
.tour-hero {
    height: 60vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.tour-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.tour-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.3) 0%, var(--bg-primary) 100%);
}

.tour-hero-content {
    padding-bottom: 60px;
}

.tour-hero-category {
    display: inline-flex;
    padding: 8px 20px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.tour-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.tour-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.tour-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.tour-hero-meta-item i {
    color: var(--primary-light);
}

.tour-detail {
    padding: 60px 0;
}

.tour-detail-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
}

.tour-detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Tour Gallery */
.tour-gallery {
    margin-bottom: 48px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition-fast);
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.3);
}

/* Tour Description */
.tour-description {
    margin-bottom: 48px;
}

.tour-description h3 {
    margin-bottom: 20px;
}

.tour-description p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Tour Includes */
.tour-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.includes-list,
.excludes-list {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.includes-list h4,
.excludes-list h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.includes-list h4 i {
    color: #38ef7d;
}

.excludes-list h4 i {
    color: #f5576c;
}

.includes-list ul li,
.excludes-list ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.includes-list ul li:last-child,
.excludes-list ul li:last-child {
    border-bottom: none;
}

.includes-list ul li i {
    color: #38ef7d;
    font-size: 0.875rem;
}

.excludes-list ul li i {
    color: #f5576c;
    font-size: 0.875rem;
}

/* Booking Sidebar */
.booking-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.booking-price {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.booking-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.booking-price-per {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.booking-child-price {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.booking-info {
    margin-bottom: 24px;
}

.booking-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.booking-info-item:last-child {
    border-bottom: none;
}

.booking-info-item span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.booking-info-item span:first-child i {
    color: var(--primary-light);
}

.booking-dates {
    margin-bottom: 24px;
}

.booking-dates h5 {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.booking-dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-date {
    padding: 8px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.booking-btn {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
}

/* Filters Container - Horizontal Scroll on Mobile */
.filters-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    /* Filter buttons now wrap as requested */
}