/* Portfolio Shared Styles */
/* Used by all portfolio sub-pages in /portfolio/ */
/* All classes prefixed with "pf-" to avoid clashing with Bootstrap (.card, .tag, etc.) */


/* MARK: - List Container */
.pf-list {
    /* Holds the rendered portfolio cards. Page-specific viewer styles target inside .pf-media */
}


/* MARK: - Card */
/* Default = horizontal layout: media on left, info on right */
.pf-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

/* Stacked variant for tall iframe viewers (e.g. 3D Tour) — info goes below media */
.pf-card-stacked {
    flex-direction: column;
}


/* MARK: - Media Container */
/* Page-specific CSS sets the actual width/height of the viewer inside .pf-media */
.pf-media {
    background: #f0f0f0;
}


/* MARK: - Card Info Panel */
.pf-card-info {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 220px;
}

.pf-card-stacked .pf-card-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid #e8e8e8;
}


/* MARK: - Address (top of info panel) */
.pf-card-address {
    font-size: 1.2em;
    font-weight: 700;
    color: #ED391B;
    text-decoration: none;
    line-height: 1.35;
    display: block;
}
.pf-card-address:hover {
    color: #ce1a00;
    text-decoration: underline;
}


/* MARK: - Agent Info */
.pf-card-agent-name {
    margin-top: 12px;
    font-size: 0.9em;
    font-weight: 600;
    color: #474f51;
}

.pf-card-agent-contact {
    font-size: 0.85em;
    color: #8d9ca3;
    margin-top: 3px;
}
.pf-card-agent-contact a {
    color: #8d9ca3;
    text-decoration: none;
}
.pf-card-agent-contact a:hover {
    color: #ED391B;
    text-decoration: underline;
}


/* MARK: - Tags (category pills shown on each card) */
.pf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 14px;
    justify-content: center;
}

.pf-tag {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: filter 0.15s;
}
.pf-tag:hover {
    filter: brightness(0.92);
}

/* Halcyonic-tinted category colors — muted to fit the gray-blue palette */
.pf-tag-drone { background: #dde6ed; color: #3b5f7a; }
.pf-tag-3d    { background: #e8e2f0; color: #5b3d8a; }
.pf-tag-map   { background: #dfe9df; color: #406b45; }
.pf-tag-other { background: #f5e2d8; color: #a04420; }


/* MARK: - Date */
.pf-card-date {
    margin-top: 14px;
    font-size: 0.82em;
    color: #96a9b5;
}


/* MARK: - Pagination */
.pf-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

.pf-page-btn {
    background: linear-gradient(to right, #ED391B, #ce1a00);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 22px;
    font-size: 0.9em;
    font-family: inherit;
    cursor: pointer;
}
.pf-page-btn:hover:not(:disabled) {
    background: linear-gradient(to right, #ce1a00, #b01600);
}
.pf-page-btn:disabled {
    background: #b8c0c5;
    cursor: default;
}

.pf-page-info {
    font-size: 0.85em;
    color: #8d9ca3;
    min-width: 90px;
    text-align: center;
}


/* MARK: - Empty State */
.pf-empty-msg {
    text-align: center;
    color: #96a9b5;
    padding: 40px 0;
    font-size: 0.95em;
}


/* MARK: - Mobile Responsive */
/* On narrow screens, stack media above info regardless of variant */
@media (max-width: 768px) {
    .pf-card {
        flex-direction: column;
    }
    .pf-card-info {
        flex-direction: column;
    }
}
