/*
 * Tour-detail page styles extracted from templates/tours/tour_detail.html
 * inline <style> block. Loaded via `{% block extra_css %}` so it loads
 * AFTER site.css and overrides .btn-jadoo-primary intentionally
 * (this page uses a purple gradient button rather than the yellow brand
 * button).
 */

/* Infinite-scroll image strip */
.infinite-scroll-container {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

.infinite-scroll-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    animation: scroll 40s linear infinite;
    align-items: center;
}

.infinite-scroll-track:hover {
    animation-play-state: paused;
}

.infinite-scroll-track img {
    border-radius: 0.75rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .infinite-scroll-track div {
        width: 200px !important;
        height: 150px !important;
    }
}

/* Pricing cards — mobile-first */
.pricing-card {
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .pricing-card {
        border-radius: 1.5rem;
        padding: 2rem;
        margin-bottom: 0;
    }
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.basic {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.pricing-card.classic {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
    position: relative;
    overflow: hidden;
}

.pricing-card.classic::before {
    content: "⭐ PREMIUM";
    position: absolute;
    top: 0.75rem;
    right: -2.5rem;
    background: #059669;
    color: white;
    padding: 0.375rem 2.5rem;
    transform: rotate(45deg);
    font-size: 0.625rem;
    font-weight: bold;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .pricing-card.classic::before {
        top: 1rem;
        right: -2rem;
        padding: 0.5rem 3rem;
        font-size: 0.75rem;
    }
}

/* Prices */
.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin: 0.75rem 0;
}

@media (min-width: 768px) {
    .price-amount {
        font-size: 3.5rem;
        margin: 1rem 0;
    }
}

.price-basic   { color: #d97706; }
.price-classic { color: #059669; }

.price-range {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    margin: 0.75rem 0;
}

@media (min-width: 768px) {
    .price-range {
        font-size: 2.5rem;
        margin: 1rem 0;
    }
}

.price-from {
    font-size: 1rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .price-from {
        font-size: 1.5rem;
    }
}

/* Feature list */
.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .feature-list li {
        font-size: 1rem;
    }
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li.included::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

.feature-list li.excluded::before {
    content: "✗";
    color: #ef4444;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .comparison-table {
        font-size: 1rem;
    }
}

.comparison-table th {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 0.75rem;
    text-align: center;
    font-weight: bold;
}

@media (min-width: 768px) {
    .comparison-table th {
        padding: 1rem;
    }
}

.comparison-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

@media (min-width: 768px) {
    .comparison-table td {
        padding: 1rem;
    }
}

.comparison-table .feature-name {
    font-weight: 600;
    text-align: left;
}

.comparison-table .included     { color: #059669; font-weight: 600; }
.comparison-table .not-included { color: #6b7280; }

/*
 * Page-local override: tour detail uses a purple gradient button
 * rather than the site-wide yellow brand button defined in site.css.
 * This load-order trumping is intentional.
 */
.btn-jadoo-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .btn-jadoo-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

.btn-jadoo-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.btn-jadoo-secondary {
    background: white;
    color: #4f46e5;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: bold;
    border: 2px solid #4f46e5;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .btn-jadoo-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

.btn-jadoo-secondary:hover {
    background: #4f46e5;
    color: white;
    transform: scale(1.05);
}
