:root {
    --viola-dream: #8A2BE2;
    --viola-dark: #5D1A99;
    --grigio-testo: #333;
    --bianco-pulito: #ffffff;
    --bg-light: #f9f9f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--grigio-testo);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; text-transform: uppercase; }

/* Navigation - Fix per Aruba */
nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 5%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100px;
    z-index: 9999;
}

.logo-container img {
    height: 150 px !important; /* Forza la dimensione del logo che ora vedi piccolo */
    width: auto;
    display: block;
}

.nav-menu {
    display: flex !important;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 25px;
}
.logo-container { display: flex; align-items: center; }

.main-logo {
    height: 150px;
    width: auto;
    display: block;
    padding: 5px 0;
}

.nav-menu { display: flex; list-style: none; align-items: center; }
.nav-menu li { margin-left: 25px; }
.nav-menu a { 
    text-decoration: none; 
    color: var(--grigio-testo); 
    font-weight: 600; 
    transition: 0.3s; 
}
.nav-menu a:hover { color: var(--viola-dream); }

/* HERO SECTION */
.hero {
    min-height: 90vh;
    margin-top: 110px; /* Spinge la sezione sotto la nav */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&q=80&w=1470') 
                no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 { font-size: 3rem; margin-bottom: 15px; }

/* SERVIZI E CARTE */
.services { padding: 80px 10%; background: var(--bg-light); text-align: center; }
.grid-servizi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.card:hover { transform: translateY(-10px); border-bottom: 5px solid var(--viola-dream); }
.card .icon { font-size: 40px; margin-bottom: 15px; }

/* BOTTONI E FORM */
.btn-main {
    background: var(--viola-dream);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.btn-main:hover { background: var(--viola-dark); }

.contact { padding: 80px 10%; text-align: center; }
#contact-form { max-width: 600px; margin: 40px auto; display: flex; flex-direction: column; gap: 15px; }
input, select, textarea { padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; }

footer { background: #222; color: white; padding: 30px; text-align: center; }

/* MOBILE RESPONSIVE */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--viola-dream); transition: 0.3s; }

@media screen and (max-width: 992px) {
    nav { min-height: 90px; }
    .main-logo { height: 70px; }
    .hero { margin-top: 90px; h1 { font-size: 2rem; } }
    
    .menu-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        flex-direction: column;
        background: var(--bianco-pulito);
        width: 100%;
        height: 100vh;
        transition: 0.4s;
        padding-top: 40px;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 15px 0; }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}