/* ==========================================================================
   Hero V2 Block Styles
   ========================================================================== */

.hero-v2-section {
    padding: 140px 0 80px;
    background: #EDEDED;
    color: var(--blaze-secondary);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fallback for when JavaScript is disabled */
.hero-v2-section.no-js {
    opacity: 1;
    transform: translateY(0);
}

.hero-v2-section.no-js .hero-v2-content,
.hero-v2-section.no-js .hero-v2-subtitle,
.hero-v2-section.no-js .hero-v2-image {
    opacity: 1;
    transform: none;
}

.hero-v2-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bottom Spacing Options */
.hero-v2-section.spacing-small {
    padding-bottom: 2rem;
}

.hero-v2-section.spacing-medium {
    padding-bottom: 4rem;
}

.hero-v2-section.spacing-large {
    padding-bottom: 6rem;
}

.hero-v2-section.spacing-x-large {
    padding-bottom: 8rem;
}

.hero-v2-section.spacing-xx-large {
    padding-bottom: 12rem;
}

/* Full Width Support */
.hero-v2-section.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-v2-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.hero-v2-section.alignfull .hero-v2-container {
    max-width: none;
    padding: 0 3rem;
}

.hero-v2-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-v2-content {
    max-width: 600px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.hero-v2-section.visible .hero-v2-content {
    opacity: 1;
    transform: translateX(0);
}

.hero-v2-title {
    font-family: 'Neue Haas Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #000000;
}

.hero-v2-subtitle {
    font-size: 1.75rem;
    line-height: 1.4;
    color: var(--blaze-text);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.hero-v2-section.visible .hero-v2-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hero-v2-subtitle p {
    margin-bottom: 1rem;
}

.hero-v2-subtitle p:last-child {
    margin-bottom: 0;
}

.hero-v2-image {
    text-align: center;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.hero-v2-section.visible .hero-v2-image {
    opacity: 1;
    transform: translateX(0);
}

.hero-v2-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-v2-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-v2-content {
        max-width: 100%;
        transform: translateY(-30px);
    }
    
    .hero-v2-section.visible .hero-v2-content {
        transform: translateY(0);
    }
    
    .hero-v2-image {
        transform: translateY(30px);
    }
    
    .hero-v2-section.visible .hero-v2-image {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-v2-section {
        padding: 100px 0 60px;
    }
    
    .hero-v2-container {
        padding: 0 2rem;
    }
    
    .hero-v2-section.alignfull .hero-v2-container {
        padding: 0 2rem;
    }
    
    .hero-v2-grid {
        gap: 2rem;
    }
    
    .hero-v2-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-v2-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-v2-section {
        padding: 80px 0 40px;
    }
    
    .hero-v2-container {
        padding: 0 1rem;
    }
    
    .hero-v2-section.alignfull .hero-v2-container {
        padding: 0 1rem;
    }
    
    .hero-v2-grid {
        gap: 1.5rem;
    }
    
    .hero-v2-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-v2-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-v2-img {
        border-radius: 15px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-v2-section,
    .hero-v2-content,
    .hero-v2-subtitle,
    .hero-v2-image,
    .hero-v2-img {
        transition: none;
    }
}

/* ACF Block Preview Styles */
.acf-block-preview .hero-v2-section {
    opacity: 1;
    transform: none;
}

.acf-block-preview .hero-v2-content,
.acf-block-preview .hero-v2-subtitle,
.acf-block-preview .hero-v2-image {
    opacity: 1;
    transform: none;
} 