/* 
 * Enhanced Team Section - Futuristic Styling
 * This file adds futuristic styling to the team section
 */

/* Main section styling with tech background */
#meet-the-team {
    background-color: rgba(0, 10, 20, 0.9);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    margin: 0;
    z-index: 1;
}

/* Tech grid background */
#meet-the-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(56, 182, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 182, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.7;
}

/* Animated circuit lines */
#meet-the-team::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../../static/images/circuit-pattern.png');
    background-size: cover;
    opacity: 0.05;
    z-index: -1;
    animation: circuit-pulse 15s infinite alternate;
}

@keyframes circuit-pulse {
    0% {
        opacity: 0.03;
        transform: scale(1);
    }
    50% {
        opacity: 0.07;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.03;
        transform: scale(1);
    }
}

/* Enhanced grid layout */
.team-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    padding: 20px;
}

/* Animated connector line between text and image */
.team-grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(56, 182, 255, 0.8) 20%, 
        rgba(56, 182, 255, 0.8) 80%, 
        transparent);
    z-index: 1;
    animation: pulse-line 3s infinite;
}

@keyframes pulse-line {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Text content enhancements */
.team-text {
    position: relative;
    padding: 40px 50px;
    background: rgba(0, 20, 40, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(56, 182, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(56, 182, 255, 0.5),
        inset 0 0 10px rgba(56, 182, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    overflow: hidden;
}

/* Hover effect on text container */
.team-text:hover {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(56, 182, 255, 0.7),
        inset 0 0 15px rgba(56, 182, 255, 0.2);
    transform: translateY(-5px);
}

/* Animated accent corner */
.team-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.3) 0%, transparent 70%);
    z-index: -1;
    animation: rotate-gradient 10s linear infinite;
}

@keyframes rotate-gradient {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced heading */
.team-text h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 35px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

/* Animated underline for heading */
.team-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #38b6ff, transparent);
    animation: width-pulse 3s infinite alternate;
}

@keyframes width-pulse {
    from {
        width: 80px;
        opacity: 1;
    }
    to {
        width: 120px;
        opacity: 0.6;
    }
}

/* Enhanced paragraph styling */
.team-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.015em;
    font-weight: 400;
    max-width: 100%;
}

.team-text p:last-of-type {
    margin-bottom: 35px;
}

/* Paragraph hover effect */
.team-text p:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(56, 182, 255, 0.3);
}

/* Enhanced LinkedIn link - styled to match regular text */
.team-text .linkedin-link {
    color: inherit; /* Match surrounding text color */
    font-weight: inherit; /* Match surrounding text weight */
    text-decoration: none;
    border-bottom: none;
    transition: all 0.3s ease;
    padding: 0;
    background: none;
    display: inline;
}

.team-text .linkedin-link:hover {
    color: inherit;
    background: none;
    border-bottom: none;
    text-shadow: 0 0 10px rgba(56, 182, 255, 0.7);
    box-shadow: none;
}

/* Enhanced CTA button */
.team-text .cta-button {
    background: linear-gradient(45deg, rgba(0, 98, 163, 0.8), rgba(56, 182, 255, 0.9));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(56, 182, 255, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(56, 182, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-text .cta-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38b6ff, transparent);
    animation: btn-borderline 3s linear infinite;
    opacity: 0.7;
    z-index: 1;
}

.team-text .cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: btn-shine 4s ease-in-out infinite;
    z-index: 1;
}

.team-text .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(56, 182, 255, 0.7);
    background: linear-gradient(45deg, rgba(56, 182, 255, 0.9), rgba(0, 98, 163, 0.8));
}

/* Image container enhancements */
.team-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(56, 182, 255, 0.6);
    transition: all 0.5s ease;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    max-width: 500px;
    margin: 0 auto;
}

/* Image hover effect */
.team-image:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(56, 182, 255, 0.8);
}

/* Glowing border effect */
.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(56, 182, 255, 0.3);
    z-index: 2;
    transition: all 0.3s ease;
    pointer-events: none;
    border-radius: 15px;
    box-shadow: inset 0 0 20px rgba(56, 182, 255, 0.3);
    animation: border-pulse 4s infinite alternate;
}

@keyframes border-pulse {
    0% {
        border-color: rgba(56, 182, 255, 0.3);
        box-shadow: inset 0 0 20px rgba(56, 182, 255, 0.3);
    }
    100% {
        border-color: rgba(56, 182, 255, 0.7);
        box-shadow: inset 0 0 30px rgba(56, 182, 255, 0.5);
    }
}

/* Enhanced image */
.team-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: all 0.5s ease;
    filter: saturate(1.1) contrast(1.1);
}

.team-image:hover img {
    transform: scale(1.05);
    filter: saturate(1.2) contrast(1.2);
}

/* Floating tech elements around the image */
.team-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-image: url('../../../static/images/tech-circle.png');
    background-size: contain;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .team-grid::after {
        display: none;
    }
    
    .team-text {
        padding: 35px 40px;
    }
    
    .team-image {
        transform: perspective(1000px) rotateY(0deg);
        margin: 0 auto 30px;
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    #meet-the-team {
        padding: 60px 0;
    }
    
    .team-text {
        padding: 30px 35px;
    }
    
    .team-text h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .team-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .team-text p:last-of-type {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    .team-text {
        padding: 25px 30px;
    }
    
    .team-text h2 {
        font-size: 1.8rem;
    }
    
    .team-image {
        max-width: 300px;
    }
}

/* Animated keyframes from button */
@keyframes btn-borderline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes btn-shine {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 0; }
    50% { left: 100%; opacity: 1; }
    60% { opacity: 0; }
} 