/* Tavolozza Colori Fornita:
    #3F471F (Verde Olivo Scuro)
    #5F6C37 (Verde Olivo Medio)
    #A44819 (Terracotta / Arancio Scuro)
    #CF893A (Oro / Arancio Dorato)
    #FEF8E0 (Crema Chiaro)
*/
:root {
    --dark-green: #3F471F;
    --med-green: #5F6C37;
    --terracotta: #A44819;
    --gold: #CF893A;
    --cream: #FEF8E0;
    --text-dark: #2C3214;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header / Logo */
header {
    text-align: center;
    padding: 40px 0;
    background-color: var(--cream);
}

.logo-container img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: inline-block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(63, 71, 31, 0.65), rgba(63, 71, 31, 0.85)), url('santo-stefano.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 90px 20px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(63, 71, 31, 0.15);
}

.badge {
    display: inline-block;
    background-color: var(--terracotta);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--cream);
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto;
    font-weight: 300;
    color: rgba(254, 248, 224, 0.9);
}

/* Sezione Servizi / Cards */
.services-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 35px;
    position: relative;
}

.services-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--terracotta);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
}

.card {
    background-color: #ffffff;
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border-top: 6px solid var(--med-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card:nth-child(2) {
    border-top-color: var(--terracotta);
}

.card:nth-child(3) {
    border-top-color: var(--gold);
}

.card .icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.card h3 {
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.card p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.5;
}

/* Info Block / Struttura */
.info-block {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
}

.info-content {
    flex: 1;
    min-width: 300px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-content h2 {
    color: var(--dark-green);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.info-content p {
    color: #555555;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.info-image {
    flex: 1;
    min-width: 300px;
    background: url('IMG_1249.JPG') no-repeat center center/cover;
    min-height: 350px;
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: var(--cream);
    padding: 60px 0 30px 0;
    border-top: 5px solid var(--gold);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col.brand-col {
    flex: 1.5;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: rgba(254, 248, 224, 0.8);
}

.footer-col a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--gold);
}

.contact-link {
    font-weight: 600;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(254, 248, 224, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(254, 248, 224, 0.5);
}

/* Responsiveness */
@media (max-width: 992px) {
    .info-content {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .info-image {
        min-height: 250px;
    }
}