body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* NAVBAR */

.navbar {
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
}

.logo {
    height: 60%;
}

/* HERO */
.hero {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.slides img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    animation: slide 15s infinite;
}

.slides img:nth-child(2) {
    animation-delay: 5s;
}
.slides img:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slide {
    0% { opacity: 0; }
    5% { opacity: 1; }
    30% { opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
}

/* Scroll arrow */
.scroll-down {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-down img {
    width: 40px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* CONFIGURATORE */
.configurator {
    padding: 40px;
    max-width: 500px;
    margin: auto;
}

.configurator input,
.configurator select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
}

.price-box {
    font-size: 28px;
    margin: 20px 0;
}

button {
    width: 100%;
    padding: 15px;
    background: black;
    color: white;
    border: none;
    font-size: 18px;
}

h2 {
    text-align: center;
}

.configurator {
    background: #f5f5f5;
    border-radius: 10px;
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.hero-config {
    position: relative;
    padding: 30px 15px;
    overflow: hidden;
    background: #f8f8f8;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
}

.container {
    position: relative;
    max-width: 1000px;
    margin: auto;
    z-index: 2;
}

.hero-content {
    text-align: center;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.hero-cta {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: #8cc63f;
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
}

.cta-secondary {
    border: 1px solid #ccc;
    padding: 12px 18px;
    background: #fff;
    border-radius: 6px;
}

.configurator {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.dimension-row {
    display: flex;
    gap: 10px;
}

.price-box {
    text-align: center;
    margin: 20px 0;
}

.price {
    font-size: 32px;
    font-weight: bold;
}

#ordina {
    width: 100%;
    padding: 14px;
    background: #8cc63f;
    color: #fff;
    border: none;
    border-radius: 8px;
}

.sticky-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

#invia {
    background: #8cc63f;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
}