﻿.portfolio #portfolio-flters {
    list-style: none;
    margin-bottom: 20px;
}

    .portfolio #portfolio-flters li {
        cursor: pointer;
        display: inline-block;
        
        font-size: 15px;
        font-weight: 600;
        line-height: 1;
        padding: 7px 10px;
        text-transform: uppercase;
        color: #444444;
        transition: all 0.3s ease-in-out;
        border: 2px solid #fff;
    }

        .portfolio #portfolio-flters li:hover,
        .portfolio #portfolio-flters li.filter-active {
            color: #f3a200;
            border-color: #ffb727;
        }

.portfolio .portfolio-item {
    margin-bottom: 30px;
}

    .portfolio .portfolio-item .portfolio-img {
        overflow: hidden;
    }

        .portfolio .portfolio-item .portfolio-img img {
            transition: all 0.8s ease-in-out;
        }

    .portfolio .portfolio-item .portfolio-info {
        opacity: 0;
        position: absolute;
        left: 15px;
        bottom: 0;
        z-index: 3;
        right: 15px;
        transition: all ease-in-out 0.3s;
        background: rgba(0, 0, 0, 0.5);
        padding: 10px 15px;
    }

        .portfolio .portfolio-item .portfolio-info h4 {
            font-size: 18px;
            color: #fff;
            font-weight: 600;
            color: #fff;
            margin-bottom: 0px;
        }

        .portfolio .portfolio-item .portfolio-info p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            margin-bottom: 0;
        }

        .portfolio .portfolio-item .portfolio-info .preview-link,
        .portfolio .portfolio-item .portfolio-info .details-link {
            position: absolute;
            right: 40px;
            font-size: 24px;
            top: calc(50% - 18px);
            color: #fff;
            transition: 0.3s;
        }

            .portfolio .portfolio-item .portfolio-info .preview-link:hover,
            .portfolio .portfolio-item .portfolio-info .details-link:hover {
                color: #ffc041;
            }

        .portfolio .portfolio-item .portfolio-info .details-link {
            right: 10px;
        }

    .portfolio .portfolio-item:hover .portfolio-img img {
        transform: scale(1.2);
    }

    .portfolio .portfolio-item:hover .portfolio-info {
        opacity: 1;
    }

.portfolio-details {
    padding-top: 40px;
}

    .portfolio-details .portfolio-details-slider img {
        width: 100%;
    }

    .portfolio-details .portfolio-details-slider .swiper-pagination {
        margin-top: 20px;
        position: relative;
    }

        .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background-color: #fff;
            opacity: 1;
            border: 1px solid #ffb727;
        }

        .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
            background-color: #ffb727;
        }

    .portfolio-details .portfolio-info {
        padding: 30px;
        box-shadow: 0px 0 30px rgba(59, 67, 74, 0.08);
    }

        .portfolio-details .portfolio-info h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .portfolio-details .portfolio-info ul {
            list-style: none;
            padding: 0;
            font-size: 15px;
        }

            .portfolio-details .portfolio-info ul li + li {
                margin-top: 10px;
            }

    .portfolio-details .portfolio-description {
        padding-top: 30px;
    }

        .portfolio-details .portfolio-description h2 {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .portfolio-details .portfolio-description p {
            padding: 0;
        }

.section-bg {
    background-color: white;
}

.section-title {
    text-align: center;
    padding: 0 0 30px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 20px;
        padding-bottom: 0;
        color: #3b434a;
        position: relative;
        z-index: 2;
    }

    .section-title span {
        position: absolute;
        top: 30px;
        color: #eef0f2;
        left: 0;
        right: 0;
        z-index: 1;
        font-weight: 700;
        font-size: 52px;
        text-transform: uppercase;
        line-height: 0;
    }

    .section-title p {
        margin-bottom: 0;
        position: relative;
        z-index: 2;
    }

/* Card base */
.art-card {
    border: none;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(18, 25, 30, 0.06);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .art-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 40px rgba(18, 25, 30, 0.12);
    }

/* Admin icons */
.admin-actions {
    display: flex;
    justify-content: space-between;
    padding: 12px;
}

.admin-icon {
    font-size: 18px;
}

/* Image */
.art-image-wrap {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.art-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

/* Body spacing */
.art-body {
    padding: 18px;
}

/* Title area */
.gold-line {
    width: 28px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
    margin-right: 12px;
    margin-top: 6px;
    display: inline-block;
}

.art-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2d3d;
    margin: 0;
    line-height: 1.1;
}

/* Collect button refined */
.btn-collect {
    background: linear-gradient(135deg,#d4af37,#f5e6b3);
    color: #1f2d3d;
    font-weight: 600;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    box-shadow: 0 6px 18px rgba(212,175,55,0.12);
    white-space: nowrap;
}

    .btn-collect i {
        color: #fff;
        background: rgba(0,0,0,0.08);
        padding: 6px;
        border-radius: 50%;
        font-size: 0.9rem;
    }

    .btn-collect:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(212,175,55,0.18);
    }

/* Price row */
.art-price-row {
    margin-top: 10px;
    margin-bottom: 6px;
}

.price-icon {
    color: #d4af37;
    margin-right: 8px;
    font-size: 1.05rem;
}

.price-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 10px;
}

