/**
 * Hero Header HP Block Styles
 *
 * @package Trezentorres
 */

/* ===================================
   Hero Header Container
   =================================== */

.hero-header {
    width: 100%;
    height: 75vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ===================================
   Video Background
   =================================== */

.hero-video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-iframe {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    border: none;
}

@media (max-width: 1600px) {
    .hero-video-iframe {
        width: 100%;
        height: 100%;
    }
}

/* ===================================
   Gradient Overlay
   =================================== */

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ===================================
   Content Container
   =================================== */

.hero-header > .relative.z-10 {
    position: relative;
    z-index: 10;
    height: 100%;
}

/* ===================================
   Heading Animations
   =================================== */

#hero-heading-container {
    transition: opacity 0.6s ease;
}

#hero-heading-container.visible {
    opacity: 1;
}

#hero-heading-container h1.visible {
    opacity: 1;
    transition: opacity 0.6s ease 0.3s;
}

.fade-out-delayed {
    opacity: 0 !important;
    transition: opacity 0.6s ease;
}

.fade-in-delayed {
    opacity: 1 !important;
    transition: opacity 0.6s ease 0.3s;
}

/* ===================================
   CTA Button Styles
   =================================== */

.btn-interactive {
    background-color: white;
    color: black;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.btn-interactive:hover {
    background-color: #f3f4f6;
}

/* ===================================
   Scroll Indicator Animation
   =================================== */

.scroll-indicator-arrow {
    animation: bounce-arrow 2s infinite;
    color: white;
}

.scroll-indicator-arrow svg {
    width: 30px;
    height: 30px;
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   Interactive Button Styles
   =================================== */

.btn-interactive {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Fade In Section Animation
   =================================== */

.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Parallax Effect
   =================================== */

.hero-section.parallax {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero-section.parallax {
        background-attachment: scroll;
    }
}

/* ===================================
   Typing Effect (if needed)
   =================================== */

.typing-effect {
    border-right: 2px solid white;
    white-space: nowrap;
    overflow: hidden;
    animation: blink 0.75s step-end infinite;
}

.typing {
    animation: typing 3s steps(40, end);
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}

/* ===================================
   Hero Stats (if needed)
   =================================== */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hero-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media (max-width: 640px) {
    .hero-header {
        min-height: 75vh;
    }
    
    #hero-heading-container h1 {
        font-size: 2rem !important;
    }
    
    .scroll-indicator-arrow {
        display: none !important;
    }
}
    
    #hero-heading-container h1 {
        font-size: 2rem !important;
    }
    
    
}

@media (min-width: 768px) {
    .hero-header {
        min-height: 75vh;
    }
	    
}
