/* ============================================
   ENHANCED ANIMATIONS FOR PORTFOLIO SECTIONS
   Applying social links hover effects to other sections
   ============================================ */

/* ===============================
   PORTFOLIO ITEMS ENHANCEMENTS
   =============================== */

.portfolio-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Shimmer effect on hover */
.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(214, 52, 71, 0.15), transparent);
    transition: left 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.portfolio-item:hover::before {
    left: 100%;
}

/* Enhanced hover effects */
.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(214, 52, 71, 0.4) !important;
}

/* Icon glow enhancement */
.portfolio-item:hover .wrap-icon {
    background: rgba(214, 52, 71, 0.2);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(214, 52, 71, 0.5);
}

.portfolio-item .wrap-icon {
    transition: all 0.4s ease;
}

/* Text glow on hover */
.portfolio-item:hover .portfolio-item-content h3 {
    color: #D63447;
    text-shadow: 0 0 10px rgba(214, 52, 71, 0.5);
}

.portfolio-item .portfolio-item-content h3 {
    transition: all 0.3s ease;
}

/* ===============================
   SERVICES CARDS ENHANCEMENTS
   =============================== */

.feature-v1 {
    position: relative;
    overflow: hidden;
    background: rgba(25, 25, 25, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.4s ease;
}

/* Shimmer effect */
.feature-v1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(214, 52, 71, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.feature-v1:hover::before {
    left: 100%;
}

/* Ensure content is above shimmer */
.feature-v1>* {
    position: relative;
    z-index: 1;
}

/* Hover effects */
.feature-v1:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 52, 71, 0.3);
    box-shadow: 0 15px 40px rgba(214, 52, 71, 0.25);
    background: rgba(25, 25, 25, 0.8);
}

/* Icon wrapper glow */
.feature-v1 .wrap-icon {
    background: rgba(214, 52, 71, 0.1);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-v1:hover .wrap-icon {
    background: rgba(214, 52, 71, 0.2);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 25px rgba(214, 52, 71, 0.4);
}

.feature-v1:hover .wrap-icon img {
    filter: drop-shadow(0 0 8px rgba(214, 52, 71, 0.6));
}

/* Text glow on hover */
.feature-v1:hover h3 {
    color: #D63447;
    text-shadow: 0 0 10px rgba(214, 52, 71, 0.4);
}

.feature-v1 h3 {
    transition: all 0.3s ease;
}

.feature-v1:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-v1 p {
    transition: all 0.3s ease;
}

/* ===============================
   CONTACT INFO ENHANCEMENTS
   =============================== */

.contact-info-v1 .gsap-reveal {
    position: relative;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.contact-info-v1 .gsap-reveal:hover {
    transform: translateX(5px);
}

.contact-info-v1 .contact-info-val:hover {
    color: #D63447;
    text-shadow: 0 0 8px rgba(214, 52, 71, 0.3);
}

/* ===============================
   FOOTER SOCIAL LINKS ENHANCEMENTS
   =============================== */

.footer-site-social li a {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-site-social li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D63447;
    transition: width 0.3s ease;
}

.footer-site-social li a:hover::after {
    width: 100%;
}

.footer-site-social li a:hover {
    color: #D63447;
    text-shadow: 0 0 8px rgba(214, 52, 71, 0.4);
    transform: translateY(-2px);
}

/* ===============================
   NAVIGATION ENHANCEMENTS
   =============================== */

.site-nav-ul>li>a {
    position: relative;
    transition: all 0.3s ease;
}

.site-nav-ul>li>a:hover {
    text-shadow: 0 0 8px rgba(214, 52, 71, 0.3);
}

/* ===============================
   BUTTON ENHANCEMENTS
   =============================== */

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(214, 52, 71, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    box-shadow: 0 8px 20px rgba(214, 52, 71, 0.4);
    transform: translateY(-2px);
}

/* ===============================
   SKILL COUNTER ENHANCEMENTS
   =============================== */

.counter-v1 {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 10px;
}

.counter-v1:hover {
    background: rgba(25, 25, 25, 0.5);
    transform: scale(1.05);
}

.counter-v1:hover .number {
    color: #D63447;
    text-shadow: 0 0 15px rgba(214, 52, 71, 0.5);
}

.counter-v1 .number {
    transition: all 0.3s ease;
}

/* ===============================
   FORM INPUTS ENHANCEMENTS
   =============================== */

.form-control:focus {
    border-color: #D63447 !important;
    box-shadow: 0 0 15px rgba(214, 52, 71, 0.3) !important;
}

/* ===============================
   RESPONSIVE ADJUSTMENTS
   =============================== */

@media (max-width: 768px) {

    /* Reduce transform intensity on mobile */
    .portfolio-item:hover,
    .feature-v1:hover {
        transform: translateY(-4px);
    }

    .feature-v1:hover .wrap-icon {
        transform: scale(1.1);
    }
}

/* Disable heavy animations on touch devices */
@media (hover: none) and (pointer: coarse) {

    .portfolio-item:hover,
    .feature-v1:hover {
        transform: none;
    }

    .portfolio-item:active,
    .feature-v1:active {
        opacity: 0.9;
    }
}