/* Reset e basi */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

#contenitoreesterno {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Header e Menu */
#testa {
    background: #222;
    padding: 20px 0;
}

#testa ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

#testa ul li {
    display: inline;
    margin: 0 15px;
}

#testa ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

/* Layout Contenuto */
#contenuto {
    padding: 40px;
}

.intro-flex {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.intro-flex.reverse {
    flex-direction: row-reverse;
}

.orecchino {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testo-intro p {
    margin-bottom: 15px;
    font-style: italic;
}

/* Griglia Inferiore */
#gallerie_varie {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 40px;
    background: #eee;
}

.column-bio {
    text-align: center;
}

.logo-main { max-width: 150px; display: block; margin: 0 auto 10px; }
.foto-artista { width: 60px; height: auto; border-radius: 50%; }

.latestnews {
    list-style: none;
    padding: 0;
}

.latestnews li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.latestnews img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.latestnews h5 { margin: 0; font-size: 1rem; }
.latestnews a { text-decoration: none; color: #d32f2f; }

#box {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

/* Footer */
#piede {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    background: #222;
    color: #ccc;
}

#piede a { color: #fff; }

.separatore { border: 0; height: 1px; background: #ddd; margin: 20px 0; }

/* Responsive */
@media (max-width: 768px) {
    .intro-flex, .intro-flex.reverse, #gallerie_varie {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}


/* --- RESET E BASI --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #444;
    background-color: #f4f4f4;
}

#contenitoreesterno {
    max-width: 1100px;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

/* --- HEADER --- */
#testa {
    background: #1a1a1a;
    padding: 25px 0;
}

#testa ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

#testa ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

#testa ul li a:hover {
    color: #c0a16b; /* Un tocco color oro */
}

/* --- SEZIONE INTRODUTTIVA --- */
#contenuto {
    padding: 50px;
}

.intro-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.intro-flex.reverse {
    flex-direction: row-reverse;
}

.orecchino {
    max-width: 350px;
    height: auto;
    border-radius: 4px;
    box-shadow: 10px 10px 0px #f0ece2; /* Effetto cornice moderna */
}

.testo-intro p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.separatore {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    margin: 0 50px;
}

/* --- GRIGLIA INFERIORE --- */
#gallerie_varie {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 30px;
    padding: 50px;
    background: #fafafa;
}

/* Colonna Bio */
.column-bio {
    text-align: center;
}

.logo-main {
    max-width: 120px;
    margin-bottom: 20px;
}

.foto-artista {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #c0a16b;
}

/* Colonna Links Prodotti */
.column-links .latestnews {
    list-style: none;
}

.latestnews li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    margin-bottom: 10px;
    transition: background 0.3s;
    border-radius: 5px;
}

.latestnews li:hover {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.latestnews img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.latestnews h5 a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 1rem;
}

.latestnews p {
    font-size: 0.85rem;
    color: #888;
}

/* Box Contatti */
#box {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
}

#box p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

#box a {
    color: #c0a16b;
    text-decoration: none;
}

.skype-button {
    margin-top: 15px;
}

/* --- FOOTER --- */
#piede {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
}

#piede a {
    color: #bbb;
    text-decoration: none;
}

/* --- RESPONSIVE (Per Smartphone) --- */
@media (max-width: 850px) {
    .intro-flex, .intro-flex.reverse {
        flex-direction: column;
        text-align: center;
    }

    #gallerie_varie {
        grid-template-columns: 1fr;
    }
    
    #testa ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}


/* Stili specifici per la galleria Collier */
.flexslider {
    margin: 20px 0 40px;
    border: 10px solid #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.flexslider .slides img {
    width: 100%;
    display: block;
    height: auto;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

.griglia-gallerie {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.item-galleria {
    text-align: center;
}

.item-galleria img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.item-galleria img:hover {
    transform: scale(1.05);
}

.item-galleria h4 a {
    text-decoration: none;
    color: #333;
    display: block;
    margin-top: 10px;
}


/* Stili specifici per la galleria Collier */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 300px; /* Altezza fissa per ordine */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Taglia le foto in modo che siano tutte uguali */
    transition: transform 0.5s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.1); /* Effetto zoom al passaggio del mouse */
}