/* Add here all your CSS customizations */

/* Portfolio Images - 4:3 Aspect Ratio */
.portfolio-item .thumb-info .thumb-info-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio (3/4 = 0.75) */
    overflow: hidden;
    border-radius: 0 !important;
}

.portfolio-item .thumb-info .thumb-info-wrapper img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}

.portfolio-item .thumb-info .thumb-info-wrapper .ratio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Social Icons Customization */
.social-icons-telegram a {
    background-color: #ffffff !important;
}

.social-icons-whatsapp a {
    background-color: #ffffff !important;
}

.social-icons-copy a {
    background-color: #ffffff !important;
}

.social-icons-telegram a:hover,
.social-icons-whatsapp a:hover,
.social-icons-copy a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Copy Toast Notification */
.copy-toast {
    font-family: 'Vazir', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
    pointer-events: none;
}

.copy-toast i {
    margin-left: 8px;
    font-size: 16px;
}

/* Toast Animation */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Ensure consistent column heights */
.portfolio-list .portfolio-item {
    margin-bottom: 35px;
}

.portfolio-list .col-md-6,
.portfolio-list .col-lg-4 {
    display: flex;
    flex-direction: column;
}
