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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
}

.header {
    position: relative;
    height: 300px;
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Overlay scuro per migliorare la leggibilità */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #ffffff, rgba(34 34 34 / 0%));
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.company-tagline {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.divider {
    height: 3px;
    background: white;
    margin: 20px auto 0;
    width: 80px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.content-wrapper {
    padding: 30px 20px;
}

.locations {
    margin-bottom: 30px;
}

.location-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #cbcbcb;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.location-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.location-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.location-address {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.location-map-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.location-map-link:hover {
    color: #764ba2;
}

.location-map-link i {
    margin-right: 5px;
}

.contact-info {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: #f8f9fa;
    margin: 0 -10px;
    padding: 15px 10px;
    border-radius: 8px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e8eaed, #000000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 16px;
}

.info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.info-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #764ba2;
}

.info-text span:not(.info-title) {
    color: #666;
}

.actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
}

.action-btn:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.action-btn i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #666;
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: scale(1.1);
}

.action-btn span {
    font-size: 0.9rem;
    text-align: center;
}

.map-container {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e8eaed, #000000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

.footer p {
    margin-top: 10px;
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }
    
    .header {
        height: 250px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .company-tagline {
        font-size: 0.9rem;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .content-wrapper {
        padding: 20px 15px;
    }
    
    .actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .action-btn {
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px;
    }
    
    .action-btn i {
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    .info-item {
        padding: 12px 0;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .info-icon i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 200px;
    }
    
    .header-content {
        padding: 15px;
    }
    
    .company-name {
        font-size: 1.3rem;
    }
    
    .company-tagline {
        font-size: 0.8rem;
    }
    
    .content-wrapper {
        padding: 15px 10px;
    }
    
    .logo {
        max-width: 320px;
    }
    
    .location-item {
        padding: 15px;
    }
    
    .action-btn {
        padding: 12px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
