/* ========================================
   HERO SECTION STYLES - DELL MUSIC
   ======================================== */

/* Hero Container */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cor-principal), var(--cor-terciaria));
}

/* Decorative Elements */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 91, 6, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 91, 6, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform-origin: center;
    transition: transform 0.5s ease-out;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.8s ease;
    transform: scale(1.05); /* Ligeira ampliação para evitar bordas brancas ao mover */
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero/pattern.png');
    opacity: 0.15;
    z-index: 1;
    animation: slideBackground 40s linear infinite;
}

@keyframes slideBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 56, 101, 0.9), 
        rgba(17, 55, 89, 0.85),
        rgba(35, 71, 120, 0.8));
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 6rem 0 1rem;
    max-width: 1400px;
}

@media (min-width: 992px) {
    .hero-content {
	grid-template-columns: 6fr 6fr;
	text-align: left;
	align-items: center;
	gap: 0rem;
	max-width: 1423px;
}
}

.hero-text {
    color: var(--cor-branco);
    margin-bottom: 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInLeft 1.2s ease-out;
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-title span {
    color: var(--cor-secundaria);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--cor-secundaria);
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    animation: fadeInLeft 1.2s ease-out 0.2s both;
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (min-width: 992px) {
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

/* Novo componente: stats na hero */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
    animation: fadeInLeft 1.2s ease-out 0.3s both;
}

.hero-stat-item {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.hero-subtitle {
	color: #dedede;
}
.hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: var(--cor-secundaria);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cor-secundaria);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInLeft 1.2s ease-out 0.4s both;
    position: relative;
    z-index: 5;
}

.hero-buttons .btn {
    font-size: 1rem;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.hero-buttons .btn:hover::before {
    left: 0;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-primary {
    background: var(--cor-secundaria);
    border: none;
    animation: pulse 2s infinite;
}

.hero-buttons .btn-outline {
    background: transparent;
    color: var(--cor-branco);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cor-branco);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 91, 6, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(239, 91, 6, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 91, 6, 0);
    }
}

.hero-buttons .btn i {
    font-size: 1.2rem;
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    animation: fadeInRight 1.2s ease-out both;
}

@media (min-width: 768px) {
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .hero-features {
        grid-template-columns: 1fr;
        margin: 0;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:nth-child(1) {
    animation-delay: 0.6s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.8s;
}

.feature-item:nth-child(3) {
    animation-delay: 1s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--cor-secundaria);
}

.feature-icon {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--cor-secundaria), #ff7324);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-branco);
    font-size: 1.6rem;
    box-shadow: 0 8px 25px rgba(239, 91, 6, 0.35);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-item:hover .feature-icon::before {
    opacity: 1;
}

.feature-content {
    flex-grow: 1;
    text-align: left;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--cor-branco);
}

.feature-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

/* Elemento principal da coluna direita: vídeo em destaque */
.hero-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-top: 2rem;
    display: none;
    animation: fadeInRight 1.2s ease-out 0.6s both;
    transition: all 0.3s ease;
    width: 100%;
    max-height: 500px;
}

.hero-media:hover {
    transform: scale(1.02);
    border-color: var(--cor-secundaria);
}

@media (min-width: 992px) {
    .hero-media {
        display: block;
        margin-top: 0;
        height: auto;
        width: 100%;
        min-height: 350px;
    }
    
    .hero-right {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 1rem;
        position: relative;
    }
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
}

.hero-media:hover img {
    transform: scale(1.05);
}

.hero-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 56, 101, 0.7), rgba(0, 56, 101, 0.3), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.hero-media:hover .hero-media-overlay {
    background: linear-gradient(to top, rgba(0, 56, 101, 0.85), rgba(0, 56, 101, 0.4));
}

/* Elemento para suavizar as bordas da imagem */
.hero-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: multiply;
    transition: opacity 0.3s ease;
}

.hero-media:hover::before {
    opacity: 0.4;
}

.hero-play-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--cor-secundaria);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(239, 91, 6, 0.4);
    animation: pulse 2s infinite;
    z-index: 5;
}

