/* Global body styling to match hero gradient */
body {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(108, 117, 125, 0.03) 30%,
        rgba(0, 0, 0, 0.05) 100%);
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Trip info badges hero styling */
.trip-info-badges-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.trip-duration-badge-hero {
    text-align: center;
    background: rgba(0, 123, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 123, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2);
}

.trip-date-badge-hero {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.duration-number-hero {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.duration-text-hero {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.duration-month-hero {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    font-style: italic;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.duration-year-hero {
    font-size: 1.3rem;
    font-weight: 700;
    opacity: 0.95;
    line-height: 1;
    margin-top: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Trip duration display for fallback header */
.trip-duration-display {
    text-align: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.duration-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.duration-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.duration-date {
    margin-top: 0.5rem;
}

.duration-month {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
    font-style: italic;
    line-height: 1;
}

.duration-year {
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.95;
    line-height: 1;
    margin-top: 0.25rem;
}

/* Trip info badges for teaser cards */
.trip-info-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.trip-duration-badge {
    text-align: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    padding: 0.75rem;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    min-width: 70px;
}

.trip-date-badge {
    text-align: center;
    background: linear-gradient(135deg, #6c757d, #495057);
    border-radius: 10px;
    padding: 0.5rem;
    color: white;
    box-shadow: 0 2px 6px rgba(108, 117, 125, 0.3);
    min-width: 70px;
}

.duration-number-teaser {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.duration-text-teaser {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.duration-month-teaser {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.9;
    font-style: italic;
    line-height: 1;
}

.duration-year-teaser {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.95;
    line-height: 1;
    margin-top: 0.1rem;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 0.5rem;
    min-width: 120px;
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.hero-stat i {
    opacity: 0.9;
}

.hero-logo {
    animation: fadeInUp 1s ease-out;
}

.hero-logo-img {
    height: 240px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content .lead {
        font-size: 1.1rem !important;
    }

    .hero-stat {
        min-width: 100px;
        padding: 1rem;
        margin: 0.25rem;
    }

    .hero-stat i {
        font-size: 1.5rem !important;
    }

    .hero-logo-img {
        height: 180px;
    }

    /* Responsive hero badges */
    .trip-info-badges-hero {
        gap: 0.75rem;
    }

    .trip-duration-badge-hero {
        padding: 1.25rem 1.5rem;
    }

    .trip-date-badge-hero {
        padding: 0.75rem 1.25rem;
    }

    .duration-number-hero {
        font-size: 2.8rem;
    }

    .duration-text-hero {
        font-size: 1rem;
    }

    .duration-month-hero {
        font-size: 0.8rem;
    }

    .duration-year-hero {
        font-size: 1.1rem;
    }

    .trip-duration-display {
        padding: 1.25rem;
    }

    .duration-number {
        font-size: 2.5rem;
    }

    .trip-duration-badge {
        min-width: 60px;
        padding: 0.6rem;
    }

    .trip-date-badge {
        min-width: 60px;
        padding: 0.4rem;
    }

    .duration-number-teaser {
        font-size: 1.4rem;
    }
}

/* Landscape phone orientation */
@media (max-width: 896px) and (max-height: 414px) and (orientation: landscape) {
    /* General landscape adjustments */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Teaser card badges for landscape */
    .trip-info-badges {
        gap: 0.4rem;
    }

    .trip-duration-badge {
        min-width: 60px;
        padding: 0.5rem;
    }

    .trip-date-badge {
        min-width: 60px;
        padding: 0.35rem;
    }

    .duration-number-teaser {
        font-size: 1.3rem;
    }

    .duration-text-teaser {
        font-size: 0.65rem;
    }

    .duration-year-teaser {
        font-size: 0.75rem;
    }
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        padding: 1rem 0;
    }

    .hero-logo-img {
        height: 120px;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .hero-content .lead {
        font-size: 0.9rem !important;
    }

    /* Hero badges for landscape */
    .trip-info-badges-hero {
        gap: 0.5rem;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .trip-duration-badge-hero {
        padding: 0.75rem 1rem;
        min-width: 120px;
    }

    .trip-date-badge-hero {
        padding: 0.5rem 0.75rem;
        min-width: 100px;
    }

    .duration-number-hero {
        font-size: 1.8rem;
    }

    .duration-text-hero {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

    .duration-month-hero {
        font-size: 0.7rem;
    }

    .duration-year-hero {
        font-size: 0.9rem;
    }

    /* Photo gallery background adjustments for landscape */
    .modern-photo-gallery {
        columns: 3;
        column-gap: 25px;
        background-size: 400px 240px;
        background-position: center top;
        background-repeat: repeat;
        padding: 1.5rem 1rem;
        min-height: 300px;
    }

    /* Reduce photo overlap for landscape */
    .modern-photo-item:nth-child(3n+1) {
        margin-left: -25px;
        margin-top: -10px;
    }

    .modern-photo-item:nth-child(5n+2) {
        margin-right: -30px;
        margin-top: -15px;
    }

    .modern-photo-item:nth-child(7n+3) {
        margin-left: -20px;
        margin-top: -8px;
    }

    .modern-photo-item:first-child {
        margin-left: -30px;
        margin-top: -12px;
    }
}

/* Wide landscape phones (iPhone Pro Max, etc.) */
@media (min-width: 768px) and (max-height: 430px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        padding: 0.5rem 0;
    }

    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Hero badges horizontal layout for wide landscape */
    .trip-info-badges-hero {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: center;
    }

    .trip-duration-badge-hero {
        padding: 1rem 1.5rem;
        min-width: 140px;
    }

    .trip-date-badge-hero {
        padding: 0.75rem 1.25rem;
        min-width: 120px;
    }

    .duration-number-hero {
        font-size: 2.2rem;
    }

    .duration-text-hero {
        font-size: 0.9rem;
    }

    .duration-year-hero {
        font-size: 1.1rem;
    }

    /* Photo gallery for wide landscape */
    .modern-photo-gallery {
        columns: 4;
        column-gap: 30px;
        background-size: 350px 210px;
        background-position: center top;
        background-repeat: repeat;
        padding: 2rem 1.5rem;
        min-height: 350px;
    }

    /* Fallback header adjustments for wide landscape */
    .trip-duration-display {
        padding: 1rem 1.5rem;
        max-width: 200px;
        margin: 0 auto;
    }

    .duration-number {
        font-size: 2rem;
    }
}

/* Extra small landscape phones (iPhone SE landscape, etc.) */
@media (max-width: 667px) and (max-height: 375px) and (orientation: landscape) {
    .modern-photo-gallery {
        columns: 2;
        column-gap: 20px;
        background-size: 500px 300px;
        background-position: center center;
        background-repeat: repeat;
        padding: 1rem 0.75rem;
        min-height: 250px;
    }

    /* Minimal photo overlap for very small landscape */
    .modern-photo-item:nth-child(3n+1) {
        margin-left: -15px;
        margin-top: -8px;
    }

    .modern-photo-item:nth-child(5n+2) {
        margin-right: -20px;
        margin-top: -10px;
    }

    .modern-photo-item:first-child {
        margin-left: -20px;
        margin-top: -10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-logo-img {
        height: 160px;
    }

    .hero-content h1 {
        font-size: 2rem !important;
    }

    .hero-content .lead {
        font-size: 1rem !important;
    }

    .hero-stat {
        min-width: 80px;
        padding: 0.75rem;
        margin: 0.2rem;
    }

    /* Extra small mobile hero badges */
    .trip-info-badges-hero {
        gap: 0.6rem;
    }

    .trip-duration-badge-hero {
        padding: 1rem 1.25rem;
    }

    .trip-date-badge-hero {
        padding: 0.6rem 1rem;
    }

    .duration-number-hero {
        font-size: 2.2rem;
    }

    .duration-text-hero {
        font-size: 0.9rem;
    }

    .duration-month-hero {
        font-size: 0.7rem;
    }

    .duration-year-hero {
        font-size: 0.95rem;
    }

    .trip-duration-display {
        padding: 1rem;
    }

    .duration-number {
        font-size: 2rem;
    }

    .trip-info-badges {
        gap: 0.4rem;
    }

    .trip-duration-badge {
        min-width: 55px;
        padding: 0.5rem;
    }

    .trip-date-badge {
        min-width: 55px;
        padding: 0.35rem;
    }

    .duration-number-teaser {
        font-size: 1.2rem;
    }

    .duration-text-teaser {
        font-size: 0.65rem;
    }

    .duration-month-teaser {
        font-size: 0.6rem;
    }

    .duration-year-teaser {
        font-size: 0.75rem;
    }
}





.photo-gallery {
    columns: 4;
    column-gap: 20px;
    margin-top: 20px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    break-inside: avoid;
    margin-bottom: 20px;
    background: white;
}

.photo-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Random height variations for playful effect */
.photo-item:nth-child(3n+1) img {
    filter: brightness(1.05);
}

.photo-item:nth-child(4n+2) {
    transform: rotate(0.5deg);
}

.photo-item:nth-child(5n+3) {
    transform: rotate(-0.3deg);
}

.photo-item:nth-child(6n+4) {
    transform: rotate(0.2deg);
}

/* Add some color accents */
.photo-item:nth-child(7n+1)::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:nth-child(7n+1):hover::before {
    opacity: 0.3;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-location,
.photo-date {
    font-size: 0.7rem;
    opacity: 0.8;
    margin: 0;
}

/* Responsive columns */
@media (max-width: 1200px) {
    .photo-gallery {
        columns: 3;
    }
}

@media (max-width: 768px) {
    .photo-gallery {
        columns: 2;
        column-gap: 15px;
    }

    .photo-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .photo-gallery {
        columns: 1;
    }
}

/* Trip cards styling */
.trip-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
}

.trip-card:hover {
    transform: translateY(-2px);
}

.trip-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trip-card:hover .card-img-top {
    transform: scale(1.05);
}

.trip-card .card-body {
    padding: 1.5rem;
}

.trip-card .card-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.trip-card .card-text {
    color: #6c757d;
    line-height: 1.6;
}

/* Dubbele hero-section definitie verwijderd om conflicten te voorkomen */

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 123, 255, 0.3) 0%,
        rgba(108, 117, 125, 0.4) 50%,
        rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

.hero-meta {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.hero-meta-item:last-child {
    margin-bottom: 0;
}

.hero-meta-item i {
    width: 20px;
    margin-right: 10px;
    opacity: 0.9;
}

/* Modern card styling */
.modern-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 15px 35px rgba(0, 0, 0, 0.06),
        0 20px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Aparte achtergrond laag voor het prikbord */
.photos-card.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 15px 35px rgba(0, 0, 0, 0.06),
        0 20px 40px rgba(0, 0, 0, 0.04);
    z-index: -2;
}

/* Prikbord hover effect uitgeschakeld om conflicten te voorkomen */

/* Extra onderkant schaduw verwijderd */

.modern-card:hover {
    transform: translateY(-2px);
}

.modern-card-header {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(108, 117, 125, 0.1));
    border-bottom: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 20px 20px 0 0;
    padding: 2rem;
}

/* Speciale styling voor foto gallery card - geen padding + overflow visible */
.photos-card .modern-card-body {
    padding: 0;
    overflow: visible;
}

.photos-card {
    overflow: visible;
}

/* Marge onder foto gallery header titel */
.photos-card .modern-card-header {
    padding-bottom: 1.5rem;
}

.modern-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.modern-badge {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modern-card-body {
    background: transparent !important;
    padding: 2rem;
}

/* Modern chevron styling */
.modern-chevron {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Modern Locations Styles */
.modern-collapse-btn {
    color: #2c3e50 !important;
    font-weight: 700;
}

.modern-collapse-btn[aria-expanded="true"] .modern-chevron {
    transform: rotate(180deg);
}

.modern-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.modern-location-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
}

.modern-location-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Clickable location styling */
.clickable-location {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-location:hover {
    background: rgba(0, 123, 255, 0.15) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(0, 123, 255, 0.4) !important;
}

.clickable-location.highlighted {
    background: rgba(0, 123, 255, 0.2) !important;
    border-left: 4px solid #007bff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3) !important;
}

.hotel-location {
    border-left: 4px solid #28a745;
}

.photo-location {
    border-left: 4px solid #dc3545;
}

.location-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.hotel-location .location-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.photo-location .location-icon {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
}

.location-info {
    flex: 1;
    background: transparent;
}

.location-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    background: transparent;
}

.location-type {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    background: transparent;
}

/* Collapse button styling */
.btn-collapse {
    background: none;
    border: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 15px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.btn-collapse:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-collapse:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Location items styling */
.location-item {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.location-item.highlighted {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.location-item.highlighted .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}



/* Map marker highlighting */
.marker-highlighted {
    animation: markerPulse 2s ease-in-out;
    z-index: 1000 !important;
}

@keyframes markerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Enhanced card styling for trip details */
.card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-2px);
}

.card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-title i {
    color: #007bff;
    margin-right: 0.5rem;
}

/* Badge styling improvements */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

/* Button styling improvements */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Modern Photo Gallery Styles - Kurk Afbeelding Achtergrond */
.modern-photo-gallery {
    columns: 4;
    column-gap: 35px;
    margin-top: 0;
    padding: 3rem 2rem;
    position: relative;
    overflow: visible;
    background-image: url('/images/kurk.png');
    background-size: 600px 360px;
    background-position: center center;
    background-repeat: repeat;
    border-radius: 0 0 20px 20px;
    background-color: #d4a574; /* Fallback kurk kleur */
    z-index: 5;
}

/* Overlay voor betere foto contrast */
.modern-photo-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 0;
    border-radius: 0 0 20px 20px;
}

.modern-photo-item {
    break-inside: avoid;
    margin-bottom: 25px;
    display: block;
    position: relative;
    z-index: 10;
}

.modern-photo-container {
    position: relative;
    background: #ffffff;
    padding: 15px 15px 45px 15px;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    transform-origin: center;
    border-radius: 3px;
    z-index: 15;
}

/* Punaise effect - over de foto met variatie in positie */
.modern-photo-item::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #dc3545 30%, #c82333 70%);
    border-radius: 50%;
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.4);
    z-index: 20;
    transition: all 0.3s ease;
}

.modern-photo-item::after {
    content: '';
    position: absolute;
    top: 19px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #fff 30%, #f8f9fa 70%);
    border-radius: 50%;
    z-index: 21;
    transition: all 0.3s ease;
}

/* Varieer punaise posities voor natuurlijker effect */
.modern-photo-item:nth-child(3n+1)::before {
    background: radial-gradient(circle, #28a745 30%, #1e7e34 70%);
    left: 30%;
    top: 12px;
}
.modern-photo-item:nth-child(3n+1)::after {
    left: 30%;
    top: 16px;
}

.modern-photo-item:nth-child(4n+2)::before {
    background: radial-gradient(circle, #ffc107 30%, #e0a800 70%);
    left: 70%;
    top: 18px;
}
.modern-photo-item:nth-child(4n+2)::after {
    left: 70%;
    top: 22px;
}

.modern-photo-item:nth-child(5n+3)::before {
    background: radial-gradient(circle, #17a2b8 30%, #138496 70%);
    left: 25%;
    top: 20px;
}
.modern-photo-item:nth-child(5n+3)::after {
    left: 25%;
    top: 24px;
}

.modern-photo-item:nth-child(6n+4)::before {
    background: radial-gradient(circle, #6f42c1 30%, #59359a 70%);
    left: 75%;
    top: 10px;
}
.modern-photo-item:nth-child(6n+4)::after {
    left: 75%;
    top: 14px;
}

.modern-photo-item:nth-child(7n+5)::before {
    background: radial-gradient(circle, #fd7e14 30%, #e55a00 70%);
    left: 40%;
    top: 16px;
}
.modern-photo-item:nth-child(7n+5)::after {
    left: 40%;
    top: 20px;
}

.modern-photo-item:nth-child(8n+6)::before {
    background: radial-gradient(circle, #e83e8c 30%, #d91a72 70%);
    left: 60%;
    top: 14px;
}
.modern-photo-item:nth-child(8n+6)::after {
    left: 60%;
    top: 18px;
}

/* Polaroid rotations - meer realistisch */
.modern-photo-item:nth-child(3n+1) .modern-photo-container {
    transform: rotate(3deg);
}

.modern-photo-item:nth-child(4n+2) .modern-photo-container {
    transform: rotate(-2deg);
}

.modern-photo-item:nth-child(5n+3) .modern-photo-container {
    transform: rotate(4deg);
}

.modern-photo-item:nth-child(6n+4) .modern-photo-container {
    transform: rotate(-3.5deg);
}

.modern-photo-item:nth-child(7n+5) .modern-photo-container {
    transform: rotate(2.5deg);
}

.modern-photo-item:nth-child(8n+6) .modern-photo-container {
    transform: rotate(-1.5deg);
}

.modern-photo-item:nth-child(9n+7) .modern-photo-container {
    transform: rotate(5deg);
}

.modern-photo-item:nth-child(10n+8) .modern-photo-container {
    transform: rotate(-4deg);
}

/* Hover effect - Polaroids komen naar voren en rechten zich */
.modern-photo-item:hover {
    z-index: 100 !important;
}

.modern-photo-container:hover {
    transform: rotate(0deg) scale(1.08);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.2),
        0 48px 96px rgba(0, 0, 0, 0.2);
}

.modern-photo-img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.modern-photo-container:hover .modern-photo-img {
    transform: scale(1.02);
}

/* Video styling */
.modern-video {
    object-fit: cover;
}

/* Polaroid tekst gebied */
.modern-photo-container::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    height: 30px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.modern-photo-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modern-photo-container:hover .modern-photo-overlay {
    opacity: 1;
}

.modern-photo-zoom {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transform: scale(0);
    transition: all 0.3s ease;
}

.modern-photo-container:hover .modern-photo-zoom {
    transform: scale(1);
}

.modern-photo-info {
    color: #333;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    text-align: center;
    transform: translateY(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modern-photo-container:hover .modern-photo-info {
    transform: translateY(0);
}


/* Extreme overlap - foto's vallen OVER de kurk achtergrond rand */
.modern-photo-item:nth-child(3n+1) {
    margin-bottom: 15px;
    margin-left: -45px;
    margin-top: -15px;
    z-index: 3;
    transform: rotate(-2deg);
}

.modern-photo-item:nth-child(5n+2) {
    margin-bottom: 10px;
    margin-right: -50px;
    margin-top: -20px;
    z-index: 4;
    transform: rotate(1.5deg);
}

.modern-photo-item:nth-child(7n+3) {
    margin-bottom: 25px;
    margin-left: -40px;
    margin-top: -10px;
    z-index: 2;
    transform: rotate(-1deg);
}

.modern-photo-item:first-child {
    margin-left: -55px;
    margin-top: -25px;
    z-index: 5;
    transform: rotate(2deg);
}

.modern-photo-item:nth-child(4n) {
    margin-right: -55px;
    margin-top: -15px;
    z-index: 3;
    transform: rotate(-1.5deg);
}



.modern-photo-item.portrait {
    aspect-ratio: 3/4;
}



.modern-photo-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modern-photo-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-photo-item:hover .modern-photo-content img {
    transform: scale(1.05);
}



/* Responsive adjustments for polaroid gallery */
@media (max-width: 1200px) {
    .modern-photo-gallery {
        columns: 3;
        column-gap: 20px;
        padding: 2rem 1.5rem;
        background-size: 400px 300px;
    }
}

@media (max-width: 768px) {
    .modern-photo-gallery {
        columns: 2;
        column-gap: 15px;
        padding: 1.5rem 1rem;
        background-size: 300px 200px;
        background-position: center center;
    }

    /* Minder extreme overlap op tablet */
    .modern-photo-item:nth-child(3n+1) {
        margin-left: -25px;
    }
    .modern-photo-item:nth-child(5n+2) {
        margin-right: -30px;
    }
    .modern-photo-item:first-child {
        margin-left: -35px;
    }
    .modern-photo-item:nth-child(4n) {
        margin-right: -35px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .modern-photo-gallery {
        columns: 1;
        padding: 1rem;
        background-size: 250px 150px;
        background-position: center center;
        background-repeat: repeat;
    }

    /* Minimale overlap op mobile */
    .modern-photo-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: -5px !important;
    }

    .modern-photo-item:first-child {
        margin-left: -15px !important;
    }

    .modern-photo-item:last-child {
        margin-right: -15px !important;
    }

    .modern-card-header,
    .modern-card-body {
        padding: 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    /* Verbeterde mobiele header styling */
    .modern-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .modern-title i {
        font-size: 1.1rem;
    }

    .form-check-label {
        font-size: 0.9rem;
    }

    .modern-switch {
        margin-top: 0.5rem;
    }
}
