@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500&family=Playfair+Display:wght@600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lora', serif;
    background: #f9f4ef;
    color: #5b4432;
}

.container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 40px 30px;
    background: #fff8f2;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-left: 6px solid #dba96e;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    text-align: center;
    color: #5b4432;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.galleria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.card {
    background: #fff7f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-title {
    font-family: 'Playfair Display', serif;
    padding: 15px;
    font-size: 1.1rem;
    color: #7d6a57;
}

.card a {
    text-decoration: none;
    color: inherit;
}

.quadro-img {
    display: block;
    margin: 30px auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.quadro-img:hover {
    transform: scale(1.02);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    font-size: 1rem;
}

td {
    padding: 14px 12px;
    border-bottom: 1px solid #e3dacf;
}

td:first-child {
    font-weight: 600;
    color: #5b4432;
}

.descrizione {
    margin-top: 20px;
    line-height: 1.7;
}

.descrizione h3 {
    font-family: 'Playfair Display', serif;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #5b4432;
}

.back {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    font-weight: 500;
    color: #dba96e;
    transition: color 0.2s ease;
}

.back:hover {
    color: #b37b4f;
}