.hero-play-button i {
    color: var(--cor-branco);
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.hero-play-button:hover {
    transform: scale(1.1);
    background: #ff7324;
}

.hero-play-button:hover i {
    transform: scale(1.2);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeInUp 1.2s ease-out 1s both;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--cor-branco);
    text-decoration: none;
    transition: var(--transicao);
    opacity: 0.8;
}

.scroll-down:hover {
    opacity: 1;
    color: var(--cor-secundaria);
    transform: translateY(-5px);
}

.scroll-down span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.scroll-down i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Decorative Elements */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 91, 6, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 91, 6, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

/* Particles Effect (opcional) */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(239, 91, 6, 0.6);
    border-radius: 50%;
    animation: float-particle 8s linear infinite;
}

.particle:nth-child(2n) {
    background: rgba(255, 255, 255, 0.4);
    animation-duration: 10s;
}

.particle:nth-child(3n) {
    background: rgba(239, 91, 6, 0.3);
    animation-duration: 12s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 3rem;
    }
    
    .feature-item {
        padding: 1rem;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-content h3 {
        font-size: 1.1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }
}

/* Music Notes Animation */
.music-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.music-note {
    position: absolute;
    color: rgba(239, 91, 6, 0.3);
    font-size: 2rem;
    animation: float-note 12s linear infinite;
}

.music-note:nth-child(2n) {
    color: rgba(255, 255, 255, 0.2);
    animation-duration: 15s;
}

.music-note:nth-child(3n) {
    color: rgba(239, 91, 6, 0.2);
    animation-duration: 18s;
}

@keyframes float-note {
    0% {
        transform: translateY(20px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) rotate(360deg);
        opacity: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Video Background (opcional) */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Music Notes Animation */
.music-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.music-note {
    position: absolute;
    color: rgba(239, 91, 6, 0.3);
    font-size: 2rem;
    animation: float-note 12s linear infinite;
}

.music-note:nth-child(2n) {
    color: rgba(255, 255, 255, 0.2);
    animation-duration: 15s;
}

.music-note:nth-child(3n) {
    color: rgba(239, 91, 6, 0.2);
    animation-duration: 18s;
}

@keyframes float-note {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: left;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stat {
    text-align: center;
    color: var(--cor-branco);
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cor-secundaria);
    display: block;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .hero-stat-number {
        font-size: 1.8rem;
    }
}

/* Hero destaque especial para eventos */
.hero.featured-event .hero-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 56, 101, 0.85), 
        rgba(17, 55, 89, 0.8),
        rgba(35, 71, 120, 0.75));
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 56, 101, 0.9), rgba(17, 55, 89, 0.95));
    }
    
    .feature-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .feature-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Accessibility improvements */
.hero-content *:focus {
    outline: 2px solid var(--cor-secundaria);
    outline-offset: 2px;
}

/* Efeito de brilho para destacar elementos importantes */
.highlight-glow {
    position: relative;
    overflow: hidden;
}

.highlight-glow::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, 
        rgba(239, 91, 6, 0.4) 0%, 
        rgba(239, 91, 6, 0) 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.highlight-glow:hover::after {
    opacity: 1;
}

/* Efeitos de loading para imagens */
.hero-media.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 3;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .particle,
    .music-note {
        animation: none;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-buttons,
    .hero-features,
    .hero-scroll-indicator {
        animation: none;
    }
    
    .scroll-down i {
        animation: none;
    }
}

/* Estilo para o contêiner de elementos musicais */
.music-elements-container {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    animation: fadeInRight 1.2s ease-out both;
}

/* Estilo para a imagem SVG de elementos musicais */
.music-elements {
    width: 100%;
    height: auto;
    max-width: 500px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
    animation: floatAnimation 6s ease-in-out infinite;
}

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

/* Print styles */
@media print {
    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: var(--cor-branco) !important;
        color: var(--cor-principal) !important;
    }
    
    .hero-overlay,
    .hero-bg,
    .hero-particles,
    .music-notes {
        display: none !important;
    }
    
    .hero-content {
        color: var(--cor-principal) !important;
    }
    
    .hero-title,
    .hero-subtitle,
    .feature-content h3,
    .feature-content p {
        color: var(--cor-principal) !important;
    }
    
    .hero-buttons {
        display: none !important;
    }
    
    .hero-scroll-indicator {
        display: none !important;
    }
}
