/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

/* Base */
body {
    font-family: 'Poppins', sans-serif;
    color: #f5f5f5;
    background: linear-gradient(135deg, #f5c542 0%, #1a1a1a 60%, #0d0d0d 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    background: url('/wp-content/uploads/background.png') center/cover no-repeat;
    /* aggiorna il path */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
}

.content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-in-out
}

.profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #f5c542;
    margin-bottom: 1rem;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(245, 197, 66, .3)
}

.name {
    font-size: 2.8rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(245, 197, 66, .3)
}

.role {
    font-size: 1.2rem;
    color: #d6d6d6;
    margin-bottom: 1rem
}

.tagline {
    font-style: italic;
    color: #ccc;
    margin-bottom: 2rem
}

/* Bottone bordo dorato */
.btn-border {
    display: inline-block;
    position: relative;
    padding: .9rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f5c542;
    border: 2px solid #f5c542;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all .4s ease;
    box-shadow: 0 0 10px rgba(245, 197, 66, .2);
}

.btn-border::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -100%;
    background: #f5c542;
    transition: all .4s ease;
    z-index: 0;
}

.btn-border:hover::before {
    left: 0
}

.btn-border:hover {
    color: #0d0d0d;
    box-shadow: 0 0 25px rgba(245, 197, 66, .5)
}

.btn-border span {
    position: relative;
    z-index: 1
}

/* Sezione Contatti */
.contact {
    padding: 4rem 1rem;
    text-align: center;
    background-color: rgba(18, 18, 18, .95)
}

.contact a {
    color: #f5c542;
    text-decoration: none;
    transition: color .3s ease
}

.contact a:hover {
    color: #fce88a
}

/* Animazioni */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

/* Scroll reveal */
.content,
.contact {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease
}

.visible {
    opacity: 1;
    transform: translateY(0)
}