/* Header base */
.header {
    background: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo img {
    height: 100px;
}

/* Menu desktop */
.nav .menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav .menu li a {
    text-decoration: none;
    color: #e6e6e6;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav .menu li a:hover {
    color: #d02225;
}

/* Register Now */
.register-btn {
    background: #d02225;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
    transform: skewX(-20deg);
}

.register-btn span {
    display: inline-block;
    transform: skewX(20deg); /* corregge il testo */
}

.register-btn:hover {
    background: #a61a1c;
    transform: skewX(-20deg) scale(1.05); /* leggero effetto zoom al passaggio del mouse */
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

/* Mobile menu modal */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.mobile-menu-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.mobile-menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-content ul li {
    margin-bottom: 20px;
}

.mobile-menu-content ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .register {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}
