* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 2rem;
}

.trip-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fd 100%);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
    animation: statsSlideIn 0.6s ease-out;
}

.trip-stats:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes statsSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #bdc3c7, transparent);
    opacity: 0.6;
}

/* Nav styling removed - no longer needed */

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.trip-overview {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.trip-overview h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.trip-hero {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.image-link:hover {
    transform: scale(1.02);
}

.image-link:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.trip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #e8f4fd 0%, #d6e9f7 100%);
    color: #7f8c8d;
    text-align: center;
    padding: 2rem;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.image-placeholder small {
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 300px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 3rem 2rem 2rem;
    color: white;
}

.image-overlay h2 {
    color: white;
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.zoom-hint {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: normal;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trip-hero:hover .zoom-hint {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: lightboxImageIn 0.4s ease;
}

@keyframes lightboxImageIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    max-width: 600px;
}

.follow-us-section {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border-radius: 15px;
    border: 2px solid #d6e9f7;
}

.follow-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.follow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
}

.follow-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.follow-icon {
    font-size: 1.3rem;
    animation: float 2s ease-in-out infinite;
}

.external-icon {
    font-size: 0.9rem;
    opacity: 0.8;
}

.follow-description {
    margin-top: 0.75rem;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.trip-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Cleaned up - mobile cards removed */

.trip-table th {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
    font-size: 1.1rem;
}

.trip-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.trip-table tr:hover {
    background: #f8f9fa;
}

.trip-table tr:last-child td {
    border-bottom: none;
}

.dag-nummer {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c3e50;
    text-align: center;
    background: #ecf0f1;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.datum {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
}

.afstand {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1.1rem;
}

.locatie {
    font-weight: 500;
    color: #2c3e50;
}

.passantenhaven {
    color: #27ae60;
    font-style: italic;
}

.totaal-afstand {
    background: #ecf0f1;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
}

.totaal-afstand h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.totaal-waarde {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
}

footer {
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
    color: #7f8c8d;
}

/* Mobile-first responsive design */
@media (max-width: 480px) {
    /* Ultra small screens - phones in portrait */
    .trip-stats {
        gap: 1rem;
        padding: 1rem 1.5rem;
        margin: 0.5rem 1rem;
        max-width: 300px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-icon {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-divider {
        height: 30px;
    }
    
    main {
        padding: 0 0.5rem;
    }
    
    .trip-overview {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .trip-overview h2 {
        font-size: 1.4rem;
    }
    
    .trip-hero {
        height: 280px;
        margin-bottom: 1rem;
    }
    
    .image-overlay {
        padding: 2rem 1rem 1rem;
    }
    
    .image-overlay h2 {
        font-size: 1.6rem;
    }
    
    .zoom-hint {
        font-size: 0.8rem;
    }
    
    .image-link:hover {
        transform: none; /* Disable scale on mobile for better UX */
    }
    
    /* Mobile lightbox adjustments */
    .lightbox-close {
        top: -30px;
        font-size: 1.5rem;
        width: 30px;
        height: 30px;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        margin-top: 0.5rem;
        padding: 0 1rem;
    }
    
    .lightbox-image {
        max-height: 80vh;
    }
    
    .image-placeholder {
        padding: 1rem;
    }
    
    .placeholder-icon {
        font-size: 2rem;
    }
    
    .image-placeholder p {
        font-size: 1rem;
    }
    
    .image-placeholder small {
        font-size: 0.8rem;
    }
    
    .follow-us-section {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .follow-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .follow-description {
        font-size: 0.8rem;
    }
    
    /* Mobile optimizations */
    .trip-table {
        font-size: 0.8rem;
    }
    
    .trip-table th,
    .trip-table td {
        padding: 0.5rem;
    }
    
    .dag-nummer {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .datum {
        font-size: 0.8rem;
    }
    
    .afstand {
        font-size: 1rem;
    }
    
    .totaal-waarde {
        font-size: 1.5rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    /* Small screens - phones in landscape and small tablets */
    .trip-stats {
        gap: 1.5rem;
        padding: 1.2rem 1.75rem;
        max-width: 350px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-icon {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-divider {
        height: 35px;
    }
    
    main {
        padding: 0 0.75rem;
    }
    
    .trip-overview {
        padding: 1.5rem;
    }
    
    .trip-hero {
        height: 320px;
    }
    
    .image-overlay h2 {
        font-size: 1.8rem;
    }
    
    .zoom-hint {
        font-size: 0.85rem;
    }
    
    .trip-table {
        font-size: 0.9rem;
    }
    
    .trip-table th,
    .trip-table td {
        padding: 0.75rem;
    }
    
    .dag-nummer {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Medium screens - tablets */
    .trip-table th,
    .trip-table td {
        padding: 0.85rem;
    }
    
    .trip-hero {
        height: 380px;
    }
    
    .image-overlay h2 {
        font-size: 2rem;
    }
    
    .zoom-hint {
        font-size: 0.9rem;
    }
}

@media (min-width: 1025px) {
    /* Large screens - desktops */
}

/* Remove conflicting media query - it's handled above */

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .trip-table tr:hover {
        background: inherit;
    }
    
    .trip-table tr:active {
        background: #f8f9fa;
    }
} 