/* ===================================
   TECHNOLOGIES SECTION STYLES
   ===================================
   Modern 6-feature grid layout with premium dark theme
*/

.technologies {
    /* background: linear-gradient(135deg, #2C2C2C 0%, #121212 50%, #2C2C2C 100%); */
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.technologies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%); */
    pointer-events: none;
    z-index: 1;
}

.technologies-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.technologies h2 {
    font-size: 48px;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    font-weight: 700;
    letter-spacing: 2px;
}

.technologies-subtitle {
    font-size: 18px;
    color: #E0E0E0;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.tech-feature-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    opacity: 0;
}

.tech-feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

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

.tech-feature-box:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #FFD700;
    box-shadow: 
        0 20px 50px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 215, 0, 0.3);
}

.tech-feature-box.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.tech-icon svg {
    width: 100%;
    height: 100%;
    color: #FFD700;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.tech-feature-box:hover .tech-icon svg {
    color: #FFFFFF;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    transform: scale(1.1);
}

.tech-feature-box h3 {
    font-size: 22px;
    color: #FFD700;
    margin: 0 0 15px 0;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.tech-feature-box:hover h3 {
    color: #FFFFFF;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

.tech-feature-box p {
    color: #E0E0E0;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.tech-feature-box:hover p {
    color: #F5F5F5;
    opacity: 1;
}

/* Ripple Effect */
.tech-feature-box .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Glow Border Effect */
.tech-feature-box.glow {
    animation: glow-border 1.5s ease-in-out;
}

@keyframes glow-border {
    0%, 100% {
        border-color: rgba(255, 215, 0, 0.2);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        border-color: #FFD700;
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(255, 215, 0, 0.6),
            inset 0 1px 0 rgba(255, 215, 0, 0.3);
    }
}

/* Background Image */
.tech-background-image {
    position: absolute;
    max-width: 300px;
    height: auto;
    left: 50%;
    bottom: 50px;
    z-index: 1;
    transform: translateX(-60%);
    opacity: 0.3;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.2));
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .technologies {
        padding: 60px 20px;
    }
    
    .technologies h2 {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .technologies-subtitle {
        font-size: 16px;
        margin-bottom: 50px;
    }
    
    .technologies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .tech-feature-box {
        padding: 30px 25px;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .tech-feature-box h3 {
        font-size: 20px;
    }
    
    .tech-feature-box p {
        font-size: 14px;
    }
    
    .tech-background-image {
        max-width: 250px;
        bottom: 30px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .technologies {
        padding: 50px 15px;
    }
    
    .technologies h2 {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .technologies-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-feature-box {
        padding: 25px 20px;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .tech-feature-box h3 {
        font-size: 18px;
    }
    
    .tech-feature-box p {
        font-size: 13px;
    }
    
    .tech-background-image {
        max-width: 200px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .technologies {
        padding: 40px 10px;
    }
    
    .technologies h2 {
        font-size: 28px;
    }
    
    .technologies-subtitle {
        font-size: 13px;
    }
    
    .tech-feature-box {
        padding: 20px 15px;
    }
    
    .tech-feature-box h3 {
        font-size: 16px;
    }
    
    .tech-feature-box p {
        font-size: 12px;
    }
    
    .tech-background-image {
        max-width: 150px;
    }
}

/* Animation delays for staggered effect */
.tech-feature-box:nth-child(1) { animation-delay: 0.1s; }
.tech-feature-box:nth-child(2) { animation-delay: 0.2s; }
.tech-feature-box:nth-child(3) { animation-delay: 0.3s; }
.tech-feature-box:nth-child(4) { animation-delay: 0.4s; }
.tech-feature-box:nth-child(5) { animation-delay: 0.5s; }
.tech-feature-box:nth-child(6) { animation-delay: 0.6s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .tech-feature-box,
    .tech-icon svg,
    .tech-feature-box h3,
    .tech-feature-box p {
        transition: none;
        animation: none;
    }
    
    .tech-feature-box:hover {
        transform: none;
    }
    
    .tech-feature-box.animate-in {
        transform: none;
        opacity: 1;
    }
}