/* Hero Section - Flat Design UI */
:root{
    --hero-height: 605px;
}
.hero-section {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    width: 100vw;
    height: var(--hero-height);
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 0;
    left: 50%;
    right: 50%;
    top:0;
    margin: 0 -50vw 2rem;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* No overlay - removed per requirements */
    z-index: 1;
}

/* Content container */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 3rem 2rem;
    animation: fadeInUp 0.8s ease-out;
    top:auto;
    bottom:auto;
}

/* Animation for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;

    background: rgba(0, 0, 0, 0.025);      /* adjust to your theme */
    -webkit-backdrop-filter: blur(1px);   /* Safari */
    backdrop-filter: blur(1px);           /* Chrome/Edge/Firefox */
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto 2rem;
    text-align: center;
    width:fit-content;
    
    background: rgba(0, 0, 0, 0.025);      /* adjust to your theme */
    -webkit-backdrop-filter: blur(1px);   /* Safari */
    backdrop-filter: blur(1px);           /* Chrome/Edge/Firefox */
}

/* Buttons container */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Hero button */
.hero-button {
    background-color: transparent;
    color: var(--light-color);
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
    border: 3px solid var(--light-color);
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Theme variations */
.hero-theme-light .hero-title,
.hero-theme-light .hero-subtitle {
    color: var(--text-color);
}

.hero-theme-dark .hero-title,
.hero-theme-dark .hero-subtitle {
    color: var(--light-color);
}

/* Responsive design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    :root {
        --hero-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    :root {
        --hero-height: 300px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin:0;
        display: none;
    }
    
    .hero-subtitle {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-button-primary,
    .hero-button-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
}

.spacer + section {
    margin-top: 0;
}