/**
 * Nordic Ware Scheduled Hero - Frontend Styles
 * Matches the provided design mockup
 */

/* Hero Banner Container */
.nw-hero-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Overlay - hidden by default, background is on text-box */
.nw-hero-overlay {
    display: none;
}

/* Content Container */
.nw-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Text Content Box */
.nw-hero-content {
    width: 100%;
}

.nw-hero-text-box {
    max-width: 750px;
    padding: 75px 50px;
    position: relative;
	border-radius:7px;
}

/* Text Positioning */
.nw-hero-text-left .nw-hero-text-box {
    margin-left: 0;
    margin-right: auto;
}

.nw-hero-text-center .nw-hero-text-box {
    margin: 0 auto;
    text-align: center;
}

.nw-hero-text-right .nw-hero-text-box {
    margin-left: auto;
    margin-right: 0;
}

/* Mobile Image - Hidden on desktop */
.nw-hero-mobile-image {
    display: none;
}

/* Title */
.nw-hero-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

/* Description */
.nw-hero-description {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(16px, 1.5vw, 24px);
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

/* Button */
.nw-hero-button {
    display: inline-block;
    padding: 15px 30px;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nw-hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

.nw-hero-button:active {
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nw-hero-banner {
        min-height: 350px;
    }
    
    .nw-hero-container {
        padding: 40px 30px;
        min-height: 350px;
    }
    
    .nw-hero-text-box {
        max-width: 450px;
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .nw-hero-banner {
        min-height: auto;
        background-image: none !important;
        display: flex;
        flex-direction: column;
    }
    
    /* Mobile Image - Shows above text */
    .nw-hero-mobile-image {
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 75%; /* 4:3 aspect ratio */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .nw-hero-container {
        padding: 0;
        min-height: auto;
    }
    
    .nw-hero-content {
        width: 100%;
    }
    
    .nw-hero-text-box {
        max-width: 100%;
        padding: 40px 30px;
        text-align: center;
        margin: 0;
    }
    
    .nw-hero-text-left .nw-hero-text-box,
    .nw-hero-text-right .nw-hero-text-box {
        margin: 0;
        text-align: center;
    }
    
    .nw-hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .nw-hero-description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .nw-hero-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .nw-hero-mobile-image {
        padding-bottom: 80%; /* Slightly taller on small screens */
    }
    
    .nw-hero-text-box {
        padding: 30px 20px;
    }
    
    .nw-hero-title {
        font-size: 28px;
    }
    
    .nw-hero-description {
        font-size: 15px;
    }
    
    .nw-hero-button {
        width: 100%;
        text-align: center;
    }
}

/* Animation for hero entrance */
@keyframes nw-hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nw-hero-text-box {
    animation: nw-hero-fade-in 0.6s ease-out;
}

/* Print Styles */
@media print {
    .nw-hero-banner {
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .nw-hero-button {
        border: 1px solid currentColor;
    }
}
