/* Schmidty Travel Tales - Custom Styles */

/* Trip cover hero on trip detail page */
.trip-hero {
    max-height: 400px;
    overflow: hidden;
}

.trip-cover-img {
    object-fit: cover;
    max-height: 400px;
}

.trip-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem 0 1rem;
}

/* Trip cards on home page */
.trip-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.trip-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Photo gallery thumbnails */
.gallery-thumb {
    aspect-ratio: 1;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gallery-thumb:hover {
    opacity: 0.85;
}

/* Day content styling */
.day-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

.day-body p {
    line-height: 1.8;
}

/* Day navigation */
.day-nav .btn {
    max-width: 45%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ad slots */
.ad-slot img {
    max-width: 100%;
    border-radius: 0.375rem;
}

/* Admin: image upload zone */
#image-upload-zone {
    border-color: #adb5bd !important;
    transition: border-color 0.2s, background-color 0.2s;
}

#image-upload-zone.drag-over {
    border-color: #0d6efd !important;
    background-color: #e7f1ff;
}

/* Admin: image card hover for delete button */
.image-card .btn-danger {
    opacity: 0;
    transition: opacity 0.2s;
}

.image-card:hover .btn-danger {
    opacity: 1;
}

/* Admin: sortable ghost */
.sortable-ghost {
    opacity: 0.4;
}

/* Quill editor overrides */
.ql-editor {
    min-height: 200px;
}
