/* Hero section styles */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top right, rgba(0, 229, 198, 0.1), transparent 70%),
                radial-gradient(circle at bottom left, rgba(107, 70, 193, 0.1), transparent 70%),
                radial-gradient(circle at center, rgba(255, 112, 66, 0.05), transparent 60%);
    z-index: -1;
    transform: rotate(-5deg);
}

.hero .container {
    max-width: 100%;
    padding: 0 3rem;
}

.hero-content {
    max-width: 700px;
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: var(--radius);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-5deg);
    margin: 1.5rem;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
    filter: contrast(1.1) brightness(1.1);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 229, 198, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image-container:hover::after {
    opacity: 1;
}

/* Waveform Container */
.waveform-container {
    position: relative;
    height: 120px;
    width: 150%; /* Increased by 50% */
    margin-top: 2rem;
    overflow: hidden;
    padding: 0;
    margin-left: -25%; /* Center the enlarged element */
}

.waveform {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(90deg, 
                rgba(107, 70, 193, 0.1), 
                rgba(0, 229, 198, 0.2), 
                rgba(255, 112, 66, 0.1),
                rgba(0, 229, 198, 0.2),
                rgba(107, 70, 193, 0.1));
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .waveform-container {
        width: 120%;
        margin-left: -10%;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-image-container {
        margin: 1rem 0;
    }
    
    .waveform-container {
        height: 80px;
        width: 110%;
        margin-left: -5%;
    }
}
