/* Mobile-First Activity Page Styles */

/* Mobile viewport fix */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Body padding for fixed bottom bar */
body {
    padding-bottom: 80px !important;
}

/* Container responsive adjustments */
@media (max-width: 767px) {
    .container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    /* Hero section mobile optimization */
    .activity-hero {
        padding: 15px !important;
    }
    
    /* Breadcrumb horizontal scroll */
    .breadcrumb {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        font-size: 0.8rem !important;
        gap: 5px !important;
    }
    
    .breadcrumb::-webkit-scrollbar {
        display: none;
    }
    
    .breadcrumb a, .breadcrumb span {
        flex-shrink: 0;
    }
    
    /* Title sizing */
    .activity-title {
        font-size: 1.5rem !important;
    }
    
    /* Meta row responsive */
    .activity-meta-row {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    /* Content layout - single column on mobile */
    .content-container {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    /* Sidebar becomes bottom fixed */
    .content-sidebar {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        padding: 10px 15px !important;
        z-index: 1000;
        border-radius: 0 !important;
    }
    
    .price-card {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        background: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    
    .price-label {
        font-size: 0.8rem !important;
    }
    
    .price-amount {
        font-size: 1.2rem !important;
        margin: 0 !important;
    }
    
    .book-button {
        margin: 0 !important;
        padding: 10px 25px !important;
        font-size: 0.95rem !important;
    }
    
    .price-includes {
        display: none !important;
    }
    
    /* Image gallery mobile */
    .image-gallery {
        margin: 0 -15px !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .main-image-container {
        height: 250px !important;
    }
    
    .image-thumbnails {
        display: flex !important;
        overflow-x: auto !important;
        gap: 5px !important;
        padding: 10px 15px !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .thumbnail {
        flex: 0 0 80px !important;
        height: 80px !important;
    }
    
    /* Content sections padding */
    .content-section {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .section-title {
        font-size: 1.2rem !important;
    }
    
    /* Tags mobile optimization */
    .activity-tags {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    .tag-badge {
        white-space: nowrap;
        font-size: 0.8rem !important;
        padding: 5px 10px !important;
    }
    
    /* Details/Summary mobile friendly */
    details summary {
        padding: 15px !important;
        font-size: 1rem !important;
    }
    
    /* Activity cards responsive */
    .activity-card {
        margin-bottom: 10px !important;
    }
    
    .activity-card a {
        display: flex;
        align-items: center;
    }
    
    .activity-image {
        width: 100px !important;
        height: 100px !important;
        flex-shrink: 0;
    }
    
    .activity-content {
        padding: 10px !important;
    }
    
    .activity-title {
        font-size: 0.9rem !important;
    }
    
    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .content-container {
        gap: 20px !important;
    }
    
    .content-sidebar {
        position: sticky;
        top: 20px;
    }
}

/* Touch-friendly interactions */
@media (hover: none) {
    .tag-badge:hover {
        background: #e3f2fd !important;
        color: #1976d2 !important;
    }
    
    .tag-badge:active {
        background: #1976d2 !important;
        color: white !important;
    }
    
    .book-button:active {
        transform: scale(0.95);
    }
    
    details summary:active {
        background: #f0f0f0;
    }
}

/* Smooth transitions */
.collapsible-content {
    transition: max-height 0.3s ease;
}

.book-button {
    transition: all 0.2s ease;
}

/* Loading states */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Accessibility improvements */
.tag-badge:focus,
.book-button:focus,
details summary:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        padding-bottom: 0 !important;
    }
    
    .content-sidebar,
    .book-button,
    .price-card {
        display: none !important;
    }
}