/* Hero Block Styles */

.hero-block {
    background-color: #f8f9fa;
    padding: 60px 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 80px;
    min-height: 70vh;
}

/* Content Styles */
.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-label {
    color: #E3AD21;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Button Styles */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    min-width: 160px;
}

.hero-btn-primary {
    background-color: #E3AD21;
    color: #ffffff;
    border-color: #E3AD21;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
    background-color: #c49418;
    border-color: #c49418;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 173, 33, 0.3);
}

.hero-btn-secondary {
    background-color: transparent;
    color: #374151;
    border-color: #e5e7eb;
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus {
    border-color: #9ca3af;
    background-color: #f9fafb;
    color: #374151;
}

/* Image Styles */
.hero-image-container {
    flex: 1;
    max-width: 700px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 500px;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Layout Variations */
.hero-block.layout-image-left .hero-container {
    flex-direction: row-reverse;
}

/* Alignment Classes */
.hero-block.alignwide .hero-container {
    max-width: 1600px;
}

.hero-block.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: none;
}

.hero-block.alignfull .hero-container {
    max-width: 1400px;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        gap: 60px;
        padding: 0 20px;
        min-height: auto;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-container {
        max-width: 100%;
        order: -1;
    }
    
    .hero-block.layout-image-left .hero-container {
        flex-direction: column;
    }
    
    .hero-block.layout-image-left .hero-image-container {
        order: -1;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-block {
        padding: 40px 0;
    }
    
    .hero-container {
        gap: 40px;
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-label {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 140px;
    }
    
    .hero-image {
        border-radius: 12px;
        max-height: 300px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-container {
        gap: 32px;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }
}

/* Focus Styles for Accessibility */
.hero-btn:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-btn,
    .hero-image {
        transition: none;
    }
    
    .hero-btn:hover,
    .hero-image:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-title {
        color: #000000;
    }
    
    .hero-subtitle {
        color: #2d3748;
    }
    
    .hero-btn-primary {
        border: 2px solid #000000;
    }
    
    .hero-btn-secondary {
        border: 2px solid #000000;
        color: #000000;
    }
}