/* Ti-Effe Service SRL - Hero CSS
   File: css/public/public-hero.css
   Styles for hero section
*/

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: opacity var(--transition-fast);
}

.hero.no-background-image .hero-background {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.95), rgba(74, 124, 89, 0.9));
}

.hero.no-background-image .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 200, 80, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero.has-background-image .hero-content {
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
}

.hero.has-background-image .stat {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
}

.hero.has-background-image .hero-title,
.hero.has-background-image .hero-subtitle {
    background: rgba(0,0,0,0.3);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

.hero.no-background-image .hero-content {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.hero.no-background-image .stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--font-size-hero);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-3xl));
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin: var(--spacing-2xl) 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 150px;
    transition: transform var(--transition-fast);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}