/**
 * Location Map Styles
 */

.location-map-container {
    margin: 40px 0;
    padding: 0;
}

.location-info-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.location-details {
    background: #f6f6f6;
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.location-details h2 {
    color: #2c2c2c;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 28px;
}

.address-info {
    margin-bottom: 25px;
}

.address-info p {
    margin: 10px 0;
    font-size: 16px;
    color: #3e3f46;
}

.address-info a {
    color: #b34a4a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-info a:hover {
    color: #8a3636;
    text-decoration: underline;
}

.directions-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.directions-btn,
.location-btn {
    background: #b34a4a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
}

.directions-btn:hover,
.location-btn:hover {
    background: #8a3636;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 74, 74, 0.3);
}

.directions-btn:active,
.location-btn:active {
    transform: translateY(0);
}

.interactive-map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.directions-panel {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.directions-panel h3 {
    color: #2c2c2c;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #b34a4a;
    padding-bottom: 10px;
}

#directions-content {
    font-size: 14px;
    line-height: 1.6;
}

#directions-content .adp-substep {
    padding: 8px 0;
}

#directions-content .adp-step {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.map-info-window {
    padding: 10px;
}

.map-info-window h3 {
    margin: 0 0 10px 0;
    color: #2c2c2c;
    font-size: 18px;
}

.map-info-window p {
    margin: 5px 0;
    font-size: 14px;
}

.map-info-window a {
    color: #b34a4a;
    text-decoration: none;
    font-weight: bold;
}

.map-info-window a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .location-details {
        padding: 20px;
    }

    .location-details h2 {
        font-size: 24px;
    }

    .directions-buttons {
        flex-direction: column;
    }

    .directions-btn,
    .location-btn {
        width: 100%;
        justify-content: center;
    }

    .interactive-map {
        height: 400px;
    }

    .directions-panel {
        padding: 15px;
    }

    .directions-panel h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .interactive-map {
        height: 300px;
    }

    .location-details h2 {
        font-size: 20px;
    }

    .address-info p {
        font-size: 14px;
    }

    .directions-btn,
    .location-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animation for directions panel */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.directions-panel {
    animation: slideDown 0.4s ease-out;
}
