/* ===== LOCATION PAGE STYLES ===== */

/* Location Banner */
.location-banner {
    background-color: #456789;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0;
    background-image: linear-gradient(to right, rgba(69, 103, 137, 0.9), rgba(69, 103, 137, 0.7)), url('../images_location/location-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.location-title {
    font-size: 3rem;
    color: #e67e22;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.location-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Location Information Section */
.location-info {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.location-details {
    display: grid;
    gap: 25px;
}

.location-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background-color: #e67e22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.card-content h3 {
    color: #456789;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.location-link {
    color: #e67e22;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.location-link:hover {
    color: #456789;
}

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

/* Contact Buttons */
.contact-phone-btn,
.contact-whatsapp-btn,
.contact-email-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-phone-btn {
    background-color: #456789;
    color: #fff;
}

.contact-phone-btn:hover {
    background-color: #3a5672;
    transform: translateY(-2px);
}

.contact-whatsapp-btn {
    background-color: #25D366;
    color: #fff;
}

.contact-whatsapp-btn:hover {
    background-color: #1fad53;
    transform: translateY(-2px);
}

.contact-email-btn {
    background-color: #e67e22;
    color: #fff;
}

.contact-email-btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.contact-prenota-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #e67e22;
    color: #fff;
}

.contact-prenota-btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.contact-phone-btn i,
.contact-whatsapp-btn i,
.contact-email-btn i,
.contact-prenota-btn i {
    margin-right: 8px;
}

/* Map Container */
.map-container h2 {
    color: #456789;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

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

.map-wrapper iframe {
    width: 100%;
    border: none;
}

/* Directions Info */
.directions-info {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.directions-info h3 {
    color: #456789;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.directions-grid {
    display: grid;
    gap: 20px;
}

.direction-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.direction-item i {
    font-size: 1.5rem;
    color: #e67e22;
    margin-top: 5px;
    flex-shrink: 0;
}

.direction-item h4 {
    color: #456789;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.direction-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Location Photos Section */
.location-photos {
    padding: 60px 0;
    background-color: #fff;
}

.location-photos .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.photo-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.photo-wrapper {
    height: 250px;
    overflow: hidden;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-card:hover .photo-wrapper img {
    transform: scale(1.05);
}

.photo-info {
    padding: 20px;
}

.photo-info h3 {
    color: #456789;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.photo-info p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Opening Hours Section */
.opening-hours-section {
    padding: 60px 0;
    background-color: #fff;
}

.opening-hours-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.hours-content {
    max-width: 800px;
    margin: 0 auto;
}

.hours-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.day-hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.day-hours:hover {
    background-color: #f0f0f0;
}

.day-hours.closed {
    opacity: 0.6;
}

.day-hours.closed .hours {
    color: #999;
    font-style: italic;
}

.day {
    font-weight: 600;
    color: #456789;
    font-size: 1.1rem;
}

.hours {
    color: #333;
    font-weight: 500;
}

.hours-note {
    text-align: center;
}

.note-box {
    display: inline-flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #e8f4f8;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    max-width: 600px;
}

.note-box i {
    color: #456789;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.note-box h4 {
    color: #456789;
    margin-bottom: 5px;
    font-size: 1rem;
}

.note-box p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Contact CTA Section */
.contact-cta-section {
    background-color: #456789;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.contact-cta-section .cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.contact-cta-section .cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 200px;
}

.cta-btn i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.cta-btn span {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cta-btn strong {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.cta-btn small {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-btn.phone {
    background-color: #fff;
    color: #456789;
}

.cta-btn.phone:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn.whatsapp {
    background-color: #25D366;
    color: #fff;
}

.cta-btn.whatsapp:hover {
    background-color: #1fad53;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn.prenota {
    background-color: #e67e22;
    color: #fff;
}

.cta-btn.prenota:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE STYLES ===== */

/* Large screens */
@media (max-width: 1200px) {
    .location-content {
        gap: 40px;
    }
}

/* Medium screens - tablets */
@media (max-width: 992px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .location-title {
        font-size: 2.5rem;
    }
    
    .location-subtitle {
        font-size: 1.1rem;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
}

/* Small screens - mobile */
@media (max-width: 768px) {
    .location-banner {
        padding: 50px 0;
    }
    
    .location-title {
        font-size: 2.2rem;
    }
    
    .location-subtitle {
        font-size: 1rem;
    }
    
    .location-info {
        padding: 40px 0;
    }
    
    /* Fix principale per l'allineamento delle location-card */
    .location-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center; /* Centra tutti gli elementi */
        padding: 20px;
    }
    
    .card-icon {
        align-self: center; /* Assicura che l'icona sia centrata */
        margin-bottom: 5px;
    }
    
    .card-content {
        text-align: center; /* Centra tutto il contenuto */
        width: 100%;
    }
    
    .card-content h3 {
        text-align: center;
        margin-bottom: 8px;
    }
    
    .card-content p {
        text-align: center;
        margin-bottom: 12px;
    }
    
    /* Centra i bottoni di contatto */
    .contact-phone-btn,
    .contact-whatsapp-btn,
    .contact-email-btn,
    .contact-prenota-btn {
        align-self: center;
        margin: 0 auto;
        text-align: center;
        justify-content: center;
    }
    
    .location-link {
        text-align: center;
        display: block;
        margin: 0 auto;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .photo-wrapper {
        height: 200px;
    }
    
    .opening-hours-section {
        padding: 40px 0;
    }
    
    .day-hours {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .contact-cta-section {
        padding: 40px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-btn span {
        text-align: center;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .location-banner {
        padding: 40px 0;
    }
    
    .location-title {
        font-size: 1.8rem;
    }
    
    .location-subtitle {
        font-size: 0.9rem;
    }
    
    .location-card {
        padding: 18px 15px;
        gap: 12px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }
    
    .card-icon i {
        font-size: 1.3rem;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .card-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    /* Ridimensiona i bottoni per schermi molto piccoli */
    .contact-phone-btn,
    .contact-whatsapp-btn,
    .contact-email-btn,
    .contact-prenota-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        border-radius: 20px;
        max-width: 200px;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .direction-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 12px;
    }
    
    .direction-item i {
        align-self: center;
        margin-top: 0;
    }
    
    .day-hours {
        padding: 12px 15px;
    }
    
    .note-box {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        text-align: center;
    }
    
    .cta-btn {
        padding: 12px 20px;
        min-width: auto;
    }
    
    .cta-btn i {
        font-size: 1.3rem;
        margin-right: 10px;
    }
}

/* Very small screens */
@media (max-width: 375px) {
    .location-title {
        font-size: 1.6rem;
    }
    
    .location-card {
        padding: 15px 12px;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
    }
    
    .contact-phone-btn,
    .contact-whatsapp-btn,
    .contact-email-btn,
    .contact-prenota-btn {
        padding: 7px 14px;
        font-size: 0.85rem;
        max-width: 180px;
    }

    .contact-phone-btn i,
    .contact-whatsapp-btn i,
    .contact-email-btn i,
    .contact-prenota-btn i {
        margin-right: 6px;
        font-size: 0.9rem;
    }
}

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

.location-card,
.day-hours,
.direction-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.location-card:nth-child(1) { animation-delay: 0.1s; }
.location-card:nth-child(2) { animation-delay: 0.2s; }
.location-card:nth-child(3) { animation-delay: 0.3s; }
.location-card:nth-child(4) { animation-delay: 0.4s; }
.location-card:nth-child(5) { animation-delay: 0.5s; }

.day-hours:nth-child(1) { animation-delay: 0.1s; }
.day-hours:nth-child(2) { animation-delay: 0.2s; }
.day-hours:nth-child(3) { animation-delay: 0.3s; }
.day-hours:nth-child(4) { animation-delay: 0.4s; }
.day-hours:nth-child(5) { animation-delay: 0.5s; }
.day-hours:nth-child(6) { animation-delay: 0.6s; }
.day-hours:nth-child(7) { animation-delay: 0.7s; }

/* Commento data e ora di creazione */
/* Modificato il 04-06-2025 16:45:00 - Fix allineamento mobile */