/* Variabili globali */
:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #A5D6A7;
    --accent: #FF5722;
    --text-dark: #263238;
    --text-light: #546E7A;
    --text-white: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --header-height: 80px;
}





/* Stili per la sezione mappa */
.location-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}



.location-info {
    text-align: right;
    padding-right: 20px;
}

.location-info h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.location-info p {
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}









.map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.location-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.map-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.map-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,123,255,0.25);
}

.map-icon i {
    font-size: 2rem;
    color: white;
}

.map-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    text-align: center;
}

.map-subtext {
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 30px;
}

.how-to-reach {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    border: 2px solid #e3f2fd;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.how-to-reach h4 {
    color: #1976d2;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.reach-item {
    margin: 15px 0;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.reach-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.reach-label {
    font-weight: 600;
    color: #495057;
    display: inline-block;
    min-width: 120px;
}

.reach-text {
    color: #6c757d;
    line-height: 1.5;
}

.directions-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.directions-title {
    color: #495057;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.directions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.directions-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.directions-list li:last-child {
    border-bottom: none;
}

.direction-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.direction-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976d2;
}

.direction-text {
    color: #495057;
    font-weight: 500;
    font-size: 0.95rem;
}

.direction-distance {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(40,167,69,0.2);
}

@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-info {
        text-align: center;
        padding-right: 0;
    }
    
    .location-info h2 {
        font-size: 2.2rem;
    }
    
    .map-container {
        padding: 30px 20px;
    }
    
    .how-to-reach {
        padding: 25px 20px;
    }
    
    .directions-box {
        padding: 20px;
    }
}

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

html {
    scroll-behavior: auto !important;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contenitore */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout per sezioni */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Pulsanti */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-dark);
    padding: 13px 27px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--text-light);
    cursor: pointer;
    text-align: center;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Animazioni */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Media Queries */
@media (max-width: 1200px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 12px 24px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}