.price-tag {
    font-size: 0.78rem;
    color: #7f8c8d;
}

/* Muted style */
.muted {
    color: #7f8c8d;
}

/* Date */
.art-date {
    font-weight: 500;
    font-size: 0.92rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 12px;
}

.date-icon {
    color: #d4af37;
}

/* Description */
.art-desc {
    color: #3b4750;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Tags */
.art-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f6f6f6;
    color: #2c3e50;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.82rem;
}

/* Sold badge */
.sold-badge {
    background: #c0392b;
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    font-weight: 600;
}
/* Modal visual */
.contact-modal {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 18px 50px rgba(18,25,30,0.18);
}

.modal-header {
    border-bottom: none;
    padding: 18px 20px 8px 20px;
    align-items: center;
}

.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gold-line-sm {
    width: 36px;
    height: 4px;
    background: #d4af37;
    border-radius: 3px;
    display: inline-block;
    margin-top: 2px;
}

.modal-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1f2d3d;
    margin: 0;
    font-family: 'Segoe UI','Helvetica Neue',sans-serif;
}

.modal-body {
    padding: 12px 20px 18px 20px;
}

/* Lead text */
.lead-strong {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* Contact card */
.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.contact-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #fafafa;
    padding: 6px;
}

.contact-meta {
    min-width: 0;
}

.contact-title {
    font-weight: 700;
    color: #1f2d3d;
    font-size: 0.95rem;
}

.contact-sub {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Actions */
.contact-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.btn-gold {
    background: linear-gradient(135deg,#d4af37,#f5e6b3);
    color: #1f2d3d;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px rgba(212,175,55,0.12);
}

.btn-outline-dark {
    border: 1px solid #e6e6e6;
    color: #1f2d3d;
    background: transparent;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Toast-like copy feedback */
.copy-toast {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #fff;
    background: #2c3e50;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}

/* Footer */
.modal-footer {
    border-top: none;
    padding: 10px 20px;
}

/* Responsive */
@media (max-width:576px) {
    .modal-dialog.modal-sm {
        max-width: 92%;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-actions {
        width: 100%;
        justify-content: space-between;
    }

    .btn-gold, .btn-outline-dark {
        width: 48%;
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .art-header {
        gap: 8px;
    }

    .btn-collect {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .price-number {
        font-size: 1.05rem;
    }

    .art-title {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .section-title h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-title span {
        font-size: 38px;
    }
}

/* SAFARI FIX PATCH */

/* Fix flex-gap */
.contact-actions > * + *,
.art-tags > * + *,
.art-header > * + *,
.price-left > * + * {
    margin-left: 8px !important;
}

/* Fix gradient rendering */
.btn-collect,
.btn-gold {
    background: -webkit-linear-gradient(135deg,#d4af37,#f5e6b3);
    background: linear-gradient(135deg,#d4af37,#f5e6b3);
}

/* Fix object-fit issues */
.art-image {
    -webkit-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Fix pre-line not working */
/*.art-desc {
    white-space: pre-wrap;
}*/

/* Fix modal shadow */
.contact-modal {
    -webkit-box-shadow: 0 18px 50px rgba(18,25,30,0.18);
    box-shadow: 0 18px 50px rgba(18,25,30,0.18);
}

