/* Hero Banner Styles - Med højere specificitet og responsive fixes */
.hero-banner {
    width: 100%!important;
    /* Fallback for older browsers */
    min-height: 50vh;
    /* Modern responsive height */
    min-height: clamp(10vh, 15vw, 70vh)!important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px 20px 20px 20px!important;
    /* Fallback for older browsers */
    padding: 5rem;
    /* Modern responsive padding */
    padding: clamp(5rem, 8vw, 10rem);
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0px 0px 20px 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    max-width: 60% !important;
}

.hero-title {
	padding-bottom:15px!important;
	margin-left:-3px!important;
}

.hero-welcome {
	font-size: 1000px!important
}

/* Hero Welcome tekst */
body .hero-banner .hero-content .hero-welcome,
html .hero-banner .hero-content .hero-welcome {
    font-family: 'Chivo', sans-serif !important;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem) !important;
    font-weight: 300;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 0;
    transform: translateY(30px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Title med multiple fixes */
body .hero-banner .hero-content .hero-title,
html .hero-banner .hero-content .hero-title {
    font-family: 'Chivo', sans-serif;
    /* Fallback for older browsers */
    font-size: 2.5rem !important;
    /* Modern responsive sizing */
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 500;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: white !important;
    margin-bottom: -4px !important;
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Subtitle med multiple fixes - mindre tekst og kortere bredde */
body .hero-banner .hero-content .hero-subtitle,
html .hero-banner .hero-content .hero-subtitle {
    font-family: 'Chivo', sans-serif;
    /* Fallback for older browsers */
    font-size: 0.9rem !important;
    /* Modern responsive sizing - reduceret fra tidligere størrelse */
    font-size: clamp(0.8rem, 2vw, 1rem) !important;
    font-weight: 400;
    margin: 0 0 2rem 0;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 60% !important; /* Kortere bredde */
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Button Base Styles */
.hero-btn {
    display: inline-block;
    padding: 0.5rem 2rem!important;
    font-family: 'Chivo', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem) !important;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px; /* Full border radius */
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid white;
    text-align: center;
    white-space: nowrap;
    width: auto !important; /* Forhindrer full width */
    flex: 0 0 auto !important; /* Forhindrer stretch */
}

/* Primary Button (First button) */
.hero-btn-primary {
    background-color: white;
    color: #333 !important;
    border-color: white;
}

.hero-btn-primary:hover {
    background-color: transparent;
    color: white !important;
    border-color: white;
    transform: translateY(-2px);
}

/* Secondary Button (Second button) */
.hero-btn-secondary {
    background-color: transparent;
    color: white !important;
    border-color: white;
}

.hero-btn-secondary:hover {
    background-color: white;
    color: #333 !important;
    border-color: white;
    transform: translateY(-2px);
}

/* Ekstra små skærme */
@media screen and (max-width: 360px) {
    .hero-banner {
        padding: 4rem 1.5rem;
        min-height: 55vh;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .hero-banner .hero-content .hero-welcome {
        font-size: 0.7rem !important;
    }
    
    .hero-banner .hero-content .hero-title {
        font-size: 1.6rem !important;
        margin-left: 0 !important;
    }
    
	body .hero-banner .hero-content .hero-subtitle,
    html .hero-banner .hero-content .hero-subtitle {
        font-size: 0.75rem !important;
        max-width: 100% !important;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.6rem;
        justify-content: center;
    }
    
    .hero-btn {
        padding: 0.45rem 1rem !important;
        font-size: 0.7rem !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }
}

/* Responsive fallbacks med media queries som backup */
@media screen and (min-width: 361px) and (max-width: 480px) {
    .hero-banner {
        padding: 5rem 2rem;
        min-height: 60vh;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .hero-banner .hero-content .hero-welcome {
        font-size: 0.8rem !important;
    }
    
    .hero-banner .hero-content .hero-title {
        font-size: 2rem !important;
        margin-left: 0 !important;
    }
    
	body .hero-banner .hero-content .hero-subtitle,
    html .hero-banner .hero-content .hero-subtitle {
        font-size: 0.75rem !important;
        max-width: 100% !important;
    }
    
    /* Button responsive styles - IKKE full width */
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
    }
    
    .hero-btn {
        padding: 0.5rem 1.2rem !important;
        font-size: 0.75rem !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .hero-banner {
        padding: 6rem 3rem;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .hero-banner .hero-content .hero-welcome {
        font-size: 0.9rem !important;
    }
    
    .hero-banner .hero-content .hero-title {
        font-size: 2.5rem !important;
        margin-left: 0 !important;
    }
    
	body .hero-banner .hero-content .hero-subtitle,
    html .hero-banner .hero-content .hero-subtitle {
        font-size: 0.75rem !important;
        max-width: 100% !important;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-btn {
        padding: 0.55rem 1.8rem !important;
        font-size: 0.85rem !important;
        width: auto !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero-banner .hero-content .hero-welcome {
        font-size: 1rem !important;
    }
    
    .hero-banner .hero-content .hero-title {
        font-size: 3.2rem !important;
    }
    
	body .hero-banner .hero-content .hero-subtitle,
    html .hero-banner .hero-content .hero-subtitle {
        font-size: 0.75rem !important;
        max-width: 100% !important;
    }
    
    .hero-banner {
        padding: 8rem 5rem;
    }
    
    .hero-btn {
        padding: 0.6rem 1.9rem !important;
        font-size: 0.9rem !important;
    }
}

@media screen and (min-width: 1025px) {
    .hero-banner .hero-content .hero-welcome {
        font-size: 1.1rem !important;
    }
    
    .hero-banner .hero-content .hero-title {
        font-size: 4rem !important;
    }
    
	body .hero-banner .hero-content .hero-subtitle,
    html .hero-banner .hero-content .hero-subtitle {
        font-size: 0.75rem !important;
        max-width: 100% !important;
    }
    
    .hero-btn {
        padding: 0.6rem 2rem !important;
        font-size: 0.95rem !important;
    }
}

/* Ekstra specificitet som sidste udvej */
.hero-banner .hero-content .hero-welcome[class] {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem) !important;
}

.hero-banner .hero-content .hero-title[class] {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
}

.hero-banner .hero-content .hero-subtitle[class] {
    font-size: clamp(0.8rem, 2vw, 1rem) !important;
}

/* CSS Custom Properties som alternativ */
:root {
    --hero-welcome-size: clamp(0.9rem, 1.5vw, 1.1rem);
    --hero-title-size: clamp(2.5rem, 5vw, 4rem);
    --hero-subtitle-size: clamp(0.8rem, 2vw, 1rem);
}

.hero-banner .hero-content .hero-welcome {
    font-size: var(--hero-welcome-size) !important;
}

.hero-banner .hero-content .hero-title {
    font-size: var(--hero-title-size) !important;
}

.hero-banner .hero-content .hero-subtitle {
    font-size: var(--hero-subtitle-size) !important;
}