/* Importiamo un font pulito simile alla bozza (es. Roboto o Helvetica standard) */
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --techno-teal: #00a99d; /* Colore verde acqua del logo */
    --techno-grey: #808080; /* Grigio medio */
    --techno-dark-grey: #666666; /* Grigio scuro per il form */
}

body {
    font-family: 'Karla', sans-serif;
    color: #333;
}

/* Utilità colori personalizzati */
.text-teal { color: var(--techno-teal); }
.bg-secondary-custom { background-color: var(--techno-teal); }
.bg-black { background-color: #000; }

/* HERO SECTION */
.hero-section {
    height: 90vh; /* 90% dell'altezza della viewport */
    background-image: url('../images/techno-header.webp'); /* Immagine mani placeholder */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Hero corner images - Desktop */
.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-img {
    position: absolute;
    width: 280px;
    max-width: 25%;
    height: auto;
    object-fit: cover;
    pointer-events: auto;
}

.hero-img-top-right {
    top: 96px;
    right: 20px;
}

.hero-img-bottom-right {
    bottom: 20px;
    right: 20px;
}

.hero-img-bottom-left {
    bottom: 20px;
    left: 20px;
}

/* Hero images - Mobile: stacked column */
@media (max-width: 767.98px) {
    .hero-section {
        height: auto;
        min-height: 90vh;
        padding-bottom: 0;
    }

    .hero-images {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 15px;
    }

    .hero-img {
        position: static;
    	width: 80%;
    	max-width: 400px;
    }
}

/* Assicura che il contenuto stia sopra l'overlay */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Stile Form */
.form-control:focus {
    box-shadow: none;
    border-color: var(--techno-teal);
}

/* ANIMAZIONI */
/* Stato iniziale dell'elemento da animare: invisibile e spostato in basso */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Stato finale quando l'elemento è visibile */
.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Override Bootstrap */
.rounded-0 {
    border-radius: 0 !important; /* Forza bordi squadrati */
}