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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background: url('public/sfondo.jpg') center/cover fixed;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.90);
    padding: 24px 0 16px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #8B1538;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header h1 {
    color: #8B1538;
    font-size: 2.1em;
    margin-bottom: 8px;
    font-weight: normal;
    text-align: left;
}
.header p {
    color: #666;
    font-size: 0.9em;
    max-width: 600px;
    margin: 0;
    font-weight: bold;
}
@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        gap: 8px;
    }
    .header h1, .header p {
        text-align: center;
    }
}

/* Main content */
.main-content {
    background: rgba(255, 255, 255, 0.83);
    padding: 40px 0;
}

/* Chi sono section */
.chi-sono {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.chi-sono h2 {
    color: #8B1538;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: normal;
}

.chi-sono p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.chi-sono .highlight {
    color: #8B1538;
    font-style: italic;
}

.profile-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Cataloghi section */
.cataloghi {
    margin-bottom: 50px;
}

.cataloghi h2 {
    color: #8B1538;
    font-size: 2em;
    text-align: center;
    margin-bottom: 35px;
    font-weight: normal;
}

.cataloghi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.catalogo-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.catalogo-item:hover {
    transform: translateY(-5px);
}

.antinori {
    background: linear-gradient(135deg, #f4f1e8, #e8e0d0);
}

.bolis {
    background: linear-gradient(135deg, #f8e8f0, #f0d8e8);
}

.catalogo-logo {
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalogo-logo img {
    max-height: 100%;
    max-width: 200px;
}

.btn-catalogo {
    background: #8B1538;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-catalogo:hover {
    background: #A01B42;
}

/* Contact form */
.contatti {
    background: rgba(248, 248, 248, 0.9);
    padding: 40px 0;
}

.contatti h2 {
    color: #8B1538;
    font-size: 2em;
    text-align: center;
    margin-bottom: 35px;
    font-weight: normal;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B1538;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.btn-submit {
    background: #8B1538;
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 20px auto 0;
}

.btn-submit:hover {
    background: #A01B42;
}

/* Footer */
.footer {
    background: #8B1538;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-info {
    color: #ddd;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .cataloghi-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .chi-sono {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .header h1 {
        font-size: 2em;
    }
    .chi-sono h2,
    .cataloghi h2,
    .contatti h2 {
        font-size: 1.8em;
    }
}
