/* =================================
   ELISA MARTINES - STYLE.CSS
   File CSS condiviso per tutto il sito
   ================================= */

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

/* === BODY === */
body {
    font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f3f0;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* === HEADER === */
header {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* Logo + Testo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-text .name {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #333;
    line-height: 1.2;
}

.logo-text .profession {
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
}

/* Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    padding: 0.5rem;
}

nav a {
    color: #666;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.95rem;
    transition: color 0.3s;
    letter-spacing: 1px;
}

nav a:hover, 
nav a.active {
    color: #8B7355;
}

/* === CONTENUTO === */
.page-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem;
    padding-top: 8rem;
    min-height: calc(100vh - 200px);
}

h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: #5B9AAE;
    text-align: center;
    margin-bottom: 4rem;
}

/* === FOOTER === */
footer {
    background: #2c2c2c;
    color: #ccc;
    text-align: center;
    padding: 3rem 2rem;
}

footer p {
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    nav {
        padding: 0 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text .name {
        font-size: 0.95rem;
    }

    .logo-text .profession {
        font-size: 0.65rem;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        gap: 1.5rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        animation: slideDown 0.3s ease-in-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .page-content {
        padding: 4rem 1.5rem;
        padding-top: 6rem;
    }
}

@media (max-width: 600px) {
    .logo-img {
        height: 35px;
    }

    .logo-text .name {
        font-size: 0.85rem;
    }

    nav ul {
        top: 65px;
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.8rem !important;
        letter-spacing: 3px;
    }

    .page-content {
        padding: 3rem 1rem;
        padding-top: 5rem;
    }
}
